Commit graph

1239 commits

Author SHA1 Message Date
Bastien Dejean
5e68419fae Revert "Simplify EWMH state toggling" 2015-12-08 20:46:54 +01:00
Bastien Dejean
0d985477c6 Fix off-by-one token pointer in restore_tree 2015-12-05 19:33:09 +01:00
Bastien Dejean
98e30c5fc2 Reject invalid modifiers 2015-11-29 18:57:52 +01:00
Bastien Dejean
8d7850a096 Remove non-significant characters from JSON output 2015-11-28 10:40:30 +01:00
Bastien Dejean
4fbd961311 Remove settings: auto_cancel and auto_alternate
auto_cancel can be emulated with:

	super + ctrl + {h,j,k,l}
		dir={left,down,up,right}; \
		cur=$(bspc query -T -w focused.!automatic | jshon -e splitDir -u 2>&-); \
		[ "$dir" = "$cur" ] && dir=cancel; \
		bspc window -p "$dir"

and auto_alternate with:

	super + {_,alt + }{1-9,0}
		kind={desktop,monitor}; \
		item="^{1-9,10}"; \
		bspc query --"$kind"s --"$kind" "$\{item\}.focused" > /dev/null && item=last; \
		bspc "$kind" -f "$item"
2015-11-26 20:13:05 +01:00
Bastien Dejean
d3166dd399 Add *focused* modifier to desktops and monitors 2015-11-26 20:07:46 +01:00
Bastien Dejean
512e9044e3 Allow modifiers on every selector 2015-11-25 13:59:56 +01:00
Bastien Dejean
f500e1b884 Packages: add Manjaro Linux 2015-11-23 18:08:08 +01:00
Bastien Dejean
ea6bee62c7 Update TODO 2015-11-23 12:20:55 +01:00
Bastien Dejean
f758829169 Regularize the layer modifiers 2015-11-23 10:40:10 +01:00
Bastien Dejean
390a6c1ee7 Update the documentation regarding query/restore 2015-11-22 22:16:17 +01:00
Bastien Dejean
ad8c102fa5 Fix num_clients restore format 2015-11-22 22:01:30 +01:00
Bastien Dejean
4bbd6842e6 Remove obsolete variable 2015-11-22 15:22:49 +01:00
Bastien Dejean
12c36bc9e2 Consolidate update_monitors
The two functions are mostly equivalent but the short version is more robust:
6d858a0fdb

Thanks to Jurica Vukadin who submitted this patch.

Fixes #321.
2015-11-22 15:03:18 +01:00
Bastien Dejean
5e9c8e068f Use JSON as the output format of query -T
It is now easy to access any attribute by piping the output of
`query -T` to a JSON extractor/filter.

E.g.:
	bspc query -T -d DESKTOP_SEL | jq -r .layout

And it also makes `restore -T` more robust.
2015-11-22 14:41:00 +01:00
Bastien Dejean
b8abebda1a Fix gcc warnings 2015-11-19 18:09:29 +01:00
Bastien Dejean
9c29c0892e Handle fullscreen state birth rotation
Fixes #319.
2015-11-19 15:08:54 +01:00
Bastien Dejean
518a242f40 Fix modifier in example sxhkdrc 2015-11-18 09:36:26 +01:00
Bastien Dejean
1482ef007b Fix *[!]occupied* modifier 2015-11-17 11:35:40 +01:00
Bastien Dejean
15dda1659e Simplify EWMH state toggling 2015-11-17 11:24:52 +01:00
Bastien Dejean
b18cae7ab4 Use field designators when initializing structures 2015-11-17 11:18:21 +01:00
Bastien Dejean
c493835829 Prevent potential memory leak 2015-11-17 11:13:25 +01:00
Bastien Dejean
26cf449414 Make the modifier notation compact and uniform
We want to avoid irregular notations: STATES and FLAGS should translate
directly into modifiers.
2015-11-17 11:02:06 +01:00
Bastien Dejean
4a93241329 Merge pull request #317 from guyhughes/fix-doc
Fix minor typos in docs
2015-11-17 08:44:25 +01:00
Guy Hughes
df869d8b5f docs nontiled window selector typo 2015-11-16 20:36:32 -05:00
Guy Hughes
4b360a0965 docs CONTRIBUTING typo 2015-11-16 20:36:04 -05:00
Bastien Dejean
a4a3a4d4aa Expand INSTALL.md 2015-11-16 10:57:04 +01:00
Bastien Dejean
188804b4ac Remove obsolete vim modeline 2015-11-16 09:57:00 +01:00
Bastien Dejean
431fd45ac6 Add README.md to Makefile 2015-11-16 09:54:32 +01:00
Bastien Dejean
35a13341d9 README: use relative links 2015-11-15 21:21:21 +01:00
Bastien Dejean
db85fa95c4 Add link to the examples directory 2015-11-15 21:16:36 +01:00
Bastien Dejean
0a5501c775 Rewrite README 2015-11-15 20:56:17 +01:00
Bastien Dejean
1795fbb78d Remove apply_floating_atom setting
It is trivial to emulate this setting by subscribing to events.
2015-11-13 12:10:39 +01:00
Bastien Dejean
619a491bbd Fix typos in manual 2015-11-13 12:07:48 +01:00
Bastien Dejean
0f1ee8180c Merge pull request #313 from nfnty/stack_leak
Fix stack_insert memory leak
2015-11-13 10:25:25 +01:00
Bastien Dejean
5e37730196 Merge branch 'icccm-input-focus' 2015-11-13 10:22:20 +01:00
nfnty
3d26201702 Fix stack_insert memory leak 2015-11-13 09:52:11 +01:00
Bastien Dejean
f650984185 Don't automatically alternate between states
Fixes #310.
2015-11-12 19:49:56 +01:00
Bastien Dejean
e8ee82c3a4 Fix discrepancy between query and restore format
This was a regression introduced by f28f334.
2015-11-12 14:03:37 +01:00
Bastien Dejean
56c8025e4d Try to honor ICCCM input focus policy 2015-11-11 23:01:54 +01:00
Bastien Dejean
54d9215f79 Initialize split_dir in make_node
Fixes #308.
2015-11-10 21:19:18 +01:00
Bastien Dejean
92bbc49a8b Fix pointer grabbing regression brought by f28f334 2015-11-10 08:43:19 +01:00
Bastien Dejean
f17cee7afd Merge pull request #305 from Vrakfall/master
Load sxhkd in example bspwmrc
2015-11-09 15:10:14 +01:00
Bastien Dejean
d98c3d17ae Document and homogenize subscriber events 2015-11-09 15:00:47 +01:00
Vrakfall
400cb3af69 Loads sxhkd at bspwm startup. 2015-11-09 02:55:14 +01:00
Bastien Dejean
6fb04695d1 Restore the tiled rectangles of nodes and clients 2015-11-07 15:14:00 +01:00
Bastien Dejean
22e0f6ce5b Add --activate to window 2015-11-07 12:21:13 +01:00
Bastien Dejean
ba973e8fdf Fix regression introduced by f28f334
(Set `tiled_rectangle` in `apply_layout`.)
2015-11-07 11:57:47 +01:00
Bastien Dejean
10f264a04c Update TODO 2015-11-07 11:17:18 +01:00
Bastien Dejean
8c710c6c4f Update TODO 2015-11-07 11:08:18 +01:00