From 9661f45d43f49eb4c9483f46ae50b87c22c95840 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Tue, 6 May 2025 21:49:14 +0200 Subject: [PATCH] Updated scripts --- config/hypr/hypridle.conf | 2 +- config/hypr/hyprland.conf | 1 + update_arch.sh | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index e4dba85..b06a60d 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -11,6 +11,6 @@ general { # } listener { - timeout = 1800 # 30min + timeout = 6000 # 60min on-timeout = shutdown now # shutdown pc } diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index b1e5cfa..a3a0378 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -18,6 +18,7 @@ exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = udiskie exec-once = waybar +exec-once = systemctl --user start hypridle exec-once = systemctl --user start sunshine diff --git a/update_arch.sh b/update_arch.sh index 8647b33..1a79257 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -203,8 +203,6 @@ if [ "${ROLES[HYPERLAND]}" == "yes" ]; then ln -sf ~/linuxbox/config/qt6ct/qt6ct.conf ~/.config/qt6ct/qt6ct.conf ln -sf ~/linuxbox/config/dunst/dunstrc ~/.config/dunst/dunstrc - systemctl --user enable --now hypridle.service - printf -- '\033[33m Installing waybar\n\033[37m' sudo pacman --noconfirm --needed -S waybar mkdir -p ~/.config/waybar