Commit Graph

326 Commits

Author SHA1 Message Date
John Mertz a2655a2ef4 Correct Fastnet hostname, add VNC shortcut to Mac 2021-07-27 01:20:28 -04:00
John Mertz 3731844d4d Document thinkpad/pow.pl 2021-07-27 01:17:23 -04:00
John Mertz a3a98abe23 Fetcher for Battery and Power status
Features outputs as JSON, simple output for status bar and notification-ready pretty formatting.
2021-07-27 01:11:42 -04:00
John Mertz e3b98b7aac Togglable NetworkManager window for waybar using nmtui 2021-07-27 01:05:13 -04:00
John Mertz 4af7235289 Files were moved and updated. Deleting old. 2021-01-17 22:03:13 -05:00
John Mertz 978a6aef4b A simulacrum of a functional swayidle script.
Working: A proper countdown to idle works and is cancelled on resume.
Displays are dimmed if possible at countdown start and restorted at
resume. The screens properly lock. The power to the displays is turned
off. The power is restore upon first resume. Layout and brightness
restored on unlock.

Known issue: Displays are not restored if the system idles again while
on lock screen. This shouldn't really happen and is a possible indicator
of tampering, which is kind of cool, but it's janky. Power needs to be
restored with the toggle_displays hotkey.
2021-01-17 21:54:21 -05:00
John Mertz 41ebb871d6 Default displays changed. Added fallback action.
If a config is selected for which the displays do not exist, either bail
or if in recovery mode, restore 'detached'. The latter was added in
anticipation of the swayidle script which will attempt to restore a
layout that may no longer be possible. Since swayidle disables dpms, it
must allow a backup display to come live if the last logged layout is
not possible.
2021-01-17 21:51:31 -05:00
John Mertz 35ee85f260 Simple script to toggle docked and detached output layouts 2021-01-17 21:49:54 -05:00
John Mertz 668c3269d9 Add quick switch between docked and detached displays to power menu 2021-01-17 21:48:20 -05:00
John Mertz da77896e0f Add description for stream-podcasts.pl and setup-wireguard.sh 2020-12-01 05:13:20 -05:00
John Mertz 5dfdf7085a Script to install wireguard and generate config 2020-12-01 05:06:41 -05:00
John Mertz 3cfa85d5e5 Script to look up and stream today's podcasts 2020-12-01 04:59:29 -05:00
John Mertz f10d944e17 Kernel formatting 2020-11-23 04:35:26 -05:00
John Mertz 806f3996f2 Updated documentation
Added README data for laptop function button scripts.

Fixed formatting for links and used bold instead of code formatting for script names.
2020-11-16 07:40:33 +00:00
John Mertz dc805e06d5 toggle_output.sh was moved 2020-11-16 02:31:52 -05:00
John Mertz 93731a44e2 Move toggle_outputs to sway directory
It is not specific to thinkpad hardware but it is specific to sway; this is more appropriate
2020-11-16 00:53:09 -05:00
John Mertz 895b9b5588 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
2020-11-15 23:55:20 -05:00
John Mertz dd6a04088f Better comments, prevent duplicate waybars
Generate a single config file. Multiple processes seems to have run into
a bug where waybar will restore killed bars.
2020-11-15 23:47:18 -05:00
John Mertz 7f41003cdc Updated for WireGuard, prevented reloading waybar on abort 2020-11-15 23:46:04 -05:00
John Mertz c1d609d8a2 Change to wireguard IP 2020-11-13 20:59:45 -05:00
John Mertz ed8c247372 Login scripts
Stores WM to last_login_gui file to allow for auto-login to the last
used GUI

Removes old log file, executes GUI with new one
2020-10-10 05:06:58 -04:00
John Mertz b99662e7c1 Remove unnecessary debug line 2020-10-10 04:44:51 -04:00
John Mertz a663dfb863 Script to automatically update firefox since it's not great at doing
this on it's own
2020-09-13 02:18:03 -04:00
John Mertz 38ef9f163f Updated docs, removed unneeded or duplicates 2020-09-11 11:05:15 -04:00
John Mertz ff98665a42 Intial commit of all current scripts 2020-09-11 11:00:39 -04:00
John Mertz 697cb9cf7a Initial Commit 2019-12-08 00:35:41 -05:00