diff options
| author | 2014-09-29 21:03:17 +0200 | |
|---|---|---|
| committer | 2014-09-29 21:03:17 +0200 | |
| commit | f7797474ecbc52177efe2fd2bc728bd7e564fcf3 (patch) | |
| tree | 5c9fd143f8bd88bad6b18a72c82f6c314ee4db46 /.config/herbstluftwm | |
| parent | 46fa9738887f81b3b1b08ccace52f9e63c3f54a5 (diff) | |
| download | dotfiles-f7797474ecbc52177efe2fd2bc728bd7e564fcf3.tar.gz dotfiles-f7797474ecbc52177efe2fd2bc728bd7e564fcf3.tar.bz2 dotfiles-f7797474ecbc52177efe2fd2bc728bd7e564fcf3.zip | |
Added compton config
Diffstat (limited to '.config/herbstluftwm')
| -rwxr-xr-x | .config/herbstluftwm/autostart | 3 | ||||
| -rwxr-xr-x | .config/herbstluftwm/panel.sh | 2 |
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 | |||
| 206 | feh --bg-fill $WALLPAPER | 206 | feh --bg-fill $WALLPAPER |
| 207 | 207 | ||
| 208 | #Start compton if not running | 208 | #Start compton if not running |
| 209 | start_compton(){ compton -c -z & } | 209 | start_compton(){ compton --config ~/.compton & } |
| 210 | if pgrep compton >> /dev/null | 210 | if pgrep compton >> /dev/null |
| 211 | then | 211 | then |
| 212 | kill $(pgrep compton) | 212 | kill $(pgrep compton) |
| @@ -235,3 +235,4 @@ then | |||
| 235 | else | 235 | else |
| 236 | xscreensaver -no-splash& | 236 | xscreensaver -no-splash& |
| 237 | fi | 237 | fi |
| 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 |
