Launch swayidle and kanshi from systemd user session instead of via
sway's config. This way they bind to the sway-session target and s-
tart/stop automatically when sway is started/stopped. As a bonus,
they don't get launched again when you reload sway.
See: https://github.com/swaywm/sway/wiki/Systemd-integration
This is brilliant, except it causes the system to go to sleep also
after a period of inactivity. In many cases the machine would wake
up later with the internal display disabled, ugh. Now I just mana-
ge the displays using wdisplays.
I *never* activate tiling containers on purpose, and I don't know
how to get out of them other than closing all my windows and ope-
ning them again. Some kind redditers helped me figure out how to
undo this.
Selenized is a similar colorscheme to Solarized, but mapping to ANSI
color codes with less side effects. Note that the Selenized palatte
only has sixteen colors so we should tell vim to not attempt to make
a 256-color approximation.
https://github.com/jan-warchol/selenized/issues/65
I switched from Solarized to Selenized colorscheme and noticed some
things have changed in tmux and terminals since I last looked. For
starters, it seems that, if your terminal emulator is configured to
use the sixteen color ANSI palette with Selenized values, then you
should configure vim and other apps to use sixteen colors instead
of approximating "more" with 256. I will update my vim config to use
sixteen colors also.
Eventually, once all the systems I use have newer terminfo, I will
be able to set the TERM variable inside tmux to be "tmux" instead
of pretending to be screen. For now, at least CentOS 7 doesn't like
the "tmux" TERM value so I will leave this
See: https://github.com/jan-warchol/selenized/issues/65
When I moved my Apple Trackpad from USB to Bluetooth the previous
configuration didn't match anymore so we should actually just apply
it to all touchpads.
If I don't work on something for a few days it disappears from my
history, which is annoying when I try to search for commands using
Ctrl-R and then have to go look them up or write them from scratch
again.
Remote hosts that don't have alacritty in their terminfo database
show warnings when using programs like less. In one case I even had
an Ubuntu 18.04 server fail to complete its updates because of some
error related to locales caused by this.
wob is a Wayland overlay bar for things like sound and brightness
levels. It expects values to be between 0 and 100, which means we
need to use light instead of brightnessctl because the brightness
level is in lumens or something so it goes up to 1060 on my Think
Pad Carbon X1 Gen 6 and light represents it as a percentage. Also
we need to use pamixer instead of pactl because there is no simple
way to get the current volume with pactl.
See: https://github.com/francma/wob