you are viewing a single comment's thread
view the rest of the comments
[โ€“] 14 points 1 year ago* (last edited 1 year ago)

I have possibly the dumbest workaround to anything in history

bindntr=CTRL,C,exec,hyprctl activewindow | rg -q "class: Wfica" && ( sleep 0.02 && hyprctl closewindow class:alacrittyclipboard ; alacritty -qq --config-file ~/.config/alacritty/alacrittyclipboard.toml --class 'alacrittyclipboard' --title 'Office 365 Desktop (SSL/TLS Secured, 256 bit)' -e sh -c 'sleep 0.03 && xclip -o | copyq copy - ; copyq clipboard | xclip -i' ) & ( sleep 0.2 && closewindow class:alacrittyclipboard )

windowrulev2 = float,class:(alacrittyclipboard) 

windowrulev2 = stayfocused,class:(alacrittyclipboard) 

windowrulev2 = noborder,class:(alacrittyclipboard) 

windowrulev2 = noanim,class:(alacrittyclipboard) 

windowrulev2 = noblur,class:(alacrittyclipboard) 

windowrulev2 = opacity 0,class:(alacrittyclipboard) 

windowrulev2 = maxsize 1 1,class:(alacrittyclipboard) 

allow me to explain this monstrocity... the clipboard in citrix workspace is broken in a stupid way

it doesn't update the system clipboard unless you move focus away from the window... and out of focus windows can't update the clipboard for security reasons... this makes it so that if I hit ctrl c when citrix is open it opens a terminal window that's tiny, invisible and steals focus that essentially forces the clipboard to work.

nonsense hack, but it works

  • source