Commit Graph

285 Commits

Author SHA1 Message Date
John Mertz b403d8987c Whitespace 2022-09-17 15:21:13 -04:00
John Mertz d8ae0c1c48 Track PID 2022-09-17 15:17:28 -04:00
John Mertz 2559d13d38 Prevent fork. Limits to one PID 2022-09-17 15:17:02 -04:00
John Mertz 3c059af401 Increase delay to give more time before deletion 2022-09-17 15:16:05 -04:00
John Mertz 586ce31d0d Inverted logic for log level validationd 2022-09-02 23:05:44 -06:00
John Mertz 3a3bfcd6a6 Enhance kdb_backlight with sleep/restore function 2022-09-02 22:47:44 -06:00
John Mertz 540dc56478 Gammastep waybar 2022-08-25 23:05:14 -06:00
John Mertz 1fe452828c Force GLES2
Update defaulted to Vulkan which isn't working
2022-08-23 11:59:45 -06:00
John Mertz bd0bbdb727 Update --bar formatting 2022-08-23 11:58:00 -06:00
John Mertz 922e3708c2 Add recursive enumeration of images
cleaned up some comments and one typo in ARG parsing
2022-07-25 22:27:47 -04:00
John Mertz 55c2a73737 Systemd Unit for wallpaper.pl 2022-07-25 18:43:35 -04:00
John Mertz c607015ade Refactor, add SystemD Journaling 2022-07-25 17:03:18 -04:00
John Mertz a08cfa4d96 Pureblack lockscreen 2022-07-23 03:59:03 -04:00
John Mertz 2933abcabb Update usage and add some TODO comments 2022-07-23 03:58:11 -04:00
John Mertz 3f54f5f4bc Implement signals
Minimum viable product. TERM closes gracefully, KILL just removes PID, and USR1 rotates immediately and restarts timer.

Other changes:
- Whitespace
- Implemented using lazy, excessive use of global variables. This needs to be improved.
- Comment blocks
2022-07-23 03:43:34 -04:00
John Mertz 3f07586ae9 Minor bugs
Cropping should be avoided if the image is the same size also, not just if it is smaller.
I was using a minimum of 2 outputs while testing on my desktop. Revert that to 1.
Remove trailing tabs.
2022-07-23 01:32:23 -04:00
John Mertz 4716ce55bc Wallpaper rotation script 2022-07-23 01:12:03 -04:00
John Mertz 6a75a61af8 Switch to 'model' instead of 'serial', clean display list 2022-07-21 17:15:21 -04:00
John Mertz 24da885f89 Update wofi-alt-tab.sh
formatting
2022-07-20 23:34:39 -04:00
John Mertz fc8df60b57 Testing wofi with alt-tab
Functional, but needs to be styled
2022-07-20 23:34:02 -04:00
John Mertz 539248ee70 Reboot prompt for updates
Experimenting with swanag stuff. Check if reboot is required, nag to reboot, include installed packages in details.
2022-07-20 23:11:59 -04:00
John Mertz 56a6299d4f Simple weather bar applet 2022-07-20 19:45:18 -04:00
John Mertz 145f239f4b Int comparison typo 2022-06-28 15:27:25 -04:00
John Mertz 2a5964a40f Socket Path 2022-06-07 08:05:45 -04:00
John Mertz 116b25449f Update paths 2022-06-06 13:59:08 -04:00
John Mertz ca8f77f26a Disable notification timeout 2022-06-06 13:58:30 -04:00
John Mertz 7e0f028611 Cleanup and update paths 2022-06-06 13:56:59 -04:00
John Mertz 339630a4a9 waybar-pkg wrapper for apt and rpm-ostree
move waybar-apt.sh to waybar-debian.sh and add
waybar-fedora-silverblue.sh

waybar-pkg checks the OS from /etc/os-release then forwards argument to
the correct script
2022-05-26 12:08:29 -04:00
John Mertz 63e4532950 Add waybar function for apt
Can fetch the current number of available package updates, then allow
installation by clicking.
2022-04-19 00:37:30 -04:00
John Mertz d93ba15571 Improve output for bar 2022-04-19 00:36:00 -04:00
John Mertz 51fa0fb452 Switch to TV as docked configuration 2022-04-19 00:34:54 -04:00
John Mertz f5d9cf9c98 Remove debugging. Test brightness effect (oled) 2022-04-19 00:34:12 -04:00
John Mertz b6a3ff4d5e Add lock functions to idle script 2022-04-19 00:26:56 -04:00
John Mertz 492f7c30ea Add TV to configurations 2022-04-19 00:25:29 -04:00
John Mertz 3802db3c96 Disable gtk2 notifications
Dependency resolution has become a nightmare. Need to rewrite with a
better supported library.
2022-04-19 00:24:18 -04:00
John Mertz 4c9a4b5eef Change terminal application to maintain floating windows 2022-04-19 00:23:29 -04:00
John Mertz 18b45c0d63 Fixed deprecated rofi theme option 2022-04-19 00:19:52 -04:00
John Mertz e3419b1252 Disable debugging from kbd backlight script 2022-04-19 00:18:33 -04:00
John Mertz e6986d01ad Sticky the pop-up terminal while present 2022-04-19 00:16:30 -04:00
John Mertz 57fc3be9e1 Add fallback bg, fix missing args, hide waybar
If no background arguement exists, use a fallback colour. If no scale or
transform argument exists use 1 and 0. Toggle off waybar on start (I
don't think this works properly)
2021-12-31 11:57:58 -05:00
John Mertz 82fd16e5cb 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.
2021-12-31 11:48:24 -05:00
John Mertz 27ba8ddd90 Ignore waybar toggle binary 2021-12-31 11:09:29 -05:00
John Mertz 244becbea4 Fix rofi theme
Version change. Theme can no longer be referenced inside the main config
2021-12-31 11:08:28 -05:00
John Mertz 1ad481be13 Rofi screen rotation prompt 2021-12-31 11:04:49 -05:00
John Mertz 14eca8df10 Additional waybar commands 2021-12-31 10:57:34 -05:00
John Mertz a2a365dfb2 Hack to support waybar autohide
Small C program to send hide signal to bar. Coordination script which
expects the C program to be compiled at scripts/waybar/toggle
2021-12-31 10:47:35 -05:00
John Mertz 549512fb94 Dynamic scale for Yoga
This is a big-ol hack. I should ideally just have an external file for
the configs which differs for each device.
2021-11-11 22:01:07 -05:00
John Mertz 05921b1d01 Rofi no longer supports Xresources config format 2021-08-31 14:15:12 -04:00
John Mertz 8e46f79ae8 Add sock and display id to allow non-attached execution
SWAYSOCK is now static so it can be referenced by all of the swaymsg
commands.

waybar now includes a static WAYLAND_DISPLAY declaration.

This allows for recovery/configuration via SSH as well as groundwork for
udev (un)docking rules.
2021-08-12 17:27:40 -04:00
John Mertz baba42bff9 Switch to Xterm for htop window 2021-08-11 18:41:22 -04:00