diff --git a/home/hyprland/hyprland.nix b/home/hyprland/hyprland.nix index cde6c66..5699cc9 100644 --- a/home/hyprland/hyprland.nix +++ b/home/hyprland/hyprland.nix @@ -17,6 +17,7 @@ enable = true; settings = { "$mainMod" = "SUPER"; + "$shiftMainMod" = "SUPER_SHIFT"; "$term" = "kitty"; monitor = [ @@ -114,6 +115,9 @@ "$mainMod,k,movewindow,u" "$mainMod,j,movewindow,d" + # Force opacity + "$shiftMainMod,o,exec, hl-no-opacity" + # mumble ptt click ",code:202,exec,mumble rpc starttalking" diff --git a/home/scripts/default.nix b/home/scripts/default.nix index 80b4a1d..cb19a86 100644 --- a/home/scripts/default.nix +++ b/home/scripts/default.nix @@ -1,6 +1,6 @@ { config, ... }: { home.file.".local/bin/hl-no-opacity" = { - source = config.lib.file.mkOutOfStoreSymlink ./. + "/hl-no-opacity.sh"; + source = ./hl-no-opacity.sh; executable = true; }; } diff --git a/home/scripts/hl-no-opacity.sh b/home/scripts/hl-no-opacity.sh index 96e3216..368e70e 100644 --- a/home/scripts/hl-no-opacity.sh +++ b/home/scripts/hl-no-opacity.sh @@ -2,3 +2,4 @@ addr=$(hyprctl activewindow -j|jq -r .address) hyprctl setprop "address:$addr" alpha 1 lock +hyprctl setprop "address:$addr" alphainactive 1 lock