From 0e85a705e82ee0801cb5aef7b7d20f48accbaf50 Mon Sep 17 00:00:00 2001 From: pagedmov Date: Wed, 6 Nov 2024 00:59:33 -0500 Subject: [PATCH] chpaper now restarts the hyprpaper service instead of pkilling the process --- modules/home/environment/waybar.nix | 2 +- modules/home/scripts/wm-controls/chpaper.nix | 2 +- modules/sys/environment/stylix.nix | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/home/environment/waybar.nix b/modules/home/environment/waybar.nix index c175ed9..6526457 100755 --- a/modules/home/environment/waybar.nix +++ b/modules/home/environment/waybar.nix @@ -356,7 +356,7 @@ in { window#waybar { border-radius: 20px; border: 3px solid #${colors.color7}; - background: rgba(46,52,64,0.66); + background: rgba(23,29,35,0.50); margin: 20px; } window#waybar.empty #window { diff --git a/modules/home/scripts/wm-controls/chpaper.nix b/modules/home/scripts/wm-controls/chpaper.nix index e06c53f..82aa49b 100755 --- a/modules/home/scripts/wm-controls/chpaper.nix +++ b/modules/home/scripts/wm-controls/chpaper.nix @@ -7,7 +7,7 @@ pkgs.writeShellScriptBin "chpaper" '' select choice in "Yes" "No"; do case $choice in "Yes") - rebuild;pkill -9 hyprpaper;exit 0;; + rebuild;systemctl --user restart hyprpaper;exit 0;; "No") echo "Exiting...";exit 0;; esac diff --git a/modules/sys/environment/stylix.nix b/modules/sys/environment/stylix.nix index 74ee52d..659959e 100755 --- a/modules/sys/environment/stylix.nix +++ b/modules/sys/environment/stylix.nix @@ -8,7 +8,7 @@ let scheme = "tokyo-night-dark"; - wallpaper = "${self}/assets/wallpapers/nord-balloons.png"; + wallpaper = "${self}/assets/wallpapers/dark-waves.jpg"; in { options = { @@ -26,7 +26,7 @@ in }; polarity = "dark"; autoEnable = true; - opacity.terminal = 0.5; + opacity.terminal = 0.50; targets = { console.enable = true; feh.enable = true;