For the Shift+SUPER custom menu I wanted to be able to add some
copy and paste things which I don't want to have everywhere
especially not uploaded and stored in git.
Now it's possible to have a aditional menu-{hostname}.list
where you can put extra things for this specific host. I added
there things like:
Phone=echo "012345678" | wl-copy
because I often need this specific phone number and don't want to need
to start the Contacts app and search for the number and copy it.
I'm planning to add more host specific things.
I didn't like that if I pressed SUPER accidentally, I had to press
ESC which is somewhere compleatly different on the keyboard. This
way it's much easier to close tofi.
Sometimes I don't want the computer to go to sleep bacause I'm
running something in the background. for that I always used
systemd-inhibit sleep 999999 manually on the terminal, but I want
it to be easy to use without remembering the whole command every
time.
Therefor I added a custom button to waybar which does that for me.
Also to start it, for some reason it needs to be killed and
there needs to be a sleep, etc. to avoid some race conditions.
Therefor I added this weird shell script to start it.
Somehow it was annoying to have both rofi menus on the same key
because they did not open in the same order every time
so I had to read and look which one has opened this time
before I could start searching for what I was looking for.
When I have a Picture-in-Picture video I like to open it and float
it on top of everything so it's always visible. But when it becomes
inactive the background shines through like with all other inactive
windows. This patch makes the opacity to 1.0 so the background doesn't
shine through and it's easier to watch the video.
It felt always random where a new window would be opened, turns
out it was set to smart_split so it would check where tho mouse
cursor is and split to that side.
With this change it will always open right/bottom.