diff --git a/awesome/rules.fnl b/awesome/rules.fnl index a4c862f..0ae7130 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -41,7 +41,7 @@ :floating true :raise true ;; :height (dpi 1200) - :width (dpi 2200) + :width (dpi 1400) :screen 1 :sticky true :placement awful.placement.centered @@ -211,12 +211,14 @@ } :properties { :floating true - :raise true + :raise false :ontop true :screen awful.screen.preferred + :focusable false ;; :width (dpi 600) ;; :height (dpi 200) :placement (+ awful.placement.centered awful.placement.no_offscreen awful.placement.top) + :y (dpi 100) } } ;; Tell qb to open primarily on the secondary monitor diff --git a/eww/volume.yuck b/eww/volume.yuck index 4c6001f..f3b166d 100644 --- a/eww/volume.yuck +++ b/eww/volume.yuck @@ -2,8 +2,11 @@ :geometry (geometry :x "0px" :y "40px" :anchor "top center") - :stacking "fg" + :stacking "overlay" :monitor "0" + :focusable "false" + :windowtype "dock" + :wm-ignore "true" (volshow)) (defwidget volshow [] diff --git a/picom.conf b/picom.conf index cfa4aed..8269f83 100644 --- a/picom.conf +++ b/picom.conf @@ -15,11 +15,13 @@ rounded-corners-exclude = [ "class_g = 'XTerm'", "class_g = 'kitty'", "class_g = 'emacs'", + "class_g = 'Eww'", "class_g = 'Thunderbird'", # "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'", ]; round-borders = 18; round-borders-exclude = [ + "class_g = 'Eww'", #"class_g = 'TelegramDesktop'", ]; @@ -81,6 +83,7 @@ shadow-exclude = [ "name = 'Display Window'", "name = 'Video'", "class_g = 'Conky'", + "class_g = 'Eww'", # "class_g = 'Rofi'", # "class_g = 'firefox'", # "class_g = 'Alacritty'", @@ -123,7 +126,8 @@ fade-exclude = [ "name = 'Projection Window'", "name = 'Display Window'", "name = 'Video'", - "class_g = 'slop'" # maim + "class_g = 'slop'", # maim + "class_g = 'Eww'" ] # Do not fade on window open/close. @@ -168,7 +172,8 @@ focus-exclude = [ "name = 'Display Window'", "class_g = 'slop'", # maim "name = 'Video'", - "class_g = 'mpv'" + "class_g = 'mpv'", + "class_g = 'Eww'" ]; # Use fixed inactive dim value, instead of adjusting according to window opacity. diff --git a/scripts/voldown b/scripts/voldown index 9a8a7c1..6178360 100755 --- a/scripts/voldown +++ b/scripts/voldown @@ -3,11 +3,11 @@ # killall volup # killall voldown pamixer --allow-boost -d 5 -pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga +pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga & volume=$(pulsemixer --get-volume | awk '{print $1}') echo $volume > /tmp/vol -eww open volume +eww open volume & sleep 3 diff --git a/scripts/volup b/scripts/volup index 149bd72..bd872ff 100755 --- a/scripts/volup +++ b/scripts/volup @@ -3,11 +3,11 @@ # killall volup # killall voldown pamixer --allow-boost -i 5 -pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga +pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga & volume=$(pulsemixer --get-volume | awk '{print $1}') echo $volume > /tmp/vol -eww open volume +eww open volume & sleep 3