aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
AgeCommit message (Collapse)Author
2018-03-30Add default_orientation commandDrew DeVault
2018-03-29Implement modesDrew DeVault
2018-03-29Add swaybg_commandDrew DeVault
2018-03-29Add bar configuration commandsDrew DeVault
2018-02-24add config handlersTony Crisci
2018-02-24separate config directives and commandsTony Crisci
2018-02-24take seat param for handle_command and renameTony Crisci
2018-02-22basic layout commandTony Crisci
2018-02-14basic focus (without direction)Tony Crisci
2018-02-07separate seat get focus and seat get focus inactiveTony Crisci
2018-02-04basic focus overhaulTony Crisci
2018-01-30Implement workspacesDrew DeVault
2018-01-22commands: add 'reload' commandDominique Martinet
2018-01-21criteria cleanupTony Crisci
2018-01-21run all commands with focused container contextTony Crisci
2018-01-20basic command criteriaTony Crisci
2018-01-20add kill commandTony Crisci
2018-01-20seat config handler contextTony Crisci
2018-01-20input config handler contextTony Crisci
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2018-01-05config: add 'set' commandDominique Martinet
2018-01-05fix typos in comments/messages; add shutting down messageDominique Martinet
2018-01-05apply_input_config: restore previous `current_input_config`Dominique Martinet
This is important for freeing the proper one at end of block
2017-12-27binding configTony Crisci
2017-12-17seat fallback configTony Crisci
2017-12-16rename config apply cmdsTony Crisci
2017-12-16Merge branch 'wlroots' into feature/inputTony Crisci
2017-12-15xkb configTony Crisci
2017-12-14basic configurationTony Crisci
2017-12-12seat configurationTony Crisci
2017-12-12sway input deviceTony Crisci
2017-12-11input configTony Crisci
2017-12-06Merge branch 'wlroots' into output-configemersion
2017-12-06Add output configemersion
2017-12-05Add include commandemersion
2017-12-05Add minimal config subsystememersion
2017-12-04Add exec and exec_always commandsemersion
2017-11-22Invoke command handlers once parsedDrew DeVault
2017-11-22Add initial command subsystem (untested)Drew DeVault
Need to spin up the IPC server to test this
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Fire up the wlroots backend and run the event loopDrew DeVault
2017-10-08commands: fail when criteria match nothinglbonn
For whatever command, this probably was not intended by the user
2017-07-01Do not add empty policiesMykyta Holubakha
Policy allocation failure is non-fatal
2017-07-01Add the 'clipboard' command to set the clipboardnyorain
2017-06-07Implement Tray IconsCalvin Lee
This commit implements the StatusNotifierItem protocol, and enables swaybar to show tray icons. It also uses `xembedsniproxy` in order to communicate with xembed applications. The tray is completely optional, and can be disabled on compile time with the `enable-tray` option. Or on runtime with the bar config option `tray_output none`. Overview of changes: In swaybar very little is changed outside the tray subfolder except that all events are now polled in `event_loop.c`, this creates no functional difference. Six bar configuration options were added, these are detailed in sway-bar(5) The tray subfolder is where all protocol implementation takes place and is organised as follows: tray/sni_watcher.c: This file contains the StatusNotifierWatcher. It keeps track of items and hosts and reports when they come or go. tray/tray.c This file contains the StatusNotifierHost. It keeps track of sway's version of the items and represents the tray itself. tray/sni.c This file contains the StatusNotifierItem struct and all communication with individual items. tray/icon.c This file implements the icon theme protocol. It allows for finding icons by name, rather than by pixmap. tray/dbus.c This file allows for asynchronous DBus communication. See #986 #343
2017-06-06FreeBSD fixesjohalun
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
2017-04-29Support specifying fewer than 5 colorsDrew DeVault
This doesn't work, I'm not sure why. The color structs definitely get changed but if you specify fewer than 5, it renders with the defaults.
2017-04-26Implement no_focusDrew DeVault
Ref #2
2017-04-16Disambiguate get_*_policy() and get_*_policy_mask()Jerzi Kaminsky
2017-04-05Improve criteria handlingCalvin Lee
This commit changes how commands decide what container to act on. Commands get the current container though `current_container`, a global defined in sway/commands.c. If a criteria is given before a command, then the following command will be run once for every container the criteria matches with a reference to the matching container in 'current_container'. Commands should use this instead of `get_focused_container()` from now on. This commit also fixes a few (minor) mistakes made in implementing marks such as non-escaped arrows in sway(5) and calling the "mark" command "floating" by accident. It also cleans up `criteria.c` in a few places.