What does HackerNews think of wl-clipboard?

Command-line copy/paste utilities for Wayland

Language: C

> taking screenshots

There's plenty of tools for this. I wrote a light and simple one that shows a tiny thumbnail, [`shotman`](https://git.sr.ht/~whynothugo/shotman). But there's plenty others of all sorts.

> auto keyboard/mouse scripting with xdotool

There's a few tools for this: https://github.com/natpen/awesome-wayland#tools

> not have unnecessary mouse/keyboard to monitor delay

There's none that I can notice. Mice cursor are rendered with hardware support when available. Not sure what you reference is here.

> 4K fullscreen, windowed fullscreen and windowed gaming with nvidia drivers, for native and steam proton games

All this works on non-nvidia. I can't speak for nvidia, I'd suggest avoiding nvidia if you want to use Linux (or any other floss OS). Generally, nvidia on Linux isn't very pleasant.

> choosing to have vsync enabled or disabled in games

See this thread? https://www.reddit.com/r/swaywm/comments/ntszm9/how_can_i_ma...

I'm not 100% sure what you're asking.

> EDIT: I should another important one for me: xclip, read from and write to the clipboard in the command line

https://github.com/bugaevc/wl-clipboard

> xclip, read from and write to the clipboard in the command line

There's wl-clipboard with the commands wl-copy and wl-paste: https://github.com/bugaevc/wl-clipboard

Works flawless in my experience.

sway laptop user here (for almost 2 years I think?).

I spent a little while on this, but I migrated from i3, so I just ported every little section of my config bit by bit.

In terms of battery bar and other "bar" type things, I use waybar[0] which basically does all the things you'd expect by default (just install and it "works").

For multi-monitor, config, I initially setup with wdisplays[1] (think arandr for wayland) and then manually copied the positions into my sway config. Monitor positioning was the only thing I needed to setup (and telling it that one monitor was HDPI) and then all of the scaling and everything worked perfectly. This was my biggest selling point for wayland, I now get nice crisp fonts and application scaling works nicely (which was not the case with X).

volume control from the keyboard took no time, just a couple of extra lines.

There was some stuff to do with the clipboard (wl-clipboard[2]) and screenshots (grim[3] + slurp[4]) that required some setup, but again, just a few lines, and didn't take much mental load.

Oh and I needed to change my notifications daemon(dunst[5]), and chose to change my program launcher to one with a nicer interface and cleaner fonts (wofi[6]).

I think that's all the tweaking that I did. Oh, and I needed to do something with pipewire to sort out screensharing at the start, don't remember that too well though...

[0] https://github.com/Alexays/Waybar

[1] https://github.com/artizirk/wdisplays

[2] https://github.com/bugaevc/wl-clipboard

[3] https://github.com/emersion/grim

[4] https://github.com/emersion/slurp

[5] https://github.com/dunst-project/dunst

[6] https://hg.sr.ht/~scoopta/wofi