diff --git a/modules/wezterm/config/overrides.lua b/modules/wezterm/config/overrides.lua index 4b4d217..da67862 100644 --- a/modules/wezterm/config/overrides.lua +++ b/modules/wezterm/config/overrides.lua @@ -15,7 +15,7 @@ function M.apply_to_config(config) config.font_size = 15.5 config.window_decorations = "NONE" config.window_padding = helpers.get_padding(18, 6) - config.window_background_opacity = 0.95 + config.window_background_opacity = 0.92 -- config.enable_wayland = false; end end diff --git a/modules/wm/awww/scripts/random-bg.sh b/modules/wm/awww/scripts/random-bg.sh index 12c5213..34c30bd 100755 --- a/modules/wm/awww/scripts/random-bg.sh +++ b/modules/wm/awww/scripts/random-bg.sh @@ -15,6 +15,13 @@ RESIZE_TYPE="crop" export AWWW_TRANSITION_FPS="${AWWW_TRANSITION_FPS:-60}" export AWWW_TRANSITION_STEP="${AWWW_TRANSITION_STEP:-2}" +# Kill existing script executions +for pid in $(pidof -x "random-bg.sh"); do + if [ $pid != $$ ]; then + kill $pid + fi +done + while true; do find "$1" -type f \ | while read -r img; do