Commit Graph

158 Commits

Author SHA1 Message Date
John Mertz 20102a4006 Save power mode before sleep, set to power-saver, then restore 2024-08-18 13:06:26 -06:00
John Mertz b32759643a 'mode' command didn't actually work until now.
Also rotate mode if no argument is provided. This makes the rotate behaviour of waybar-idle.sh unnecessary.
2024-08-16 11:09:00 -06:00
John Mertz 60344ec940 Reload waybar by using restore_display.sh with -w
Pass arguments to display.pl inside restore_display.sh
2024-07-21 19:21:24 -06:00
John Mertz c2cb64efea Possible missing '/' in path 2024-07-18 22:48:21 -06:00
John Mertz 35755ecea7 Fix grave script!
TODO: Should probably convert to use AnyEvent::Sway
2024-07-18 22:46:46 -06:00
John Mertz 46247c9fa1 Script to set up plenv and then run displays.pl 2024-07-18 16:54:45 -06:00
John Mertz 0abcd17f22 Log current state to file (non-idle means that the state file does not exist)
Use existence of state file in new script to know whether to fade or unfade windows/notifications
2024-04-19 18:08:30 -06:00
John Mertz c0cb1ed8a7 (Un)hide mako notifications during (un)fade 2024-04-19 18:07:12 -06:00
John Mertz 0cfe8d4079 Offload wallpaper script to systemd 2024-04-19 18:05:12 -06:00
John Mertz fffbb5d5e0 Load cached outputs if none given
Fallback to all available outputs
2024-04-19 15:10:54 -06:00
John Mertz b0e1ead2b3 Log directly to STDOUT 2024-04-19 15:10:03 -06:00
John Mertz 7e43f9f600 Update PID file location to XDG state path 2024-04-19 15:05:30 -06:00
John Mertz 93c786f9e3 Don't skip opacity changes if prev_focused was killed 2024-03-08 12:45:19 -07:00
John Mertz c4964abe96 Erroneously checked for None on attribute instead of object 2024-03-08 12:33:32 -07:00
John Mertz cd4af99566 Prevent crash if prev_focus.id is None 2024-03-08 12:17:56 -07:00
John Mertz 0eb58077e6 Use XDG state directory instead of custom .spool 2024-03-08 12:11:04 -07:00
John Mertz 7a10a72476 Increase transparency slightly 2024-03-08 12:03:47 -07:00
John Mertz 6ef42310f1 Lock opacity for sticky windows 2024-03-08 12:03:16 -07:00
John Mertz db048cfe82 Fix ignore_mode. 'hibernate' not properly assigned 2024-03-08 11:59:21 -07:00
John Mertz 636be47198 Run display.pl with proper PATH 2024-03-08 11:58:45 -07:00
John Mertz 73501f0489 Daemonize swaylock to allow for subsequent actions 2024-02-22 11:06:07 -07:00
John Mertz ea1eb198c7 Write to .dotfiles instead of .config 2024-02-01 20:30:16 -07:00
John Mertz 74af6090d1 Require AnyEvent::Sway for wallpapers.pl 2024-01-31 22:40:04 -07:00
John Mertz 825bfbd804 Configure Carton for displays.pl 2024-01-31 21:22:30 -07:00
John Mertz 25e3e809b4 Whitespace 2024-01-21 21:14:43 -07:00
John Mertz b88b08cd10 Write wallpaper_outputs file and start wallpaper daemon 2024-01-21 21:14:15 -07:00
John Mertz fd73739229 Update to signatures and fix to 5.36 for Debian dependencies 2024-01-21 21:06:53 -07:00
John Mertz d686e64015
Deprecate x1 display and fix x13 in list 2024-01-21 20:12:03 -07:00
John Mertz 31e58f0693
Update available displays 2024-01-21 20:04:47 -07:00
John Mertz efda727106 Append to previous 2024-01-21 19:49:13 -07:00
John Mertz 1fff8e80bf Add refresh rate option
Bitrate for 4k@60 seems to be slightly too high, which causes artifacts and cut-outs. Lock to 30fps.
2024-01-21 19:47:35 -07:00
John Mertz 9a73102ab5 Fix last_display path, update toggle targets
No longer necessary to restart mako
2023-11-17 13:19:08 -07:00
John Mertz 5e556193ca Prevent mako notifications from appearing during idle 2023-11-17 13:18:06 -07:00
John Mertz e5b3acb5e4
Add selection mode for multiple matches, debugging, help, and 'all' mode 2023-11-13 14:44:16 -07:00
John Mertz 671bc03816 Update displays.pl 2023-10-24 11:05:50 -06:00
John Mertz a2719e8c43 Create simplified `flatpak run` script 2023-10-19 12:40:50 -06:00
John Mertz fbf1e353fa I have a new yoga, need disambiguation
Also add an 'all' which supports eDP-1 and Both
2023-10-05 18:39:09 +00:00
John Mertz 978daa7c10
Fix incorrect timeout vars 2023-07-21 17:06:24 -04:00
John Mertz b87527f8b0
Enhance idle options
Allow for calling idle with --ignore_mode to run an option beyond the
current sequence limit.

Allow 'dim' as it's own option.

Add 'lock' option to waybar script (and add it to source control in the
first place).

Simplify sequence logic by setting a numerical mode.

Improve help.
2023-07-20 22:07:23 -04:00
John Mertz 558b0e616d Increase opacity 2023-07-16 14:55:59 -04:00
John Mertz 9c691f3d79 rename debian12 -> debian 2023-07-16 14:55:13 -04:00
John Mertz d120ccb9e9 Configurable waybar path, initialize with nix path 2023-07-16 14:53:24 -04:00
John Mertz 59d1656021
Full transparency 2023-05-13 14:10:26 -04:00
John Mertz fafc92f6ce Move systemd services to .dotfiles 2023-04-20 18:14:16 -04:00
John Mertz 59f84d2092 Just re-enable displays rather than using displays.pl
No need to re-arrange windows/bars
2023-04-12 21:40:47 -04:00
John Mertz 6c466e6dc9
Switch `grave` pop-up terminal to use Alacritty
TODO:
- Need to update existing window detection to find 'Alacritty-grave'
app_id.
- Also switch to AnyEvent::Sway
2023-04-09 21:40:34 -04:00
John Mertz 71c0f653b8
Export service from Debian
distrobox-export --service

TODO: Need to fix non-interactive ENV to include PYENV_ROOT in path
2023-04-09 21:36:50 -04:00
John Mertz adb79d1bab
Reduce transparency slightly 2023-04-09 21:35:35 -04:00
John Mertz 2ef6def85f
Don't sleep while in hidernate inhibitor mode 2023-04-09 13:17:02 -04:00
John Mertz d9dfb30ca4
Merge
log old exec because I might need it
2023-01-17 11:25:05 -05:00