aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-07-24 23:16:28 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-07-24 23:18:06 +0200
commit7dcad3424d8a0c668b97169511d5ae727c363061 (patch)
treeac7a47534d186bfa2e0ad17ae645aa3c895bc46e
parent8e0e84825f1d3efe3a2611eb1ae0aa5ef3bd85b5 (diff)
downloaddesktop-tools-7dcad3424d8a0c668b97169511d5ae727c363061.tar.gz
desktop-tools-7dcad3424d8a0c668b97169511d5ae727c363061.tar.xz
desktop-tools-7dcad3424d8a0c668b97169511d5ae727c363061.zip
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.
-rw-r--r--README.adoc6
-rw-r--r--wmstatus.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/README.adoc b/README.adoc
index 3c3d4d3..e4d78d2 100644
--- a/README.adoc
+++ b/README.adoc
@@ -5,9 +5,9 @@ desktop-tools
'desktop-tools' is a collection of tools to run my desktop that might be useful
to other people as well:
- - 'wmstatus' does literally everything my i3 doesn't but I'd like it to. It
- includes PulseAudio volume management and hand-written NUT and MPD clients,
- all in the name of liberation from GPL-licensed software of course
+ - 'wmstatus' does literally everything i3/sway don't but I'd like them to.
+ It includes PulseAudio volume management and custom-made NUT and MPD clients,
+ all in the name of liberation from GPL-licensed software, of course
- 'paswitch' displays a list of all PulseAudio sinks and ports and allows
switching between them, moving all playing inputs
- 'brightness' allows me to change the brightness of w/e display device I have
diff --git a/wmstatus.c b/wmstatus.c
index a02a0d1..c19d080 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -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>
*
@@ -2637,7 +2637,7 @@ main (int argc, char *argv[])
{ 'd', "debug", NULL, 0, "run in debug mode" },
{ 'h', "help", NULL, 0, "display this help 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",
OPT_OPTIONAL_ARG | OPT_LONG_ONLY,
"write a default configuration file and exit" },