update opacity rules and add keybind toggle

This commit is contained in:
2025-11-12 11:30:48 -08:00
parent edec0e1b80
commit a26255e83a
2 changed files with 20 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ exec-once = uwsm app -sb -S both -t scope -- hyprpm reload -nn
exec-once = uwsm app -sb -t service -- nm-applet
exec-once = uwsm app -sb -t service -- waybar -c ~/.config/waybar/catppuccin-macchiato/config.jsonc -s ~/.config/waybar/catppuccin-macchiato/style.css
exec-once = uwsm app -sb -t service -- hyprsunset
exec-once = uwsm app -sb -t service -- polkit-kde-authentication-agent-1.desktop
exec-once = uwsm app -sb -t service -- /usr/lib/polkit-kde-authentication-agent-1
exec-once = uwsm app -sb -t service -- variety
exec-once = ~/.local/bin/aria
# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
@@ -105,10 +105,10 @@ decoration {
rounding_power = 2
# Change transparency of focused and unfocused windows
# active_opacity = 0.88
active_opacity = 1.0
# inactive_opacity = 0.88
inactive_opacity = 1.0
active_opacity = 0.88
# active_opacity = 1.0
inactive_opacity = 0.88
# inactive_opacity = 1.0
shadow {
enabled = true
@@ -263,16 +263,15 @@ windowrule = workspace 10 silent, class:discord
windowrule = workspace 9 silent, class:steam
windowrule = size 2118 1182, class:anki
windowrule = workspace 8 silent, class:anki
windowrule = opacity 0.88, class:.* fullscreen:0
windowrule = opacity 1, class:mpv fullscreen:0
windowrule = opacity 1, class:Thorium-browser title:(.*)asbplayer
windowrule = tile, class:Thorium-browser title:(.*)asbplayer
windowrule = opacity 1, class:^(remote-viewer)$
windowrule = opacity 1, class:com.obsproject.Studio
windowrule = opacity 1, title:(.*)(- YouTube(.*))
windowrule = opacity 1, class:zen, title:(.*)YouTube TV(.*)
windowrule = opacity 1, class:anki fullscreen:0
# windowrule = opacity 0.88, class:.* fullscreen:0
windowrule = opacity 1.0 override, class:mpv
windowrule = opacity 1.0 override, title:(.*)asbplayer
windowrule = tile, title:(.*)asbplayer
windowrule = opacity 1.0 override, class:^(remote-viewer)$
windowrule = opacity 1.0 override, class:com.obsproject.Studio
windowrule = opacity 1.0 override, title:(.*)(- YouTube(.*))
windowrule = opacity 1.0 override, class:zen, title:(.*)YouTube TV(.*)
windowrule = opacity 1.0 override, class:anki
# Example windowrule v2

View File

@@ -128,3 +128,9 @@ bind = $mainMod, z, exec, uwsm app -sb -- zen-browser
bind = $mainMod SHIFT, s, exec , rofi -show ssh -theme "$HOME/.config/rofi/launchers/type-2/style-2.rasi" -terminal -theme-str 'window{width: 25%;} listview {columns: 1; lines: 10;}' ghostty -ssh-command "ghostty --initial-command='TERM=kitty ssh {host}'"
# Disable keybinds with one master keybind
# https://wiki.hypr.land/0.49.0/Configuring/Uncommon-tips--tricks/#disabling-keybinds-with-one-master-keybind
bind = $mainMod, code:117, submap, clean
submap = clean
bind = $mainMod, code:112, submap, reset
submap = reset