Compare commits
8 commits
6cb10c6f3e
...
0439cefab3
| Author | SHA1 | Date | |
|---|---|---|---|
| 0439cefab3 | |||
| 5aaa88a547 | |||
| 725618446f | |||
| 7bf0f2e8ea | |||
| 99c487f0be | |||
| 8d9f31ad55 | |||
| 2ab33ea873 | |||
| e46bf99892 |
8 changed files with 14 additions and 8 deletions
|
|
@ -45,6 +45,8 @@
|
||||||
./modules/services/miniflux.nix
|
./modules/services/miniflux.nix
|
||||||
./modules/services/ssh.nix
|
./modules/services/ssh.nix
|
||||||
./modules/services/glance.nix
|
./modules/services/glance.nix
|
||||||
|
./modules/services/media/arr.nix
|
||||||
|
./modules/services/media/jellyfin.nix
|
||||||
|
|
||||||
./modules/network/avahi.nix
|
./modules/network/avahi.nix
|
||||||
./modules/network/vpn/tailscale.nix
|
./modules/network/vpn/tailscale.nix
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@
|
||||||
"signal"
|
"signal"
|
||||||
"soulseek"
|
"soulseek"
|
||||||
"whatsapp"
|
"whatsapp"
|
||||||
|
"musicbrainz-picard"
|
||||||
|
|
||||||
"the-unarchiver"
|
"the-unarchiver"
|
||||||
"linearmouse"
|
"linearmouse"
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@
|
||||||
newsflash
|
newsflash
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
zapzap
|
zapzap
|
||||||
|
picard
|
||||||
|
whipper
|
||||||
]) ++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
|
]) ++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
|
||||||
iina
|
iina
|
||||||
raycast
|
raycast
|
||||||
|
|
|
||||||
|
|
@ -71,3 +71,4 @@ output_path = '~/.cache/zsh_colours.sh'
|
||||||
[templates.fish-pure]
|
[templates.fish-pure]
|
||||||
input_path = './templates/pure.fish'
|
input_path = './templates/pure.fish'
|
||||||
output_path = '~/.config/fish/pure_colours.fish'
|
output_path = '~/.config/fish/pure_colours.fish'
|
||||||
|
post_hook = 'fish ~/.config/fish/pure_colours.fish'
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,4 @@ elif [ "$EASTERN_LANGUAGE" = "$KATANA" ]; then
|
||||||
ICON="🈴"
|
ICON="🈴"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sketchybar --set "$NAME" label="$LABEL" icon="$ICON"
|
sketchybar --set "$NAME" label="$LABEL" icon=""
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
SONG="$(osascript -e 'tell application "Music" to if player state is playing then artist of current track & " - " & name of current track')"
|
SONG="$(osascript -e 'tell application "Music" to if player state is playing then artist of current track & " - " & name of current track')"
|
||||||
|
|
||||||
if [[ "$(echo $SONG | wc -w | sed 's/ //g')" != "0" ]]; then
|
if [[ "$(echo $SONG | wc -w | sed 's/ //g')" != "0" ]]; then
|
||||||
sketchybar --set "$NAME" label="${SONG}" background.drawing=true icon.drawing=true
|
sketchybar --set "$NAME" label="${SONG}" drawing=true
|
||||||
else
|
else
|
||||||
sketchybar --set "$NAME" label="" background.drawing=false icon.drawing=false
|
sketchybar --set "$NAME" label="" drawing=false
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ping -c 1 1.1.1.1 &> /dev/null
|
ping -c 1 1.1.1.1 -t 15 &> /dev/null
|
||||||
|
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
sketchybar --set $NAME icon=
|
sketchybar --set $NAME icon= drawing=false
|
||||||
else
|
else
|
||||||
sketchybar --set $NAME icon=
|
sketchybar --set $NAME icon= drawing=true
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -79,14 +79,14 @@ sketchybar --add item music left \
|
||||||
click_script="osascript -e 'tell application \"Music\" to playpause'" \
|
click_script="osascript -e 'tell application \"Music\" to playpause'" \
|
||||||
background.padding_right=0 \
|
background.padding_right=0 \
|
||||||
background.padding_left=0 \
|
background.padding_left=0 \
|
||||||
background.drawing=false \
|
drawing=false \
|
||||||
scroll_texts=1 \
|
scroll_texts=1 \
|
||||||
label.max_chars=50 \
|
label.max_chars=50 \
|
||||||
label.scroll_duration=500 \
|
label.scroll_duration=500 \
|
||||||
background.color=$PRIMARY_COLOUR \
|
background.color=$PRIMARY_COLOUR \
|
||||||
icon.color=$BACKGROUND_COLOUR \
|
icon.color=$BACKGROUND_COLOUR \
|
||||||
label.color=$BACKGROUND_COLOUR \
|
label.color=$BACKGROUND_COLOUR \
|
||||||
icon.drawing=false
|
drawing=false
|
||||||
|
|
||||||
#
|
#
|
||||||
# Adding Right Items
|
# Adding Right Items
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue