bindntr=CTRL,C,exec,hyprctl dispatch closewindow alacrittyclipboard & hyprctl activewindow | rg -q "class: Wfica" && alacritty -qq --config-file ~/.config/alacritty/alacrittyclipboard.toml --class 'alacrittyclipboard' --title 'Office365 Desktop - Nexus (SSL/TLS Secured, 256 bit)' -e sh -c 'sleep .03 && xclip -o | wl-copy'
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)
i’ve done it, I’ve finally figured out a workaround for this stupid bug that has existed on my system for the last 10 years. the citrix clipboard now works properly, this is the glueyest dumbest thing i’ve ever had to do and i’ve spent literally years trying to figure it out, turns out the wayland protocol forbids windows that don’t have focus from accessing the clipboard, so, i had to make a window, it had to be focused for enough time for it to be recognized and it was a whole thing. Here you go for anybody that needs it, should be relatively easy to adapt from hyprland over to whatever. Fuck.
Wish stackoverflow. Since they embraced enshittification I think this is the right place to post this.
Why? SO has no authwall, all its content is CC BY-SA, and its better indexed than Lemmy.
SO hasn’t (and legally cannot) lock their content up like reddit. You can email them and force them to send you their entire DB of content so you can fork it to create a mirror if they ever do actually become unusable.
Congrats on chasing down a decade-old bug!
Useless use of terminal.
Do you have any better suggestions?
What?
edit: oh, you’re talking about spawning alacritty. it’s just a window that’s easy to spawn with an arbitrary class ig. what would you use?
The real reason for alacritty is that it’s my terminal emulator of choice and it needed to run “xclip -o | wl-copy” while in focus, or the clipboard won’t update properly.