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 --- .compton | 3 +++ .config/herbstluftwm/autostart | 3 ++- .config/herbstluftwm/panel.sh | 2 +- Makefile | 7 ++++++- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .compton diff --git a/.compton b/.compton new file mode 100644 index 0000000..2f736fd --- /dev/null +++ b/.compton @@ -0,0 +1,3 @@ +shadow = true; +clear-shadow = true; +shadow-exclude = ["g:si:dmenu"]; 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 diff --git a/Makefile b/Makefile index 1f21a25..1de75bd 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ THEMES_DIR = .local/share/themes CONFIG_DIR = .config NUMIX = numix-no-title BASHRC = .bashrc +COMPTON = .compton VIMRC = .vimrc HERBSTLUFT = herbstluftwm XRESOURCES = .Xresources @@ -11,7 +12,7 @@ XRESOURCES = .Xresources install: all -all: bash vim xresources numix-no-title herbstluftwm +all: bash compton vim xresources numix-no-title herbstluftwm numix-no-title: ln -sf $(PWD)/$(THEMES_DIR)/$(NUMIX) ~/$(THEMES_DIR) @@ -22,6 +23,9 @@ herbstluftwm: bash: ln -sf $(PWD)/$(BASHRC) ~ +compton: + ln -sf $(PWD)/$(COMPTON) ~ + vim: ln -sf $(PWD)/$(VIMRC) ~ @@ -32,6 +36,7 @@ uninstall: #remove all -rm ~/$(THEMES_DIR)/$(NUMIX) -rm ~/$(CONFIG_DIR)/$(HERBSTLUFT) + -rm ~/$(COMPTON) -rm ~/$(BASHRC) -rm ~/$(VIMRC) -rm ~/$(XRESOURCES) -- cgit v1.2.3