diff --git a/config/dwm/config.def.h b/config/dwm/config.def.h index 7cb40acd..a7990cf0 100644 --- a/config/dwm/config.def.h +++ b/config/dwm/config.def.h @@ -27,6 +27,7 @@ static const char *const autostart[] = { "feh", "--bg-scale", "/home/sako/background.png", NULL, "xsetroot", "-cursor_name", "left_ptr", NULL, "picom", NULL, + "/home/sako/.dwmscripts/bar.sh", NULL, "keepassxc", NULL, NULL /* terminate */ }; diff --git a/config/dwmbar/bar.sh b/config/dwmbar/bar.sh old mode 100644 new mode 100755 diff --git a/config/dwmbar/themes/sako.sh b/config/dwmbar/themes/sako.sh old mode 100644 new mode 100755 diff --git a/modules/desktop/dwm/default.nix b/modules/desktop/dwm/default.nix index 5eb91da0..80665ede 100644 --- a/modules/desktop/dwm/default.nix +++ b/modules/desktop/dwm/default.nix @@ -83,6 +83,11 @@ in { enable = true; source = ../../../config/background.png; }; + ".dwmscripts" = { + enable = true; + recursive = true; + source = ../../../config/dwmbar; + }; }; home.pointerCursor = { name = "Catppuccin-Mocha-Dark";