Commit Graph

19 Commits

Author SHA1 Message Date
John Mertz 7630ee5878 Take ownership of brightness file, if possible
Improve errors, if not.
2023-11-17 18:40:36 -07:00
John Mertz e0bba8eb86
Nerd font doesn't render \u200a width
Updated font, so just use a regular space instead.
2023-04-17 15:38:15 -04:00
John Mertz 2ff35c6d24
Tablet mode rotation script 2023-04-11 19:51:46 -04:00
John Mertz 823fa0e360
clean merge 2023-01-07 13:25:17 -05:00
John Mertz 6cbadb5d5d
ts4 2023-01-07 08:17:43 -05:00
John Mertz 6d33d9446f tabs->spaces 2023-01-06 14:41:31 -05:00
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 3d6195bbcb
Enhance kdb_backlight with sleep/restore function 2022-10-31 18:33:01 -04:00
John Mertz 58c03333a7
Update --bar formatting 2022-10-31 18:33:01 -04:00
John Mertz 8842d7a3b0
Int comparison typo 2022-10-31 18:32:58 -04:00
John Mertz 7876519667
Improve output for bar 2022-10-31 18:32:56 -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 c7cecdab75
Disable debugging from kbd backlight script 2022-10-31 18:32:54 -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 855d9ca492
Fetcher for Battery and Power status
Features outputs as JSON, simple output for status bar and notification-ready pretty formatting.
2022-10-31 18:32:49 -04:00
John Mertz a4f2b3310c
Kernel formatting 2022-10-31 18:32:47 -04:00
John Mertz e81c0311ed
toggle_output.sh was moved 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