diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix index 1e9ffd77..499bf32b 100644 --- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix +++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix @@ -212,13 +212,15 @@ gsettings set org.gnome.desktop.interface font-name 'JetBrains Regular Nerd' - polkit-kde-authentication-agent-1 swww init & # Sets a random wallpaper WALLPAPER_DIR=/etc/nixos/git/desktops/wallpapers/gruvbox swww img $WALLPAPER_DIR/wallpaper$((1 + $RANDOM % $(ls $WALLPAPER_DIR | wc -l))).jpg & # nm-applet --indicator & waybar & + + # Set up the idle management daemon + swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -c 000000' mako ''; };