Add simple i3blocks config

This commit is contained in:
2018-07-31 03:19:48 +03:00
parent f4739a7882
commit 0a8083e159
3 changed files with 22 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ default_border pixel 1
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% && pkill -RTMIN+1 i3blocks
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% && pkill -RTMIN+1 i3blocks
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@@ -33,7 +33,7 @@ bindsym $mod+t exec urxvt -e tremc
bindsym $mod+c exec urxvt -e python bindsym $mod+c exec urxvt -e python
bindsym $mod+Shift+p exec mpc toggle bindsym $mod+Shift+p exec mpc toggle
bindsym $mod+Shift+n exec mpc next bindsym $mod+Shift+n exec mpc next && pkill -RTMIN+2 i3blocks
bindsym $mod+h focus left bindsym $mod+h focus left
bindsym $mod+j focus down bindsym $mod+j focus down

18
.config/i3blocks/config Normal file
View File

@@ -0,0 +1,18 @@
[mpd]
command=mpc current
interval=5
s0ignal=2
[volume]
command=pamixer --get-volume
interval=once
signal=1
[battery]
command=cat /sys/class/power_supply/BAT0/capacity
interval=5
[time]
command=date '+%m.%d %H:%M'
interval=5

3
todo
View File

@@ -1,5 +1,4 @@
i3 & bar colors more useful bar elements
bar elements
rrs client (+ youtube) rrs client (+ youtube)
calcurse calcurse
mutt mutt