aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/herbstluftwm/autostart3
-rwxr-xr-x.config/herbstluftwm/panel.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index b8f8898..b5115cf 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -206,7 +206,7 @@ fi
206feh --bg-fill $WALLPAPER 206feh --bg-fill $WALLPAPER
207 207
208#Start compton if not running 208#Start compton if not running
209start_compton(){ compton -c -z & } 209start_compton(){ compton --config ~/.compton & }
210if pgrep compton >> /dev/null 210if pgrep compton >> /dev/null
211then 211then
212 kill $(pgrep compton) 212 kill $(pgrep compton)
@@ -235,3 +235,4 @@ then
235else 235else
236 xscreensaver -no-splash& 236 xscreensaver -no-splash&
237fi 237fi
238
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index dd95bd4..4e35d0d 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -109,7 +109,7 @@ fi
109 bat_color=$normal_txt 109 bat_color=$normal_txt
110 fi 110 fi
111 state=$(cat /sys/class/power_supply/BAT1/status) 111 state=$(cat /sys/class/power_supply/BAT1/status)
112 echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$charge%{F$normal_txt}%% %{F-}" 112 echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$charge%{F$normal_txt}%%%{F-}"
113 else 113 else
114 echo -e "battery\toff" 114 echo -e "battery\toff"
115 fi 115 fi