Commit Graph

7 Commits

Author SHA1 Message Date
John Mertz 77db7f3640
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.
2022-10-31 18:32:51 -04:00
John Mertz 3ace506009
Fix resolution of Sam, change new output mapping 2022-10-31 18:32:50 -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 a4f2b3310c
Kernel formatting 2022-10-31 18:32:47 -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 ea6b7df307
Remove unnecessary debug line 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