Further polybar customization
This commit is contained in:
@@ -26,6 +26,7 @@ in {
|
||||
|
||||
xdg.configFile."polybar/config.ini".source = ../../../config/.config/polybar/config.ini;
|
||||
xdg.configFile."polybar/bars".source = ../../../config/.config/polybar/bars;
|
||||
xdg.configFile."polybar/scripts".source = ../../../config/.config/polybar/scripts;
|
||||
|
||||
systemd.user.services.polybar = {
|
||||
Unit = {
|
||||
@@ -36,7 +37,7 @@ in {
|
||||
|
||||
Service = {
|
||||
Type = "forking";
|
||||
Environment = "PATH=${polybar_pkg}/bin:/run/wrappers/bin";
|
||||
PassEnvironment = "PATH";
|
||||
ExecStart =
|
||||
let scriptPkg = pkgs.writeShellScriptBin "polybar-start" script;
|
||||
in "${scriptPkg}/bin/polybar-start";
|
||||
|
||||
Reference in New Issue
Block a user