mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-19 15:50:30 +01:00
feat: adds sketchybar configuration
This commit is contained in:
parent
d8cdb130b5
commit
4b0e72ec7a
9 changed files with 226 additions and 0 deletions
49
modules/home/sketchybar/default.nix
Normal file
49
modules/home/sketchybar/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
sketchybar
|
||||
sketchybar-app-font
|
||||
lua
|
||||
readline
|
||||
switchaudio-osx
|
||||
nowplaying-cli
|
||||
# sf-symbols
|
||||
# font-sf-mono
|
||||
# font-sf-pro
|
||||
];
|
||||
home.file = {
|
||||
".config/sketchybar/sketchybarrc" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./sketchybarrc;
|
||||
};
|
||||
# PLUGINS
|
||||
".config/sketchybar/plugins/battery.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/battery.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/clock.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/clock.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/front_app.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/front_app.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/memory.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/memory.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/nowplaying.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/nowplaying.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/space.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/space.sh;
|
||||
};
|
||||
".config/sketchybar/plugins/volume.sh" = {
|
||||
executable = true;
|
||||
text = builtins.readFile ./plugins/volume.sh;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue