manage wallpaper without hyprpanel
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"theme.bar.opacity": 50,
|
||||
"wallpaper.image": "/tmp/nathan/bg",
|
||||
"wallpaper.enable": true,
|
||||
"wallpaper.enable": false,
|
||||
"theme.matugen_settings.scheme_type": "content",
|
||||
"theme.matugen_settings.variation": "standard_2",
|
||||
"theme.matugen": true,
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
chmod 600 /tmp/nathan/bg
|
||||
fi
|
||||
img=''$(realpath ''${1:-/tmp/nathan/bg})
|
||||
hyprctl dispatch exec ${pkgs.swww}/bin/swww img ''$img -t random
|
||||
${pkgs.hyprpanel}/bin/hyprpanel sw ''$img
|
||||
changeColors ''$img ''$2
|
||||
'')
|
||||
# ${pkgs.swww}/bin/swww img ''$img
|
||||
|
||||
(pkgs.writeShellScriptBin "changeColors" ''
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
rm ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid
|
||||
fi
|
||||
|
||||
hyprctl dispatch exec ${pkgs.hyprpanel}
|
||||
hyprctl dispatch exec ${pkgs.swww}/bin/swww-daemon
|
||||
hyprctl dispatch exec "setWallpaper /tmp/nathan/bg"
|
||||
|
||||
hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr
|
||||
|
||||
Reference in New Issue
Block a user