From f7797474ecbc52177efe2fd2bc728bd7e564fcf3 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 29 Sep 2014 21:03:17 +0200 Subject: Added compton config --- .config/herbstluftwm/autostart | 3 ++- .config/herbstluftwm/panel.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to '.config/herbstluftwm') 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 feh --bg-fill $WALLPAPER #Start compton if not running -start_compton(){ compton -c -z & } +start_compton(){ compton --config ~/.compton & } if pgrep compton >> /dev/null then kill $(pgrep compton) @@ -235,3 +235,4 @@ then else xscreensaver -no-splash& fi + 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 bat_color=$normal_txt fi state=$(cat /sys/class/power_supply/BAT1/status) - echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$charge%{F$normal_txt}%% %{F-}" + echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$charge%{F$normal_txt}%%%{F-}" else echo -e "battery\toff" fi -- cgit v1.2.3