i3blocks
This commit is contained in:
parent
5375aea605
commit
f018d87572
2 changed files with 13 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue