Commit Graph

351 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 eacff1a815 support swaync
Playing around with new notification center. -e makes it not be stored in the notification history. --app-name causes different custom notifications not to stack
2024-07-21 19:20:08 -06:00
John Mertz c2cb64efea Possible missing '/' in path 2024-07-18 22:48:21 -06:00
John Mertz 242957774e Run restore_display.sh instead of individual commands 2024-07-18 22:47:42 -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 0e737d410f Make Logout actually log out 2024-07-18 16:53:38 -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 2be287ef9f Fix bash syntax for string matching 2024-03-08 12:00:51 -07:00
John Mertz 672daf8889 Remove wifi connection option from menu in favour of nm-applet 2024-03-08 12:00:08 -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 fcf2b91b7b More even background padding 2024-02-22 22:50:00 -07:00
John Mertz 73501f0489 Daemonize swaylock to allow for subsequent actions 2024-02-22 11:06:07 -07:00
John Mertz 7c3ba7cad8 Authenticator no longer requires pcscd restart to function 2024-02-22 11:03:58 -07:00
John Mertz ea1eb198c7 Write to .dotfiles instead of .config 2024-02-01 20:30:16 -07:00
John Mertz ef298a2e23 Run displays.pl from host using Carton libs 2024-02-01 20:29:37 -07:00
John Mertz e01d899666 Fix notification when /tmp/brightness-notification does not exist or is empty 2024-02-01 20:28:50 -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 1cd1f72809 Nicer waybar notifications (paired with .dotfiles commit) 2024-01-31 21:20:58 -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 1ae0279f42 Fix distrobox command 2024-01-21 19:43:25 -07:00
John Mertz 7630ee5878 Take ownership of brightness file, if possible
Improve errors, if not.
2023-11-17 18:40:36 -07:00
John Mertz 62e9b4b53d Fix tofi path 2023-11-17 13:25:58 -07:00
John Mertz d8c1953947 Fix `tofi` paths and arguments 2023-11-17 13:21:49 -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 d4e274c29a
File-based tofi menus
Also changed the snippet script to use this method
2023-11-14 14:10:53 -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