Commit Graph

30 Commits

Author SHA1 Message Date
John Mertz 0cfe8d4079 Offload wallpaper script to systemd 2024-04-19 18:05:12 -06:00
John Mertz 0eb58077e6 Use XDG state directory instead of custom .spool 2024-03-08 12:11:04 -07:00
John Mertz ea1eb198c7 Write to .dotfiles instead of .config 2024-02-01 20:30:16 -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 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 671bc03816 Update displays.pl 2023-10-24 11:05: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 d120ccb9e9 Configurable waybar path, initialize with nix path 2023-07-16 14:53:24 -04:00
John Mertz ff4f9b43dc Sway and distrobox scripts 2023-01-17 11:18:30 -05:00
John Mertz 4c5cad9458 Add TODO 2023-01-09 17:55:31 -05:00
John Mertz ecd9920a37 Standardize and expand tab to 4 2022-12-29 12:37:33 -05:00
John Mertz c4bbf89f52 Increase scale for new terminal font size.
Maximum possible to fit 108 columns when vertically split 50/50, enough for 100 columns plus 8 for line numbers/git status
2022-12-29 12:36:53 -05:00
John Mertz 6759d36323 Update displays.pl 2022-11-04 11:05:12 -04:00
John Mertz 6a75a61af8 Switch to 'model' instead of 'serial', clean display list 2022-07-21 17:15:21 -04:00
John Mertz 7e0f028611 Cleanup and update paths 2022-06-06 13:56:59 -04:00
John Mertz 492f7c30ea Add TV to configurations 2022-04-19 00:25:29 -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 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 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 627ee855a7 Dump waybar config to semi-permanent destination
Since a previous change combined all displays into a single file, it is
no longer necessary to create many temporary configs. The latest config
can just be dumped to the standard path so that running `waybar` on it's
own will load it.
2021-08-11 18:05:30 -04:00
John Mertz be4b5bd30c Fix resolution of Sam, change new output mapping 2021-07-27 01:22:03 -04: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 f10d944e17 Kernel formatting 2020-11-23 04:35:26 -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 b99662e7c1 Remove unnecessary debug line 2020-10-10 04:44:51 -04:00
John Mertz ff98665a42 Intial commit of all current scripts 2020-09-11 11:00:39 -04:00