diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-14 09:53:04 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-14 09:53:04 +0200 |
commit | b52c5e810faf389afad81022f28c3feb4120c709 (patch) | |
tree | a4908fb2864bccd914e79310337841fd6d4e53db /accounts/gkleen@sif | |
parent | 90d05a6a5d2956a2ca696d0fe96eabd148388985 (diff) | |
download | nixos-b52c5e810faf389afad81022f28c3feb4120c709.tar nixos-b52c5e810faf389afad81022f28c3feb4120c709.tar.gz nixos-b52c5e810faf389afad81022f28c3feb4120c709.tar.bz2 nixos-b52c5e810faf389afad81022f28c3feb4120c709.tar.xz nixos-b52c5e810faf389afad81022f28c3feb4120c709.zip |
...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/hyprland.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index a29826b4..9a22e83a 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -425,7 +425,7 @@ in { | |||
425 | on-scroll = 1; | 425 | on-scroll = 1; |
426 | format = { | 426 | format = { |
427 | months = "<span color='#ffead3'><b>{}</b></span>"; | 427 | months = "<span color='#ffead3'><b>{}</b></span>"; |
428 | days = "<span color='#ecc6d9'><b>{}</b></span>"; | 428 | days = "{}"; |
429 | weeks = "<span color='#99ffdd'><b>{}</b></span>"; | 429 | weeks = "<span color='#99ffdd'><b>{}</b></span>"; |
430 | weekdays = "<span color='#ffcc66'><b>{}</b></span>"; | 430 | weekdays = "<span color='#ffcc66'><b>{}</b></span>"; |
431 | today = "<span color='#ff6699'><b>{}</b></span>"; | 431 | today = "<span color='#ff6699'><b>{}</b></span>"; |
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 | ||