savedra1 / clipse

Configurable TUI clipboard manager for Unix
MIT License
272 stars 10 forks source link

Not working in Hyprland with foot terminal #20

Closed cpnfeeny closed 5 months ago

cpnfeeny commented 5 months ago

Description

With foot terminal, the suggested Hyperland config doesn't work. No terminal will appear when entering the shortcut.

However, it works perfectly if I use alacritty instead.

Setup

hyprland.conf

exec-once = clipse -listen 
windowrulev2 = float,class:(floating)
bind = SUPER, B, exec, foot --class floating -e fish -c 'clipse $PPID'

System Info

NixOS 24.05 Hyprland 0.36.0 clipse 1.0.0 foot 1.16.2

HirschBerge commented 5 months ago

Looking at the manual are you sure that foot actually supports that like kitty or alacrity do? I don't see that as a given option. Maybe if you real the manual you'll find an alternative.

Also, having <terminal> --class in the readme assuming all terminals have the same implementation might not be the best way to do it.

savedra1 commented 5 months ago

Thanks for raising @cpnfeeny. Looks like someone from the Hl reddit found a workaround for using foot, see this comment.

Agreed @HirschBerge - I will get the advice updated.