swayfx/sway
Alyssa Ross e4f1ffe601 commands/bar: improve error for invalid subcommand
Running a command like this produced a confusing error message:

    $ swaymsg bar bar-0 colors background #ff0000
    Error: Unknown/invalid command 'bar-0'

This patch makes the error message use argv[1] instead of argv[0] (from
config_subcommand's implementation), so it actually uses the name of the
command, rather than the id of the bar.
2019-05-19 11:47:16 -04:00
..
commands commands/bar: improve error for invalid subcommand 2019-05-19 11:47:16 -04:00
config Spawn swaybar as a wayland client 2019-05-12 11:02:42 +03:00
desktop Implement output toggle 2019-05-14 00:11:04 -04:00
input input/keyboard: attempt default keymap on failure 2019-05-14 08:23:26 -06:00
tree cmd_move: respect workspace layout when inserting 2019-04-24 19:12:24 -06:00
commands.c Add unbindswitch command 2019-04-17 23:29:43 -04:00
config.c Destroy swaybg client on reload 2019-05-04 09:06:43 +03:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Send disabled output available modes on IPC get_outputs 2019-04-16 00:16:20 -04:00
ipc-server.c Fix the payload type returned by IPC 2019-04-16 23:48:44 -04:00
main.c Remove extra inclusion of stdio.h 2019-04-27 20:53:21 -06:00
meson.build Implement output toggle 2019-05-14 00:11:04 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd Add unbindsym/unbindcode command for swaybar 2019-04-17 23:29:43 -04:00
sway-input.5.scd Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
sway-ipc.7.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway-output.5.scd Implement output toggle 2019-05-14 00:11:04 -04:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd Add infos to help using for_window to man 5 2019-05-14 10:40:22 -06:00
swaynag.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00