summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-29 16:23:24 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-29 16:23:24 +0900
commita0628e3538d2a73c4f8f081b2e421129a02b293b (patch)
tree7a845b881691863e0b03adbbadc2af5de44eeb50
parent2f443bae9cbf11c8e2e3183c50c4b7cd21096605 (diff)
modified aerospace/aerospace.toml, modified sketchybar/sketchybarrc
-rw-r--r--mac/.config/aerospace/aerospace.toml5
-rwxr-xr-xmac/.config/sketchybar/sketchybarrc2
2 files changed, 6 insertions, 1 deletions
diff --git a/mac/.config/aerospace/aerospace.toml b/mac/.config/aerospace/aerospace.toml
index d34898f..8e88a2b 100644
--- a/mac/.config/aerospace/aerospace.toml
+++ b/mac/.config/aerospace/aerospace.toml
@@ -114,6 +114,7 @@ on-focus-changed = ['move-mouse window-lazy-center']
alt-d = 'exec-and-forget open -na Dbeaver'
alt-e = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "neomutt" -e env EDITOR="nvim -u ~/.config/nvim/init.lua" neomutt'
alt-shift-e = 'exec-and-forget open -na "Microsoft Outlook"'
+ alt-m = 'exec-and-forget open -na "YouTube Music"'
alt-o = 'exec-and-forget open -na Docker'
alt-r = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "htop" -e htop'
alt-s = 'exec-and-forget kitty -o close_on_child_death=yes -o confirm_os_window_close=0 --title "newsboat" -e newsboat'
@@ -281,6 +282,10 @@ if.app-id = 'com.apple.Music'
run = ['move-node-to-workspace 7']
[[on-window-detected]]
+if.app-id = 'com.github.th-ch.youtube-music'
+run = ['move-node-to-workspace 7']
+
+[[on-window-detected]]
if.app-id = 'com.apple.iCal'
run = ['move-node-to-workspace 8']
diff --git a/mac/.config/sketchybar/sketchybarrc b/mac/.config/sketchybar/sketchybarrc
index dac7306..6fbfb4b 100755
--- a/mac/.config/sketchybar/sketchybarrc
+++ b/mac/.config/sketchybar/sketchybarrc
@@ -179,7 +179,7 @@ sketchybar --add item music center \
label="Loading…" \
label.align=left \
label.max_chars=40 \
- update_freq=10 \
+ update_freq=1 \
script="$PLUGIN_DIR/youtube-music.sh" \
background.image.scale=0.9 \
background.image.corner_radius=8 \