Skip to content

How to make a floating, interactive bar in the bottom right corner? #2594

Closed Answered by Ashe
Ashe asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed with this

bar_type=$(grep -oP '"name": "\K[^"]+' "$config_path")


# Manage hyprland rules

if command -v hyprctl &>/dev/null; then
  hyprctl keyword layerrule unset,waybar
  if [ "$bar_type" != "float" ]; then
    hyprctl keyword layerrule blur,waybar
  fi
fi


# Restart waybar

pkill waybar
sleep 0.1
waybar > /dev/null 2>&1 &

and by remove mode from config.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ashe
Comment options

@Ashe
Comment options

Answer selected by Ashe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant