diff options
author | Julian T <julian@jtle.dk> | 2022-12-16 12:51:13 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2022-12-16 12:51:13 +0100 |
commit | ecb2718cd425cea1fa274951734998ddd6f5efb4 (patch) | |
tree | 03bc24a8947522c590e9a147bf48ec9b5ff93d96 | |
parent | 31ce617b330d35a96d847849c7e7cb45e835cd49 (diff) |
2bwm and bar settings
-rw-r--r-- | 2bwm/resc/2bwm/config.h | 1 | ||||
-rw-r--r-- | polybar/.config/polybar/config | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/2bwm/resc/2bwm/config.h b/2bwm/resc/2bwm/config.h index b5735e0..57b5e7b 100644 --- a/2bwm/resc/2bwm/config.h +++ b/2bwm/resc/2bwm/config.h @@ -86,6 +86,7 @@ static key keys[] = { /* modifier key function argument */ // Focus to next/previous window { MOD , XK_space, focusnext, {.i=TWOBWM_FOCUS_NEXT}}, + { MOD | SHIFT, XK_space, focusnext, {.i=TWOBWM_FOCUS_PREVIOUS}}, // Kill a window { MOD , XK_q, deletewin, {}}, // Resize a window diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index c5b244c..879ff16 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled} font-0 = Cozette;2 modules-left = xworkspaces xwindow -modules-right = pulseaudio memory wlan eth date +modules-right = pulseaudio battery memory wlan eth date cursor-click = pointer cursor-scroll = ns-resize @@ -66,6 +66,17 @@ tray-position = right ; override-redirect = true +[module/battery] +type = internal/battery +full-at = 99 + +low-at = 20 + +battery = BAT0 +adapter = AC + +poll-interval = 5 + [module/xworkspaces] type = internal/xworkspaces |