170 current 2025-01-02 23:37:01 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -15,14 +15,18 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = mypolybar;
|
package = mypolybar;
|
||||||
extraConfig = builtins.readFile ./config.ini;
|
extraConfig = builtins.readFile ./config.ini;
|
||||||
# unholy
|
# my savior: https://www.reddit.com/r/NixOS/comments/v8ikwq/polybar_doesnt_start_at_launch/
|
||||||
script = ''
|
script = ''
|
||||||
# echo "none"
|
# echo "none"
|
||||||
exec /etc/profiles/per-user/synchronous/bin/polybar mybar & disown
|
polybar mybar & disown
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# home.activation.polybarStartup = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
# home.activation.polybarStartup = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
# exec /etc/profiles/per-user/synchronous/bin/polybar -c /home/synchronous/.config/polybar/config.ini mybar & disown
|
# exec /etc/profiles/per-user/synchronous/bin/polybar -c /home/synchronous/.config/polybar/config.ini mybar & disown
|
||||||
# '';
|
# '';
|
||||||
|
|
||||||
|
systemd.user.services.polybar = {
|
||||||
|
Install.WantedBy = ["graphical-session.target"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user