From 88c83d01d6328102529ae4155afeec904333a26f Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 17 Aug 2023 11:36:15 +0900 Subject: [PATCH] Set random wallpaper --- hosts/nixos-laptop/home-manager/hyprland-conf.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix index cf77ba45..5e2a7cd0 100644 --- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix +++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix @@ -168,7 +168,8 @@ text = '' #!/usr/bin/env bash swww init & - swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper4.jpg & + # Sets a random wallpaper + swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper$((1 + $RANDOM % 11)).jpg & nm-applet --indicator & waybar & mako