summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:33:01 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:33:01 +0200
commit8094ac39153017239eb7cd2525b2df7e93550490 (patch)
tree0e0e52e17e35f82661ed8d94d821fd226108d2e4
parent02133fb2ca8dc595205e04a38ea0b3f60cc72d5f (diff)
downloadnixos-8094ac39153017239eb7cd2525b2df7e93550490.tar
nixos-8094ac39153017239eb7cd2525b2df7e93550490.tar.gz
nixos-8094ac39153017239eb7cd2525b2df7e93550490.tar.bz2
nixos-8094ac39153017239eb7cd2525b2df7e93550490.tar.xz
nixos-8094ac39153017239eb7cd2525b2df7e93550490.zip
...
-rw-r--r--accounts/gkleen@sif/hyprland.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index 579b485f..c295997b 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -4,7 +4,7 @@ let
4in { 4in {
5 monitor = [ 5 monitor = [
6 ",preferred,auto,auto" 6 ",preferred,auto,auto"
7 "eDP-1,3840x2160@59.99900,auto,1.5" 7 "eDP-1,3840x2160@60,auto,1.5"
8 ]; 8 ];
9 9
10 "$terminal" = "kitty"; 10 "$terminal" = "kitty";
@@ -279,7 +279,7 @@ in {
279 export PATH="${lib.makeBinPath (with pkgs; [ jq ])}:$PATH" 279 export PATH="${lib.makeBinPath (with pkgs; [ jq ])}:$PATH"
280 [[ $(hyprctl monitors -j | jq '.[] | select(.name == "eDP-1") | .disabled') = "true" ]] || exit 0 280 [[ $(hyprctl monitors -j | jq '.[] | select(.name == "eDP-1") | .disabled') = "true" ]] || exit 0
281 281
282 hyprctl keyword monitor "eDP-1,3840x2160@59.99900,auto,1.5" 282 hyprctl keyword monitor "eDP-1,3840x2160@60,auto,1.5"
283 ''}" 283 ''}"
284 ", switch:on:Lid Switch,exec,${pkgs.writeShellScript "clamshell-on" '' 284 ", switch:on:Lid Switch,exec,${pkgs.writeShellScript "clamshell-on" ''
285 export PATH="${lib.makeBinPath (with pkgs; [ jq ])}:$PATH" 285 export PATH="${lib.makeBinPath (with pkgs; [ jq ])}:$PATH"