summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Fix pointer scroll thing0.3Libravatar Drew DeVault2016-03-30
|
* Fix crashes with bordersLibravatar Drew DeVault2016-03-30
|
* Remove leftover comment0.2Libravatar Drew DeVault2016-03-30
|
* New feature: adjust gaps with floating_mod+scrollLibravatar Drew DeVault2016-03-30
| | | | | | | | | | I made this configurable but I didn't make the command for it. That's left as an exercise to an eager contributor. mod_scroll_behavior [gaps inner|gaps outer] Would merge implementions of more behaviors for mod+scroll, if anyone has some neato ideas.
* Merge pull request #551 from mikkeloscar/window-bordersLibravatar Drew DeVault2016-03-30
|\ | | | | Implement Window borders
| * Fix borders with floating windowsLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Update window title when it changesLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Mark focused view focus_inactive on unfocused outputLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Comment endiannessLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Implement bordersLibravatar Mikkel Oscar Lyderik2016-03-30
| | | | | | | | | | | | | | | | | | The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).
| * Add border <none|normal|toggle|pixel> configLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Implement parsing of hide_edge_bordersLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Make pango: prefix optional for font configLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Add default border colorsLibravatar Mikkel Oscar Lyderik2016-03-30
| |
| * Implement some more on bordersLibravatar Drew DeVault2016-03-30
| | | | | | | | | | Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
| * Window borders proof of conceptLibravatar Drew DeVault2016-03-30
| |
| * Initial setup of window border renderingLibravatar Drew DeVault2016-03-30
| | | | | | | | Please don't complain to me about the performance of this
* | Allow surrounding spaces in mode nameLibravatar Mikkel Oscar Lyderik2016-03-30
|/ | | | | | | This makes it possible to define a mode name with surrounding spaces if so desired. e.g.: mode " hello " { }
* Loosen restrictions on commands, update docsLibravatar Drew DeVault2016-03-27
| | | | Closes #531
* Update sway(1)Libravatar Drew DeVault2016-03-27
|
* Don't try to read config if not a file.Libravatar Mikkel Oscar Lyderik2016-03-26
|
* Add config path to error msgLibravatar Mikkel Oscar Lyderik2016-03-26
|
* Load correct config on reloadLibravatar Mikkel Oscar Lyderik2016-03-26
|
* Document include commandLibravatar Mikkel Oscar Lyderik2016-03-26
|
* Implement include commandLibravatar Mikkel Oscar Lyderik2016-03-26
| | | | | | | | | | | | | | | | | | | | The include command (`include <path>`) makes it possible to include sub config files from the main config file (or from within other sub config files). The include command uses the following rules for including config files: * the `path` can be either a full path or a path that is relative to the parent config. Shell expansion is supported, so it's possible to do `include ~/.config/sway.d/*`. * The same config file can only be included once (to prevent include cycles). If a config is included multiple times it will just be ignored after it has been included once. * Including a sub config file is the same as inserting the content of that file into the parent config, thus rules about overwriting bindsyms etc. works the same as for a single config. Implement #542
* Gracefully exit when config is not foundLibravatar Mikkel Oscar Lyderik2016-03-24
| | | | | This makes sure that sway will gracefully exit if the config is not found or sway is unable to read it.
* Make the nvidia warning louderLibravatar Drew DeVault2016-03-24
|
* Don't set WLC_DIM on startup0.1Libravatar Drew DeVault2016-03-24
|
* Update to new WLC APILibravatar Drew DeVault2016-03-24
|
* Merge pull request #525 from mikkeloscar/fix-clang-warningLibravatar Drew DeVault2016-03-20
|\ | | | | Use correct type for keycode
| * Use correct type for keycodeLibravatar Mikkel Oscar Lyderik2016-03-20
| |
* | Implement 'smart_gaps' feature from i3-gapsLibravatar Mikkel Oscar Lyderik2016-03-20
|/
* Make key handling less strictLibravatar Mikkel Oscar Lyderik2016-03-19
| | | | | | | | | | | | | | | | | | | | Sway has been very strict when it comes to key handling. Only on an exact match would a bindsym be triggered. This patch makes it less strict by for instance allowing the key combo `$mod+1+2` to act as `$mod+2` if 2 was the last pressed key and `$mod+1` if 1 was the last pressed key. The new key handling uses the following algorithm: 1. List of bindings sorted by number of keys in binding (already the default) 2. Find all bindings covered by the current keyboard state and list them by same order as in 1. 3. Select the first binding from the list where the last pressed key is part of the binding. Addresses #452
* Allow legal non-x11 keycodesLibravatar Mikkel Oscar Lyderik2016-03-19
|
* Add config option workspace_layoutLibravatar Mikkel Oscar Lyderik2016-03-19
| | | | | | | This implements the config parsing of `workspace_layout <default|stacking|tabbed>` http://i3wm.org/docs/userguide.html#_layout_mode_for_new_containers
* Don't strip quotes from exec argsLibravatar Mikkel Oscar Lyderik2016-03-18
| | | | | | | | | | | | | Before passing a command to a command handler the quotes are stripped from each argument in the command. This is usually the wanted behavior but causes a problem in the case of `exec` where quoted arguments can be required when passing the exec command to `/bin/sh -c`. This patch makes `exec` a special case and doesn't strip quotes from the arguments. It will just pass the exec command verbatim to the exec command handler. Fix #518
* Remove unused panel_size (and fix rearrange)Libravatar Mikkel Oscar Lyderik2016-03-17
| | | | | | | | | | | | desktop_shell.panel_size was only used to determine if sway should rearrange the output when rendering the panel in the output_pre_render hook. This is not needed since the output will have been arranged at that point. It also caused sway to rearrange all the time when running with two or more different monitors/resolutions because panel_size kept changing with every output_pre_render callback. Should fix #514
* Focus correct swaylock view in multimonitor setupLibravatar Mikkel Oscar Lyderik2016-03-17
| | | | | | | | | | | Swaylock spawns and focuses a view for each output in sway. This can sometimes move the focus to a new output after locking and unlocking the screens. This patch makes sure that the output which had focus when swaylock was invoked, will regain focus once swaylock is closed/unlocked. Fix #499
* Document swaybar commandsLibravatar Mikkel Oscar Lyderik2016-03-17
| | | | | | | | | | | | | | Documents most of the bar commands in sway-bar(5) manpage. The following command has not been document because they haven't been fully implemented yet: * mode * hidden_state * modifier * tray_output * tray_padding Close #375
* Schedule render when adding bg and panel.Libravatar Mikkel Oscar Lyderik2016-03-17
| | | | | | | | | This should be a real fix for #509 This schedules a render when a background or panel is added to sway through the desktop shell interface, that makes sure the render isn't scheduled before the bg or panel is ready and you don't end up with a black screen until the cursor is moved.
* Revert "Render outputs as soon as wlc is ready"Libravatar Mikkel Oscar Lyderik2016-03-17
| | | | This reverts commit 96458bf63c10a702797a8687e2f73d7814a6b079.
* Render outputs as soon as wlc is readyLibravatar Mikkel Oscar Lyderik2016-03-13
| | | | | | | | This makes sure that the outputs are rendered when sway is launched, so the user doesn't have to move the cursor before the background and bar gets rendered on screen. Fixes #509
* Remove focus when switching to empty workspaceLibravatar Mikkel Oscar Lyderik2016-03-05
| | | | Fix #504
* Merge pull request #502 from mikkeloscar/lock-reset-inputLibravatar Drew DeVault2016-03-04
|\ | | | | Reset input state when locking compositor
| * Reset input state when locking compositorLibravatar Mikkel Oscar Lyderik2016-03-04
| | | | | | | | Fix #498
* | Fix assigning workspaces to outputsLibravatar Mikkel Oscar Lyderik2016-03-04
|/ | | | | | | | | | | It's possible to assign workspaces to certain outputs using the command: workspace <name> output <output> However, this did not work in some cases where the workspace was assigned before the given output was made available to sway. This patch fixes those cases.
* Segregate between config and runtime cmds in docLibravatar Yacine Hmito2016-02-29
| | | | | | In anticipation for #375, reorganized and augmented slightly sway(5) so it makes a difference between commands intended for configuration, commands intended for control, and those that can serve as both.
* sway: rearrange the whole ws on lock view setupLibravatar progandy2016-02-28
|
* sway: set lock view to floating after ws switchLibravatar progandy2016-02-28
| | | | This avoids calling swayc_active_workspace.
* Correctly move focus from one output to a new one.Libravatar Mikkel Oscar Lyderik2016-02-28
| | | | | | | | | | | | This patch aims to correctly handle moving focus <left|right|up|down> between outputs. For instance, if moving from one output to a new output at the left of the current one, it should focus the right-most view/container on the new output, and the opposite if moving from right to left. This should happen regardless of the previously stored focus of the new output. This also handles moving to a new output above or below the current one.