mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: consistent konawall on hyprland
This commit is contained in:
parent
576f3a3e7e
commit
15f40761fb
17 changed files with 92 additions and 72 deletions
|
|
@ -1,19 +1,24 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
desktop_entry = ''
|
||||
[Desktop Entry]
|
||||
Exec=${inputs.konawall-py.packages.${pkgs.system}.konawall-py}/bin/konawall
|
||||
Icon=
|
||||
Name=konawall
|
||||
Path=
|
||||
Terminal=False
|
||||
Type=Application
|
||||
'';
|
||||
systemd.user.services.konawall-py = {
|
||||
Unit = {
|
||||
Description = "konawall-py";
|
||||
X-Restart-Triggers = [(toString config.xdg.configFile."konawall/config.toml".source)];
|
||||
After = ["hyprland-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${inputs.konawall-py.packages.${pkgs.system}.konawall-py}/bin/konawall";
|
||||
Restart = "always";
|
||||
};
|
||||
Install = {WantedBy = ["hyprland-session.target"];};
|
||||
};
|
||||
|
||||
konawallConfig = {
|
||||
interval = 30 * 60;
|
||||
interval = 60 * 5;
|
||||
rotate = true;
|
||||
source = "konachan";
|
||||
tags = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue