Some more bspwm/polybar configuration

This commit is contained in:
Warren Hood 2023-02-23 02:09:35 +02:00
parent 592fc73c8d
commit 7fff62280e
3 changed files with 48 additions and 1 deletions

View file

@ -12,6 +12,7 @@ pkill nm-applet
WALLPAPER="current.jpg"
feh --bg-center "$HOME/wallpapers/$WALLPAPER"
systemctl --user start gnome-keyring-daemon.service &
systemctl --user start spotifyd &
picom &
nm-applet &
volumeicon &

View file

@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled}
font-0 = monospace;2
modules-left = xworkspaces xwindow
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date
modules-right = filesystem battery pulseaudio memory cpu wlan date
cursor-click = pointer
cursor-scroll = ns-resize
@ -163,6 +163,38 @@ date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.primary}
[module/battery]
type = internal/battery
format-prefix = "BAT "
; This is useful in case the battery never reports 100% charge
; Default: 100
full-at = 99
; format-low once this charge percentage is reached
; Default: 10
; New in version 3.6.0
low-at = 5
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
; battery = BAT0
; adapter = ADP1
battery = BAT1
adapter = ACAD
; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.
;
; Needed as a fallback for systems that don't report events
; on sysfs/procfs.
;
; Disable polling by setting the interval to 0.
;
; Default: 5
poll-interval = 5
[settings]
screenchange-reload = true
pseudo-transparency = true

View file

@ -18,6 +18,20 @@ super + Escape
super + b
firefox
# Media buttons
XF86AudioPlay
playerctl play-pause
XF86AudioStop
playerctl play-pause
XF86AudioPrev
playerctl previous
XF86AudioNext
playerctl next
#
# bspwm hotkeys
#