Commit Graph

6 Commits

Author SHA1 Message Date
John Mertz 508e3f0516
Track backlight brightness better to allow reverting (by screensaver, etc.) 2022-10-31 18:33:03 -04:00
John Mertz 675ba63687
Whitespace 2022-10-31 18:33:02 -04:00
John Mertz c74d63c577
Disable gtk2 notifications
Dependency resolution has become a nightmare. Need to rewrite with a
better supported library.
2022-10-31 18:32:55 -04:00
John Mertz b8cbbb330b
working notifications for blc
Not ideal. Requires manual installation of Gtk2::Notify which is no
longer packaged by Debian and has broken dependencies. Need to migrate
to a better notification library.

Migration was initially made to Gtk2::Notify because it allows for
replacing the content of an existing notification. No newer libraries
appear to support this in Perl.

This was the first "substantial" Perl program I've ever written; it may
become the first which is re-written in a better supported language.
2022-10-31 18:32:54 -04:00
John Mertz a4f2b3310c
Kernel formatting 2022-10-31 18:32:47 -04:00
John Mertz d8bfb5a38e
Thinkpad control scripts
SystemD unit file to give ownership or necessary sys files to user

toggle_outputs.sh simply swaps between two most common layouts with
sway/displays.pl

kbd_backlight.pl simply increments the current backlight brightness then
%3 to cycle between off, low, high

blc.pl is an overly complicated screen backlight control
2022-10-31 18:32:46 -04:00