chpaper now restarts the hyprpaper service instead of pkilling the process

This commit is contained in:
pagedmov
2024-11-06 00:59:33 -05:00
parent 0cbdbafabe
commit 0e85a705e8
3 changed files with 4 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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