summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/hyprland.nix')
-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 22b64611..579b485f 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -279,14 +279,14 @@ 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@59.99900,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"
286 286
287 [[ $(hyprctl monitors -j | jq 'reduce (.[] | select(.disabled == false)) as $_ (0; .+1)') -gt 1 ]] || exit 0 287 [[ $(hyprctl monitors -j | jq 'reduce (.[] | select(.disabled == false)) as $_ (0; .+1)') -gt 1 ]] || exit 0
288 288
289 hyprctl keyword monitor \"eDP-1,disable\" 289 hyprctl keyword monitor "eDP-1,disable"
290 ''}" 290 ''}"
291 ]; 291 ];
292 292