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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user