Due to a recent bug, StumpWM crashes if the screen layout is
reorganized in its configuration file (maybe not just then, I’ll have
to check).
Thus, this commit removes calls to xrandr and autorandr from my WM
configurations and moves them to their respective xinitrc file. It
also removes the `set-screens` script in my scripts collection as it
became obsolete the moment I began using `autorandr` instead.
It also removes the call to `xsetroot` in my StumpWM config since it
is redundant with its xinitrc file.
Convert script `we` from fish to POSIX shell
Add two new scripts:
- stump-choose-city
- stump-weather
The former one sets the default city used for weather. The latter
generates the output used by StumpWM’s mode-line.
Autostart is now written in Bash.
Autostart now loads a module to automatically switch devices for
PipeWire/PulseAudio when a new one is connected.
Fix some issues with using "$@" instead of "$*"
See Shellcheck’s SC2148
This commit adds the net module at the fourth position on the right
side.
It also modifies the CPU module prefix to a Siji icon representing a
CPU.
`mu-unread' also outputs a Siji icon as its prefix instead of `Mail:'
By default, org-mode will add two spaces before code lines in the org
file itself. This does not change how code is edited when editing a
code block through `org-edit-special' but when copy/pasting code or
editing it directly from the org file, it can be troublesome.
Setting `org-src-preserve-indentation' to `t' prevents org from adding
these two spaces.
When downloading a whole channel, ytdl used to download everything
including playlists displayed on the user’s main page. Now, a check
is performed in order to verify if the URL passed is a channel, and
if it is only download the videos listed on their uploads page.
`set-pape' now find all files in $PAPESDIR, including subdirectories.
The way the wallpaper is randomly selected is also simplified, and the
script is now written in bash rather than in fish.
`select-pape' now writes to $HOME/.cache/wallpaper only when a wallpaper
is selected. Otherwise, nothing is done.