Merged sketchybar config into declaritive Nix Repo

This commit is contained in:
DerGrumpf
2026-04-05 19:32:42 +02:00
parent 0d4654203c
commit ebd4183584
18 changed files with 515 additions and 188 deletions

View File

@@ -0,0 +1,32 @@
{ pkgs, lib, isDarwin, ... }: {
programs.sketchybar = lib.mkIf isDarwin {
enable = true;
configType = "lua";
sbarLuaPackage = pkgs.sbarlua;
};
home.file = lib.mkIf isDarwin {
".config/sketchybar/sketchybar.lua".source = ./sketchybar.lua;
".config/sketchybar/sketchybarrc".source = ./sketchybarrc;
".config/sketchybar/plugins/battery.sh" = {
source = ./plugins/battery.sh;
executable = true;
};
".config/sketchybar/plugins/clock.sh" = {
source = ./plugins/clock.sh;
executable = true;
};
".config/sketchybar/plugins/front_app.sh" = {
source = ./plugins/front_app.sh;
executable = true;
};
".config/sketchybar/plugins/space.sh" = {
source = ./plugins/space.sh;
executable = true;
};
".config/sketchybar/plugins/volume.sh" = {
source = ./plugins/volume.sh;
executable = true;
};
};
}