aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/smart_borders.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-01-13 12:06:35 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-01-13 12:06:35 -0500
commit50d36ef238182c33bca8dfc01dd56957e31ff6bd (patch)
tree9eaac98af416b7a0a46e70a254561bdb968dfe25 /sway/commands/smart_borders.c
parentd256182f492c3d8a6803fa2a5880b1283fbe1e4c (diff)
swaybar: allow identifiers for output and tray
This allows `bar output` and `bar tray_output` to specify an output identifier. Output names should still work as well. This parses the output identifier from the xdg_output description, which wlroots currently sets to `make model serial (name)`. Since this could change in the future, all identifier comparisons are guarded by NULL-checks in case the description cannot be parsed to an identifier.
Diffstat (limited to 'sway/commands/smart_borders.c')
0 files changed, 0 insertions, 0 deletions