aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.compton.conf4
-rwxr-xr-x.config/herbstluftwm/autostart2
-rwxr-xr-x.config/herbstluftwm/panel.sh12
-rw-r--r--.config/nitrogen/bg-saved.cfg2
-rw-r--r--.config/nitrogen/nitrogen.cfg2
5 files changed, 13 insertions, 9 deletions
diff --git a/.compton.conf b/.compton.conf
index 5c5c32b..7b1b036 100644
--- a/.compton.conf
+++ b/.compton.conf
@@ -1,6 +1,6 @@
# Shadow
shadow = false
-no-dock-shadow = false
+no-dock-shadow = true
no-dnd-shadow = true
clear-shadow = true
shadow-radius = 7
@@ -8,4 +8,4 @@ shadow-offset-x = -7
shadow-offset-y = -5
shadow-opacity = 1
shadow-ignore-shaped = true
-shadow-exclude = "height != 16"
+shadow-exclude = "window_type != 'dock'"
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 3fe4ba3..0a2b1c7 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -170,7 +170,7 @@ hc set smart_window_surroundings 1
# rules
hc unrule -F
hc rule focus=on
-# unmanage docs, dropdowns, etc
+# unmanage docks, dropdowns, etc
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off
# set apppropriate things to pseudotile
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on focus=on
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index e052b13..6417ebf 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -71,7 +71,7 @@ update_winlist() {
# formatting, and finally delete win ids and merge
# lines
- for c in $(herbstclient layout | grep -Eo '0x[0-9a-f]*'); do
+ for c in $(hc layout | grep -Eo '0x[0-9a-f]*'); do
xwininfo -id $c | sed -n 2p | sed -e 's/"//' -e 's/"$//' -e 's/$/\t/' | cut -c -70 | sed \
-e 's/xwininfo: Window id: //' \
-e 's/$/.../' -e 's/\t\.\.\.$//' \
@@ -164,6 +164,9 @@ get_when() {
for id in ${child[@]}; do
kill $id
done
+
+ pkill bar
+
} 2> /dev/null | {
@@ -217,8 +220,9 @@ get_when() {
;;
when)
- if [[ "${events[1]}" -eq 1 ]]; then
- fields[4]="%{F${bg_focus}}|%{F${fg_normal} A:when:} * %{A}"
+ if [[ "${event[1]}" -eq 1 ]]; then
+ fields[4]=$(echo -n "%{F${bg_focus}}|%{F${fg_normal} A:when:}"
+ echo -n "%{F${fg_red}} \uE0AE %{F${fg_normal} A}")
else
fields[4]=""
fi
@@ -263,7 +267,7 @@ get_when() {
notify-send "$(cal)"
;;
stats)
- urxvt -e htop
+ urxvt -e htop &
;;
when)
notify-send "$(when)"
diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg
index 15c602b..6d9b06a 100644
--- a/.config/nitrogen/bg-saved.cfg
+++ b/.config/nitrogen/bg-saved.cfg
@@ -1,4 +1,4 @@
[:0.0]
-file=/home/shmibs/backdrops/arch-sloppity.png
+file=/home/shmibs/backdrops/shadowed/arch-sloppity.png
mode=5
bgcolor=#000000
diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg
index 9a87a10..48d69f4 100644
--- a/.config/nitrogen/nitrogen.cfg
+++ b/.config/nitrogen/nitrogen.cfg
@@ -7,4 +7,4 @@ sizey=1062
[nitrogen]
view=icon
icon_caps=false
-dirs=/home/shmibs/backdrops;
+dirs=/home/shmibs/backdrops/shadowed;