mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-22 10:19:39 +01:00
Use finalPackage pattern with wrapper so that people who don't use the service can benefit from the other options. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
27 lines
715 B
Bash
27 lines
715 B
Bash
#!/usr/bin/env bash
|
|
# Generated by home-manager
|
|
# Define colors
|
|
export COLOR_BLACK="0xff181926"
|
|
export COLOR_WHITE="0xffcad3f5"
|
|
|
|
# Configure bar
|
|
sketchybar --bar height=32 \
|
|
position=top \
|
|
padding_left=10 \
|
|
padding_right=10 \
|
|
color=$COLOR_BLACK
|
|
|
|
# Configure default values
|
|
sketchybar --default icon.font="SF Pro:Bold:14.0" \
|
|
icon.color=$COLOR_WHITE \
|
|
label.font="SF Pro:Bold:14.0" \
|
|
label.color=$COLOR_WHITE
|
|
|
|
# Add items to the bar
|
|
sketchybar --add item clock right \
|
|
--set clock script="date '+%H:%M'" \
|
|
update_freq=10
|
|
|
|
# Update the bar
|
|
sketchybar --update
|
|
|