Commit Graph

285 Commits

Author SHA1 Message Date
John Mertz a4a6f9a6b8
Clean old file 2022-10-31 18:32:50 -04:00
John Mertz b754308a90
Move setup into function where it is required 2022-10-31 18:32:50 -04:00
John Mertz e88e59231f
Kodi no longer on Wireguard and requires (horrible) auth on LAN 2022-10-31 18:32:50 -04:00
John Mertz 3ace506009
Fix resolution of Sam, change new output mapping 2022-10-31 18:32:50 -04:00
John Mertz 4a6a59029d
Correct Fastnet hostname, add VNC shortcut to Mac 2022-10-31 18:32:50 -04:00
John Mertz 87a9d29298
Document thinkpad/pow.pl 2022-10-31 18:32:49 -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 4d2fbf6254
Togglable NetworkManager window for waybar using nmtui 2022-10-31 18:32:49 -04:00
John Mertz c419c8d2ed
Files were moved and updated. Deleting old. 2022-10-31 18:32:49 -04:00
John Mertz bbd69f5e73
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.
2022-10-31 18:32:48 -04:00
John Mertz 7fb00b5f09
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.
2022-10-31 18:32:48 -04:00
John Mertz 31fe7a032b
Simple script to toggle docked and detached output layouts 2022-10-31 18:32:48 -04:00
John Mertz aa7ac22226
Add quick switch between docked and detached displays to power menu 2022-10-31 18:32:48 -04:00
John Mertz 40bfe25606
Add description for stream-podcasts.pl and setup-wireguard.sh 2022-10-31 18:32:48 -04:00
John Mertz e93c37a639
Script to install wireguard and generate config 2022-10-31 18:32:47 -04:00
John Mertz 8f6199cd3d
Script to look up and stream today's podcasts 2022-10-31 18:32:47 -04:00
John Mertz a4f2b3310c
Kernel formatting 2022-10-31 18:32:47 -04:00
John Mertz b161ad6423
Updated documentation
Added README data for laptop function button scripts.

Fixed formatting for links and used bold instead of code formatting for script names.
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 4750ac31b3
Move toggle_outputs to sway directory
It is not specific to thinkpad hardware but it is specific to sway; this is more appropriate
2022-10-31 18:32:46 -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
John Mertz 8baad221bd
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.
2022-10-31 18:32:46 -04:00
John Mertz f8bc44a733
Updated for WireGuard, prevented reloading waybar on abort 2022-10-31 18:32:46 -04:00
John Mertz 0893074aa1
Change to wireguard IP 2022-10-31 18:32:45 -04:00
John Mertz 5b18c8d7f4
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
2022-10-31 18:32:45 -04:00
John Mertz ea6b7df307
Remove unnecessary debug line 2022-10-31 18:32:45 -04:00
John Mertz 93a185960f
Script to automatically update firefox since it's not great at doing
this on it's own
2022-10-31 18:32:45 -04:00
John Mertz 0a65577304
Updated docs, removed unneeded or duplicates 2022-10-31 18:32:45 -04:00
John Mertz e80233dd04
Intial commit of all current scripts 2022-10-31 18:32:44 -04:00
John Mertz 39788a2641
Initial Commit 2022-10-31 18:32:34 -04:00
John Mertz 9dd860332a Window transparency effecs 2022-09-23 22:37:07 -04:00
John Mertz 43da6f9a4a Clean up some unneeded variables 2022-09-23 18:26:56 -04:00
John Mertz d1907bfda4 clean up window titles 2022-09-23 18:25:32 -04:00
John Mertz be285ea48a Superseded by using wofi-wifi-menu.sh directly 2022-09-23 18:23:04 -04:00
John Mertz 6d2e0b8a3d Add a few icon options (still need a comprehensive list) 2022-09-23 18:19:51 -04:00
John Mertz 0fab30cc8e Increase icon size 2022-09-23 18:19:25 -04:00
John Mertz 22e3692d22 update flag file path to .spool 2022-09-23 18:07:29 -04:00
John Mertz 500c5f7c72 More robust gammastep applet 2022-09-23 18:07:06 -04:00
John Mertz 1dc14b5749 Bar argument in error output 2022-09-23 18:03:41 -04:00
John Mertz 0fb49f9e06 Generic power-menu.sh script for rofi/wofi depending on WM 2022-09-23 17:37:09 -04:00
John Mertz 95499d1130 Fix file path of cropped image 2022-09-22 14:32:39 -04:00
John Mertz 4a69e4e8d6 Script to rotate wallpaper 2022-09-22 14:32:09 -04:00
John Mertz 84ba87dcf8 Update wofi-alt-tab.sh 2022-09-22 13:48:43 -04:00
John Mertz ccdf61d77d Clean up unnecessary vars 2022-09-17 17:03:16 -04:00
John Mertz e5e520572b attribution 2022-09-17 17:03:01 -04:00
John Mertz 384fb1e69c Use sidebar config 2022-09-17 17:02:46 -04:00
John Mertz 8f81b5a594 Rename and give attribution 2022-09-17 17:00:11 -04:00
John Mertz b8bf5eb197 Wifi Menu
Slightly modified from https://github.com/fourstepper/wofi-wifi-menu
2022-09-17 16:26:39 -04:00
John Mertz 5c7f22bec7 Emoji picker
Slightly modified from https://github.com/dln/wofi-emoji in order to
always use wl-clip and use custom wofi style.css
2022-09-17 16:05:40 -04:00
John Mertz 1658999ba1 Track backlight brightness better to allow reverting (by screensaver, etc.) 2022-09-17 15:22:18 -04:00