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