chpaper now restarts the hyprpaper service instead of pkilling the process
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user