diff --git a/dwm/.dwm/bar.sh b/dwm/.dwm/bar.sh index dc1af6e..7c5b5d1 100755 --- a/dwm/.dwm/bar.sh +++ b/dwm/.dwm/bar.sh @@ -110,6 +110,10 @@ while true; do # sleep 1 && xsetroot -name "$updates $(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)" # sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)" - # sleep 1 && xsetroot -name "^c$text^^b$surface0^ $(brightness) ^b$base^ $(battery) $(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) " - sleep 1 && xsetroot -name "^c$text^$(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) " + if hash dockd 2>/dev/null; then + sleep 1 && xsetroot -name "^c$text^^b$surface0^ $(brightness) ^b$base^ $(battery) $(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) " + else + sleep 1 && xsetroot -name "^c$text^$(net)^c$text^^b$base^ $(today) ^b$surface0^ $(clock) ^b$surface1^ $(pulse) " + fi + done diff --git a/dwm/.xinitrc b/dwm/.xinitrc index 39a5632..2b30a11 100644 --- a/dwm/.xinitrc +++ b/dwm/.xinitrc @@ -86,7 +86,7 @@ caffeine >/dev/null 2>&1 & ## Ulauncher sleep 3 ; -ulauncher --hide-window >/dev/null 2>&1 & +ulauncher --hide-window --no-window-shadow >/dev/null 2>&1 & ## THINKPAD-SPECIFIC hash dockd && dockd --daemon & diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index fadcdfb..327f693 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -9,16 +9,16 @@ shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) -shadow-radius = 5; +shadow-radius = 3; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) -shadow-opacity = .3 +shadow-opacity = .2 # The left offset for shadows, in pixels. (defaults to -15) -shadow-offset-x = 2; +shadow-offset-x = 1; # The top offset for shadows, in pixels. (defaults to -15) -shadow-offset-y = 2; +shadow-offset-y = 1; # Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). # shadow-color = "#000000" @@ -41,10 +41,7 @@ shadow-exclude = [ # disables shadows on sticky windows: "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", # disables shadows on i3 frames - "class_g ?= 'i3-frame'", - "class_g = 'Rofi'", - "class_g = 'Bspwm'", - "class_g ?= 'ulauncher'" + "class_g ?= 'i3-frame'" ]; # Specify a X geometry that describes the region in which shadow should not diff --git a/ulauncher/.config/ulauncher/settings.json b/ulauncher/.config/ulauncher/settings.json index 19cc1a8..ab07d2f 100644 --- a/ulauncher/.config/ulauncher/settings.json +++ b/ulauncher/.config/ulauncher/settings.json @@ -3,7 +3,7 @@ "clear-previous-query": true, "disable-desktop-filters": false, "grab-mouse-pointer": false, - "hotkey-show-app": "z", + "hotkey-show-app": "space", "render-on-screen": "mouse-pointer-monitor", "show-indicator-icon": true, "show-recent-apps": "0",