switch to dwmblocks

This commit is contained in:
Luke Smith 2019-09-21 15:39:49 -04:00
parent 63449c926b
commit 6244ad78ac
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 11 additions and 9 deletions

View file

@ -17,7 +17,7 @@ super + d
super + r super + r
$TERMINAL -e $FILE $TERMINAL -e $FILE
super + e super + e
$TERMINAL -e neomutt $TERMINAL -e neomutt; pkill -RTMIN+13 dwmblocks
super + m super + m
$TERMINAL -e ncmpcpp $TERMINAL -e ncmpcpp
super + n super + n
@ -29,11 +29,13 @@ super + c
super + v super + v
$TERMINAL -e nvim -c VimwikiIndex $TERMINAL -e nvim -c VimwikiIndex
super + shift + a super + shift + a
$TERMINAL -e alsamixer; refbar $TERMINAL -e alsamixer; pkill -RTMIN+10 dwmblocks
super + shift + c super + shift + c
mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --title='mpvfloat' /dev/video0 mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --title='mpvfloat' /dev/video0
super + shift + e super + shift + e
tutorialvids tutorialvids
super + w
$BROWSER
super + shift + w super + shift + w
$BROWSER $BROWSER
super + shift + g super + shift + g
@ -93,18 +95,18 @@ super + {_,shift +} bracketleft
mpc seek -{10,120} mpc seek -{10,120}
# Increase volume # Increase volume
super + {equal,plus} super + {equal,plus}
amixer sset Master {5,15}%+; refbar amixer sset Master {5,15}%+; pkill -RTMIN+10 dwmblocks
# Decrease volume # Decrease volume
super {_,shift +} + minus super {_,shift +} + minus
amixer sset Master {5,15}%-; refbar amixer sset Master {5,15}%-; pkill -RTMIN+10 dwmblocks
super + shift + m super + shift + m
amixer sset Master toggle; refbar amixer sset Master toggle; pkill -RTMIN+10 dwmblocks
# Audiokeys # Audiokeys
XF86AudioMute XF86AudioMute
amixer sset Master toggle; refbar amixer sset Master toggle; pkill -RTMIN+10 dwmblocks
XF86Audio{Raise,Lower}Volume XF86Audio{Raise,Lower}Volume
amixer sset Master 5%{+,-}; refbar amixer sset Master 5%{+,-}; pkill -RTMIN+10 dwmblocks
XF86Audio{Next,Prev} XF86Audio{Next,Prev}
mpc {next,prev} mpc {next,prev}
XF86Audio{Pause,Play,Stop} XF86Audio{Pause,Play,Stop}

View file

@ -5,7 +5,7 @@
setbg & # set the background with the `setbg` script setbg & # set the background with the `setbg` script
xcompmgr & # xcompmgr for transparency xcompmgr & # xcompmgr for transparency
dwmbar & # script for updating the status bar dwmblocks & # script for updating the status bar
dunst & # dunst for notifications dunst & # dunst for notifications
sxhkd & # Bind keys with sxhkd sxhkd & # Bind keys with sxhkd
xset r rate 300 50 & # Speed xrate up xset r rate 300 50 & # Speed xrate up
@ -20,6 +20,6 @@ xmodmap -e 'keycode 135 = Super_R' &
# command changes the music player's status. # command changes the music player's status.
while pgrep -x mpd; do while pgrep -x mpd; do
mpc idle >/dev/null 2>&1 mpc idle >/dev/null 2>&1
refbar pkill -RTMIN+11
done & done &
notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME