sync: from macOS

This commit is contained in:
js0ny 2024-12-01 07:07:57 +00:00
parent 9436322a73
commit 06ddd359a7
11 changed files with 113 additions and 10 deletions

View file

@ -17,7 +17,6 @@ PLUGIN_DIR="$CONFIG_DIR/plugins"
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
sketchybar --bar position=top height=40 blur_radius=30 color=0x40000000
##### Changing Defaults #####
# We now change some default values, which are applied to all further items.
# For a full list of all available item properties see:
@ -82,14 +81,22 @@ sketchybar --add item chevron left \
# volume is registered. More info about the event system can be found here:
# https://felixkratz.github.io/SketchyBar/config/events
sketchybar --add item clock right \
sketchybar --add item clock center \
--set clock update_freq=10 icon= script="$PLUGIN_DIR/clock.sh" \
--add item volume right \
--set volume script="$PLUGIN_DIR/volume.sh" \
--subscribe volume volume_change \
--add item battery right \
--set battery update_freq=120 script="$PLUGIN_DIR/battery.sh" \
--subscribe battery system_woke power_source_change
--subscribe battery system_woke power_source_change \
--add item apple_music right
sketchybar --add item music right
sketchybar --set music \
script="$PLUGIN_DIR/music.sh" \
update_freq=5 \
label.color=0xffd7ba7d \
background.corner_radius=5
##### Force all scripts to run the first time (never do this in a script) #####
sketchybar --update

View file

@ -33,3 +33,4 @@ shift + alt - e : \
shift + alt - i : \
yabai -m window --resize right:20:0 ; \
yabai -m window --resize left:20:0

View file

@ -31,13 +31,12 @@ yabai -m config \
window_animation_easing ease_out_circ \
window_opacity_duration 0.0 \
active_window_opacity 1.0 \
normal_window_opacity 0.90 \
window_opacity off \
normal_window_opacity 0.70 \
window_opacity on \
insert_feedback_color 0xffd75f5f \
split_ratio 0.50 \
split_type auto \
auto_balance off \
top_padding 12 \
bottom_padding 12 \
left_padding 12 \
right_padding 12 \
@ -48,4 +47,5 @@ yabai -m config \
mouse_action2 resize \
mouse_drop_action swap
echo "yabai configuration loaded.."