From c3e6687ded298342a36d3a435215ea92b7be4f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Tue, 3 Jan 2023 17:56:02 +0100 Subject: [PATCH] tune opacity settings --- modules/programs/hyprland/config.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/modules/programs/hyprland/config.nix b/modules/programs/hyprland/config.nix index 038f962..0ffe5d1 100644 --- a/modules/programs/hyprland/config.nix +++ b/modules/programs/hyprland/config.nix @@ -109,18 +109,24 @@ in # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more + # Kitty + windowrulev2 = opacity 0.95 0.95, class:^kitty$ + + windowrulev2 = opacity 0.85 0.85, floating:1 + # Firefox Sharing Indicator ${mkRules ["float" "move 49% 40" "noborder"] ["title:^(.*Sharing Indicator)$"]} # Rofi - ${mkRules ["float" "opacity 0.95 0.95"] ["class:^([rR]ofi)$"]} + ${mkRules ["float" "opacity 0.85 0.85" "noborder"] ["class:^([rR]ofi)$"]} - windowrulev2 = opacity 0.95 0.95,floating:1 + # Emacs + windowrulev2 = opaque, class:^emacs$ - # Games + + # Fullscreen Applications # ${mkRules ["opaque" "noblur" "noborder" "noshadow" "forceinput"] ["fullscreen:1"]} - # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER $windowMod = ALT @@ -153,6 +159,12 @@ in bind = $mainMod, K, movefocus, u bind = $mainMod, J, movefocus, d + # Change current active window size with mainMod + hjkl + bind = $mainMod SHIFT, H, resizeactive, -10 0 + bind = $mainMod SHIFT, L, resizeactive, 10 0 + bind = $mainMod SHIFT, K, resizeactive, 0 -10 + bind = $mainMod SHIFT, J, resizeactive, 0 10 + # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2