You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently noticed some strange flickering issues with one of my items, traced it back to the front_app_switched event firing multiple times when it shouldn't. Unsure if this is a personal config issue or an issue with SketchyBar, but wanted to open an issue anyways. If you need any additional information, please let me know. Thanks again!
System Information
SketchyBar v2.21.0
yabai v7.1.0
Config
sketchybarrc
#!/usr/bin/env bash# import colorssource"$CONFIG_DIR/colors.sh"# setting global variables
ITEMS_DIR="$CONFIG_DIR/items"
FONT_FAMILY="JetBrains Mono"
FONT_WEIGHT="Regular"
FONT_SIZE="12.0"export FONT="${FONT_FAMILY}:${FONT_WEIGHT}:${FONT_SIZE}"
BAR_PADDING=3
ITEM_PADDING=5
INTERNAL_PADDING=8
bar=(
color="$BAR_COLOR"
position=bottom
height=34
margin=0
padding_left="$BAR_PADDING"
padding_right="$BAR_PADDING"
topmost=window
sticky=off
shadow=off
)
sketchybar --bar "${bar[@]}"# default options
defaults=(
# geometry
padding_left="$ITEM_PADDING"
padding_right="$ITEM_PADDING"# background
background.color="$ITEM_COLOR"
background.border_color="0x00FFFFFF"
background.border_width=2
background.height=28
background.corner_radius=5
# icon
icon.padding_left="$INTERNAL_PADDING"
icon.padding_right="$INTERNAL_PADDING"
icon.color="$ICON_COLOR"
icon.highlight_color="$ICON_HIGHLIGHT"
icon.font="$FONT"# label
label.padding_left="$INTERNAL_PADDING"
label.padding_right="$INTERNAL_PADDING"
label.color="$LABEL_COLOR"
label.highlight_color="$LABEL_HIGHLIGHT"
label.font="$FONT"
)
sketchybar --default "${defaults[@]}"# add left side items# these have been commented out for debugging# source "$ITEMS_DIR/spaces.sh"# source "$ITEMS_DIR/layout.sh"source"$ITEMS_DIR/apps.sh"# final steps
sketchybar --hotload on
sketchybar --update
Thats odd. The only explanation I have for this is that for some reason alacritty steals focus because of something sketchybar (or a script invoked by it) does. Could you try running sketchybar from Terminal, kitty or some other terminal and via brew? Is the problem still there then?
Recently noticed some strange flickering issues with one of my items, traced it back to the
front_app_switched
event firing multiple times when it shouldn't. Unsure if this is a personal config issue or an issue with SketchyBar, but wanted to open an issue anyways. If you need any additional information, please let me know. Thanks again!System Information
Config
sketchybarrc
apps.sh
apps_plugin.sh
Screen Recording
Screen.Recording.2024-05-02.at.09.38.29-1.mov
Explanation:
The text was updated successfully, but these errors were encountered: