Brian Ashworth
2a0c7ebd43
cmd_bar: simplify logic
6 years ago
Brian Ashworth
84b28dc593
cmd_bar: fix bar id issues
...
Allows bar-subcommand to be a valid bar-ids
Destroys runtime created bar if trying to use a config only subcommand
Allow subcommands (except for id) to be ids
6 years ago
Brian Ashworth
00745d6280
Fix bar subcommand handler structs and selection
6 years ago
Ryan Dwyer
5e1983660d
Allow status_command to be disabled via IPC
6 years ago
sghctoma
073dcb3a86
Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma
cc16948c85
Fix feature macros for FreeBSD
...
On FreeBSD, snprintf and vsnprintf are visible only if
_XOPEN_SOURCE >= 600.
6 years ago
emersion
63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Brian Ashworth
8bfa2def88
Address first round of review for generic blocks
7 years ago
Brian Ashworth
7c810dc344
Make command block implementation generic
7 years ago
Drew DeVault
849c3515ab
Use statically allocated text buffer
7 years ago
Drew DeVault
bf7a4cd0eb
Add bar configuration commands
7 years ago
Drew DeVault
733993a651
Move everything to sway/old/
7 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
Drew DeVault
248df18c24
Handle allocation failure in commands
8 years ago
Zandr Martin
65ace5dec5
merge in latest commits
8 years ago
Zandr Martin
b374c35758
refactor commands.c
8 years ago