From bcf9a7fdb19f8bfdc09041d01393364ba0dfcaf6 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 9 Jan 2025 22:54:25 +0100 Subject: [PATCH] Tweak opacity values, and fix regression where I accidentally had removed the call to run the dim_inactive_windows script in sway. --- home/.config/ghostty/config | 2 +- linux_home/.config/sway/config | 1 + linux_home/.config/sway/dim_inactive.windows.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/.config/ghostty/config b/home/.config/ghostty/config index 0b98377..6c35bee 100644 --- a/home/.config/ghostty/config +++ b/home/.config/ghostty/config @@ -21,7 +21,7 @@ shell-integration = zsh background = #1F2430 # Transparency -background-opacity = 0.8625 +background-opacity = 0.95 background-blur-radius = 20 bold-is-bright = true diff --git a/linux_home/.config/sway/config b/linux_home/.config/sway/config index 9cc9a5f..cc309f1 100644 --- a/linux_home/.config/sway/config +++ b/linux_home/.config/sway/config @@ -35,6 +35,7 @@ set $menu dmenu_path | wmenu | xargs swaymsg exec -- output * bg /home/larssonmartin1998-asahi/.config/wallpapers/catppuccin/cloudsnight.jpg fill exec_always --no-startup-id ~/.config/sway/idle.sh +exec_always --no-startup-id ~/.config/sway/dim_inactive.windows.py # https://github.com/ErikReider/SwayAudioIdleInhibit # Prevents the system from locking when audio is playing or recording. # This prevents the pc from shutting down when watching youtube for instance. diff --git a/linux_home/.config/sway/dim_inactive.windows.py b/linux_home/.config/sway/dim_inactive.windows.py index c1a92c9..4df5bc4 100755 --- a/linux_home/.config/sway/dim_inactive.windows.py +++ b/linux_home/.config/sway/dim_inactive.windows.py @@ -17,7 +17,7 @@ from typing import Optional import i3ipc -TRANSPARENCY_VALUE: str = '0.85' +TRANSPARENCY_VALUE: str = '0.7875' ipc = i3ipc.Connection() g_prev_focused: Optional[i3ipc.con.Con] = None g_prev_workspace: int = ipc.get_tree().find_focused().workspace().num