projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271181b
)
[sxhkd] add new definitions for super {p,s,f}
author
Amin Bandali
<me@aminb.org>
Thu, 24 Dec 2015 03:13:48 +0000
(22:13 -0500)
committer
Amin Bandali
<me@aminb.org>
Thu, 24 Dec 2015 03:13:48 +0000
(22:13 -0500)
bspc window -t doesn't toggle anymore, but only sets
sxhkd/.config/sxhkd/sxhkdrc
patch
|
blob
|
blame
|
history
diff --git
a/sxhkd/.config/sxhkd/sxhkdrc
b/sxhkd/.config/sxhkd/sxhkdrc
index
646653f
..
0669cfa
100644
(file)
--- a/
sxhkd/.config/sxhkd/sxhkdrc
+++ b/
sxhkd/.config/sxhkd/sxhkdrc
@@
-14,8
+14,10
@@
super + t
super + b
bspc desktop -B
-super + {s,f}
- bspc window -t {floating,fullscreen}
+super + {p,s,f}
+ state={pseudo_tiled,floating,fullscreen}; \
+ bspc query -W -w "focused.$\{state\}" && state=tiled; \
+ bspc window -t "$state"
super + {grave,Tab}
bspc {window,desktop} -f last