Commit Graph

6 Commits

Author SHA1 Message Date
Marty Oehme dfe8e03d66
Fix polybar hardcoding
Polybar restarting is now done through its provided ipc interface,
instead of relying on a hardcoded script on the system.

Previously, the system needed access to a `polybar-launch` script.
Now, it invokes the `polybar-msg` command which is provided by polybar
itself.

It is important that polybar has ipc enabled in its configuration for
the restart to work.
2020-12-22 11:25:51 +01:00
Marty Oehme 7ec6dc98c9
Fix utility sourcing
Utilities should always be sourced, even in the case that the processor
is not designated for any of the templates provided.
2020-02-15 15:25:20 +01:00
Marty Oehme 613707eb6e Refactor theme_xresources to new deafult template 2020-01-31 13:01:53 +01:00
Marty Oehme b64529c535 Fix xresources theme switch
Will now correctly add theme colors, even if not applying permanently.
Will also quietly restart polybar instead of polluting terminal output.
2020-01-31 01:00:48 +01:00
Marty Oehme 69e0be77d5 Attach polybar restart script to xresources 2020-01-31 00:54:10 +01:00
Marty Oehme 14c69c674b Add xresources theming
Xresources processor is very customized and not useable for default
Xresources deployment. It depends on Xresources being available as an
XDG-compliant directory in $XDG_CONFIG_HOME/xresources.

Future work on this processor should start from the default xresources
deployment and allow customization to change it (e.g. through stylerrc
file, setting custom options and paths per processor)
2020-01-31 00:24:21 +01:00