dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Floating windows

Open mesteryui opened this issue 1 year ago • 1 comments

I dont' know why I add the rules for do that nmtui and update.sh opens floatly and that doesn't happen

mesteryui avatar Oct 06 '24 15:10 mesteryui

Yep, I noted that before. The issue is that both nmtui and update.sh opens in kitty and i can't add a rule directly for kitty which would make all terminals to float. The approach I took was to find the title of both windows using 'hyprctl clients' and tried to only add rule for that But sadly that didn't work. I need to look into this. Thanks for opening this issue.

NotMugil avatar Oct 06 '24 17:10 NotMugil

I already solved it, you can do that the windows of kitty will open with a class, the only thing you need to is to set a hyprland rule for the rules of class float:

kitty -e nmuti --class float_kitty
windowrulev2 = class:^(float_kitty)$

mesteryui avatar Oct 19 '24 23:10 mesteryui