From 0a45a3d95ddc23591810f48df54860d9fa113b27 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 31 Aug 2023 22:07:12 +0900 Subject: [PATCH] Fixed the wallpaper changer --- .../desktops/hyprland/gruvbox/hyprland-conf.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix index 8b057134..a9e8775e 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix @@ -240,7 +240,7 @@ submap = reset # Start the config: - exec-once=bash ~/.config/hypr/start.sh >> ~/hypr.log + exec-once=bash ~/.config/hypr/start.sh ''; }; # Set the custom launcher script @@ -252,15 +252,12 @@ # https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & - echo "sww init" # Set the wallpaper swww init - echo "waybar" # Waybar waybar & - echo "swayidle" # Set up the idle management daemon swayidle -w \ timeout 120 'swaylock -f && playerctl pause' \ @@ -270,21 +267,15 @@ before-sleep 'swaylock -f' \ before-sleep 'playerctl pause' & - echo "udiskie" # Automatic device mounting udiskie & - echo "sww clear and set up img" - swww clear DIR=/etc/nixos/git/wallpapers/${theme} IMG=`ls $DIR | shuf -n 1` swww img $DIR/$IMG -t random & - echo "Selected: $DIR/$IMG" - echo "mako init" # Notification listener mako - echo "done" ''; }; };