Zandr Martin
66caee645c
Merge branch 'master' into assign-command
9 years ago
Zandr Martin
b00feb25ea
trigger bg change on config reload
9 years ago
Zandr Martin
0f1859ed25
messy, unfinished version
9 years ago
Denis Doria
3c3e98b1a3
Merge branch 'master' into variables_corner_cases
9 years ago
Zandr Martin
3746542462
add documentation for client commands
9 years ago
Denis Doria
29eb3bf746
Put w to uppercase just to keep consistency between warnings
9 years ago
Denis Doria
bf2298e0a5
Includes $ for variables without it
9 years ago
thuck
f55b5a4982
Fix identation issue
9 years ago
thuck
e4f80877be
Fix output command when varible not set
...
This should fix the corner case where a variable is not assigned, but used anyway.
This should solve partially the issue #681 .
9 years ago
thuck
1ab3e1023e
Including error message when variable do not start with $
9 years ago
Denis Doria
b692a6d31a
Initial implementation for floating_maximum_size
9 years ago
Denis Doria
0ad7857f90
Included option floating_minimum_size
...
Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
9 years ago
Drew DeVault
3b1c125e18
Remove bar position left:right from docs
...
And adds a warning about using them (currently these are not supported
by swaybar).
9 years ago
Zandr Martin
d291a29f30
enforce workspace output assignents
...
when creating a new output, move to that output all extant workspaces
that are assigned to that output.
(unrelated) remove comment that was no longer applicable, fix spacing in
an assignment
9 years ago
Zandr Martin
7df38ce9da
remove alphabetic sorting from sort_workspaces
...
also add a couple missing spaces to container.c (unrelated)
9 years ago
Mykyta Holubakha
16dc31f33b
Concatenate output cmd args, fixes #654
9 years ago
Mykyta Holubakha
e73dde3b10
Support floating_scroll sideways
9 years ago
Mikkel Oscar Lyderik
c80ad015ff
Prevent changing layout when focusing float window
...
The layout command should only work with titled windows, thus it should
have no effect when a floating window has focus.
Should fix #643
9 years ago
Mykyta Holubakha
500ee0a731
Allow to set relative path for wallpapers in config
9 years ago
Mykyta Holubakha
0c495eecde
Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
9 years ago
Mykyta Holubakha
0423c41a0f
Implemented configurable floating scroll behavior
9 years ago
Raman Varabets
a9123c38b2
fix a typo (horiziontal -> horizontal)
9 years ago
Eric Engestrom
e53ba08626
sway: fix potential buffer overflow
9 years ago
Jasen Borisov
de007c9b58
Add input cmd for setting pointer accel profile.
9 years ago
Daniel Lockyer
5a7099eee0
sway/commands.c: add some free calls to release allocated memory
9 years ago
Drew DeVault
3be3867474
Fix oversight in ebdce71
9 years ago
Drew DeVault
ebdce719b4
Fix -Wunused-result problems
9 years ago
Mikkel Oscar Lyderik
1fb9489032
Fix bindcode by offsetting xkb keycode by 8
...
The bindcode has to be offset by 8 to match the keycode we get from wlc.
https://github.com/xkbcommon/libxkbcommon/blob/master/xkbcommon/xkbcommon.h#L160
9 years ago
Mikkel Oscar Lyderik
6c7ed7e7cb
Add title to nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik
3e1f78ab26
Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik
e226b20bd8
Reapply prev layout when exiting tabbed/stacked
9 years ago
Mikkel Oscar Lyderik
d26658fb35
Correctly determine default layout
9 years ago
Mikkel Oscar Lyderik
8d700fe008
Fix problems with floating windows
...
Makes any tabbed/stacked layout a container to separate from floating
windows which may be attached to a workspace.
9 years ago
Mikkel Oscar Lyderik
ec7ff769c7
Tabbed and stacked layout
9 years ago
Mykyta Holubakha
09d69f606a
Renamed pango_markup config options
9 years ago
Mykyta Holubakha
0f1cfdec61
Renamed to pango_markup
9 years ago
Mykyta Holubakha
53b53dd8c2
Added plaintext markup configuration
9 years ago
Kevin Hamacher
b6e2b6add9
Add border color commands
9 years ago
Eric Engestrom
3e8081514d
Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik
7be476c115
Add cmds new_window and new_float
...
Makes it possible to set default layout style for new windows and new
floating windows.
Close #556
9 years ago
Mikkel Oscar Lyderik
63474aa04d
Make pango: optional for bar font
9 years ago
Drew DeVault
4bf10d7771
Merge pull request #551 from mikkeloscar/window-borders
...
Implement Window borders
9 years ago
Mikkel Oscar Lyderik
948c594132
Allow surrounding spaces in mode name
...
This makes it possible to define a mode name with surrounding spaces if
so desired. e.g.:
mode " hello " { }
9 years ago
Mikkel Oscar Lyderik
5a13cb0ed1
Implement borders
...
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).
9 years ago
Mikkel Oscar Lyderik
3b05f92f76
Add border <none|normal|toggle|pixel> config
9 years ago
Mikkel Oscar Lyderik
86ea79ea6d
Implement parsing of hide_edge_borders
9 years ago
Mikkel Oscar Lyderik
da567317ab
Make pango: prefix optional for font config
9 years ago
Drew DeVault
eacf3d0396
Loosen restrictions on commands, update docs
...
Closes #531
9 years ago
Mikkel Oscar Lyderik
b5f34cc27d
Load correct config on reload
9 years ago
Mikkel Oscar Lyderik
71a5350b68
Implement include command
...
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
9 years ago