diff options
-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 |