sxhkd: Clean up config

I don't need to query the current node's state anymore since I now
understand the differences between each node state and desktop layout
in bspwm.
This commit is contained in:
Donovan Glover 2018-10-21 21:38:44 -04:00
parent 2f4aa0e865
commit 2af72a066c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -31,11 +31,6 @@ alt + {z,space,backslash}
alt + slash alt + slash
rofi-pass rofi-pass
# Get the current node's state
alt + n
SXHKD_NODE=$(bspc query -T -n) && \
notify-send "Current window $(echo $SXHKD_NODE | jq '.client.className') is in a node with state" "$(echo $SXHKD_NODE | jq '.client.state')"
# ==================== # ====================
# ======= Node ======= # ======= Node =======
# ==================== # ====================
@ -60,6 +55,14 @@ super + {x,y}
super + {t,r,f,space} super + {t,r,f,space}
bspc node focused -t ~{tiled,pseudo_tiled,fullscreen,floating} bspc node focused -t ~{tiled,pseudo_tiled,fullscreen,floating}
# PRESELECT: The direction to create a new node
super + ctrl + {h,j,k,l,space}
bspc node -p {west,south,north,east,cancel}
# RATIO: The size of a new node
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# ======================= # =======================
# ======= Desktop ======= # ======= Desktop =======
# ======================= # =======================
@ -80,16 +83,4 @@ alt + a
super + c super + c
bspc desktop -l next bspc desktop -l next
# =====================
# ===== Preselect =====
# =====================
# Preselect where new nodes go
super + ctrl + {h,j,k,l,space}
bspc node -p {west,south,north,east,cancel}
# Preselect the ratio of new nodes
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# vim:ft=sxhkdrc # vim:ft=sxhkdrc