switching to dwmblocks

master
TiynGER 5 years ago
parent 9cba1be097
commit 0938f09fe1

@ -33,13 +33,13 @@ super + F12
XF86Launch1
xset dpms force off
XF86AudioMute
lmc m && refbar
lmc m && pkill -RTMIN+4 $STATUSBAR
XF86AudioMicMute
pactl set-source-mute 1 toggle && refbar
pactl set-source-mute 1 toggle && pkill -RTMIN+4 $STATUSBAR
XF86AudioLowerVolume
lmc down 5 && refbar
lmc down 5 && pkill -RTMIN+4 $STATUSBAR
XF86AudioRaiseVolume
lmc up 5 && refbar
lmc up 5 && pkill -RTMIN+4 $STATUSBAR
XF86MonBrightnessDown
light -U 15
XF86MonBrightnessUp

@ -7,6 +7,6 @@ dunst & # dunst for notifications
redshift & # redshift for saving your eyes
mpd & # starts the mpd server for music
toggletouchpad & # deactivates the touchpad
$STATUSBAR &
owncloud &
dwmbar &
sxhkd &

@ -1,13 +0,0 @@
#!/bin/sh
# inspired by by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
status() { \
echo "$(memory)|$(cpu)|$(disk /)|$(volume)|$(battery BAT0)|$(internet)|$(clock)"
}
while :; do
xsetroot -name "$(status | tr '\n' ' ')"
sleep 1m
done

@ -1,6 +0,0 @@
#!/bin/sh
# Refresh the dwmbar.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
kill "$(pstree -lp | grep -- -dwmbar\([0-9] | sed "s/.*sleep(\([0-9]\+\)).*/\1/")"

@ -10,6 +10,7 @@ export EDITOR="nvim"
export FILE="vifmrun"
export IMAGE="sxiv"
export READER="zathura"
export STATUSBAR="dwmblocks"
export TERMINAL="st"
export QT_QPA_PLATFORMTHEME="qt5ct"
export WINEPREFIX="$HOME/.wine"

Loading…
Cancel
Save