From 56d751f725650f041bba666f29267cdbd8851fc8 Mon Sep 17 00:00:00 2001 From: joygnu Date: Fri, 23 Aug 2024 22:03:36 +0200 Subject: [PATCH] hypridle fix so it really only runs on laptop --- home/hyprland/scripts/hypridle.sh | 5 +++-- home/swaync/default.nix | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/home/hyprland/scripts/hypridle.sh b/home/hyprland/scripts/hypridle.sh index a438b73..cf4ef17 100755 --- a/home/hyprland/scripts/hypridle.sh +++ b/home/hyprland/scripts/hypridle.sh @@ -2,5 +2,6 @@ hostname=$(hostname) -[ "$hostname" = "latop" ] && hyprilde - +if [ "$hostname" = "laptop" ]; then + hyprilde +fi diff --git a/home/swaync/default.nix b/home/swaync/default.nix index 92bcb33..2df4b25 100644 --- a/home/swaync/default.nix +++ b/home/swaync/default.nix @@ -95,7 +95,8 @@ }; }; }; - style = '' + style = + '' @define-color cc-bg #282828; @define-color noti-border-color #32302f; @@ -324,7 +325,8 @@ border: none; background: transparent } - ''; + '' + ; }; home.packages = with pkgs; [