device-nokia-n900: various fixes and improvements to the user experience in i3wm
These changes are aimed at minor improvements and fixes to the user interface in i3wm:
-
Fixing WiFi signal quality in i3blocks (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/e3a9b867ae6180ce1226a5493353d6de864aa716).
/proc/net/wireless
no longer exists in the system. I don't know exactly when this happened. On my device it disappeared when I switched from kernel5.*
to6.*
. Now you can get the same information fromnmcli
. -
Added battery temperature information to i3blocks (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/e7c5eca2c345097b13256fc1a124b4f3ab1c9ac0).
I think this is useful, so you can see at least some information about the heating of the device.
-
Added volume control in alsamixer using the volume buttons via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/a060096b4abe8b614e9ae11aff29f133aa4486b9).
I tied the volume buttons to
amixer set PCM 5%+
andamixer set PCM 5%-
. -
Added hotkeys to create a screenshot with imagemagick via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/35007eaefd0e471634c74aad9294234ceed260ae).
I wrote a simple script
screenshot.sh
that usesimport
from imagemagick and creates a screenshot of the entire display in theScreenshot
folder in the user's home directory. This script also takes as parameters a different path to save the screenshot, as well as the display number of the X server. This is tied toShift+Ctrl+p
. -
Added hotkeys to change the brightness of the display backlight and keypad LEDs via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/968293603a3d55d1380fdff34d4c89d8bcd00bda).
I have written simple scripts
screen_brightness.sh
andkb_brightness.sh
that take as an argument the brightness intensity offset for the display and for the keyboard LEDs. Although these scripts are almost identical, I decided to separate them so that each of them would be responsible for its own function. This works through a separatemode "brightness"
wherew
ands
are responsible for the brightness of the display ande
andd
are responsible for the brightness of the keyboard LEDs.