From 6244ad78ac5be212dc996cb4919cd778c3e7e7dd Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 21 Sep 2019 15:39:49 -0400 Subject: [PATCH] switch to dwmblocks --- .config/sxhkd/sxhkdrc | 16 +++++++++------- .xprofile | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index a312bf7..a703ebf 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -17,7 +17,7 @@ super + d super + r $TERMINAL -e $FILE super + e - $TERMINAL -e neomutt + $TERMINAL -e neomutt; pkill -RTMIN+13 dwmblocks super + m $TERMINAL -e ncmpcpp super + n @@ -29,11 +29,13 @@ super + c super + v $TERMINAL -e nvim -c VimwikiIndex super + shift + a - $TERMINAL -e alsamixer; refbar + $TERMINAL -e alsamixer; pkill -RTMIN+10 dwmblocks super + shift + c mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --title='mpvfloat' /dev/video0 super + shift + e tutorialvids +super + w + $BROWSER super + shift + w $BROWSER super + shift + g @@ -93,18 +95,18 @@ super + {_,shift +} bracketleft mpc seek -{10,120} # Increase volume super + {equal,plus} - amixer sset Master {5,15}%+; refbar + amixer sset Master {5,15}%+; pkill -RTMIN+10 dwmblocks # Decrease volume super {_,shift +} + minus - amixer sset Master {5,15}%-; refbar + amixer sset Master {5,15}%-; pkill -RTMIN+10 dwmblocks super + shift + m - amixer sset Master toggle; refbar + amixer sset Master toggle; pkill -RTMIN+10 dwmblocks # Audiokeys XF86AudioMute - amixer sset Master toggle; refbar + amixer sset Master toggle; pkill -RTMIN+10 dwmblocks XF86Audio{Raise,Lower}Volume - amixer sset Master 5%{+,-}; refbar + amixer sset Master 5%{+,-}; pkill -RTMIN+10 dwmblocks XF86Audio{Next,Prev} mpc {next,prev} XF86Audio{Pause,Play,Stop} diff --git a/.xprofile b/.xprofile index fb5a319..24604db 100644 --- a/.xprofile +++ b/.xprofile @@ -5,7 +5,7 @@ setbg & # set the background with the `setbg` script xcompmgr & # xcompmgr for transparency -dwmbar & # script for updating the status bar +dwmblocks & # script for updating the status bar dunst & # dunst for notifications sxhkd & # Bind keys with sxhkd 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. while pgrep -x mpd; do mpc idle >/dev/null 2>&1 - refbar + pkill -RTMIN+11 done & notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME