Files
NixMachines/machines/universeair/sketchybar.nix

31 lines
961 B
Nix

{config, pkgs, lib, ...}: {
environment.systemPackages = with pkgs; [
sketchybar
];
services.sketchybar = {
enable = true;
config = ''
##### Bar Appearance #####
# Configuring the general appearance of the bar, these are only some of the
# options available. For all options see:
# https://felixkratz.github.io/SketchyBar/config/bar
# If you are looking for other colors, see the color picker:
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
sketchybar --bar height=32 \
blur_radius=30 \
position=top \
sticky=off \
padding_left=10 \
padding_right=10 \
color=0x15ffffff
##### Finalizing Setup #####
# The below command is only needed at the end of the initial configuration to
# force all scripts to run the first time, it should never be run in an item script.
sketchybar --update
'';
};
}