This commit is contained in:
Michael Zhang 2021-05-13 04:21:43 -05:00
parent 5375aea605
commit f018d87572
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
2 changed files with 13 additions and 1 deletions

View file

@ -49,7 +49,7 @@ exec --no-startup-id dunst
exec --no-startup-id i3-msg 'workspace 10; exec rocketchat-desktop; exec electron-mail;' exec --no-startup-id i3-msg 'workspace 10; exec rocketchat-desktop; exec electron-mail;'
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status pkill -RTMIN+10 i3blocks
bindsym $mod+equal exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +4% && $refresh_i3status bindsym $mod+equal exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +4% && $refresh_i3status
bindsym $mod+minus exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -4% && $refresh_i3status bindsym $mod+minus exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -4% && $refresh_i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status

View file

@ -3,6 +3,18 @@ command=curl -Ss "https://wttr.in/55404?m&format=%25c%25C+%25t+%25p\n"
interval=3600 interval=3600
color=#A4C2F4 color=#A4C2F4
[volume]
command=/usr/lib/i3blocks/volume/volume
LABEL=VOL
interval=once
signal=10
[battery-poly]
command=/usr/lib/i3blocks/battery-poly/battery-poly
LABEL=BAT
interval=5
color=#999999
[date] [date]
command=date +"%a %m[%d]%Y" command=date +"%a %m[%d]%Y"
interval=5 interval=5