It turns out wmstatus works with sway as well

When Xwayland is running, that is.

There are a few issues, though, e.g. with the DPMS setting.
This commit is contained in:
Přemysl Eric Janouch 2021-07-24 23:16:28 +02:00
parent 8e0e84825f
commit 7dcad3424d
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@ desktop-tools
'desktop-tools' is a collection of tools to run my desktop that might be useful 'desktop-tools' is a collection of tools to run my desktop that might be useful
to other people as well: to other people as well:
- 'wmstatus' does literally everything my i3 doesn't but I'd like it to. It - 'wmstatus' does literally everything i3/sway don't but I'd like them to.
includes PulseAudio volume management and hand-written NUT and MPD clients, It includes PulseAudio volume management and custom-made NUT and MPD clients,
all in the name of liberation from GPL-licensed software of course all in the name of liberation from GPL-licensed software, of course
- 'paswitch' displays a list of all PulseAudio sinks and ports and allows - 'paswitch' displays a list of all PulseAudio sinks and ports and allows
switching between them, moving all playing inputs switching between them, moving all playing inputs
- 'brightness' allows me to change the brightness of w/e display device I have - 'brightness' allows me to change the brightness of w/e display device I have

View File

@ -1,5 +1,5 @@
/* /*
* wmstatus.c: simple PulseAudio-enabled status setter for dwm and i3 * wmstatus.c: simple PulseAudio-enabled status setter for dwm and i3/sway
* *
* Copyright (c) 2015 - 2021, Přemysl Eric Janouch <p@janouch.name> * Copyright (c) 2015 - 2021, Přemysl Eric Janouch <p@janouch.name>
* *
@ -2637,7 +2637,7 @@ main (int argc, char *argv[])
{ 'd', "debug", NULL, 0, "run in debug mode" }, { 'd', "debug", NULL, 0, "run in debug mode" },
{ 'h', "help", NULL, 0, "display this help and exit" }, { 'h', "help", NULL, 0, "display this help and exit" },
{ 'V', "version", NULL, 0, "output version information and exit" }, { 'V', "version", NULL, 0, "output version information and exit" },
{ '3', "i3bar", NULL, 0, "print output for i3bar instead" }, { '3', "i3bar", NULL, 0, "print output for i3bar/sway-bar instead" },
{ 'w', "write-default-cfg", "FILENAME", { 'w', "write-default-cfg", "FILENAME",
OPT_OPTIONAL_ARG | OPT_LONG_ONLY, OPT_OPTIONAL_ARG | OPT_LONG_ONLY,
"write a default configuration file and exit" }, "write a default configuration file and exit" },