mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-27 06:46:24 +01:00
Add keybind for current node's mode
This is an example of how to use dunst with sxhkd to show notifications on demand.
This commit is contained in:
parent
fdad3fe1fa
commit
30b1f57ebf
@ -195,4 +195,13 @@ alt + backslash
|
||||
alt + m
|
||||
wal -o ~/.config/wal/done.sh -i ~/Pictures/Wallpapers
|
||||
|
||||
# =====================
|
||||
# ======= dunst =======
|
||||
# =====================
|
||||
|
||||
# Get the current node's mode
|
||||
alt + n
|
||||
SXHKD_NODE=$(bspc query -T -n) && \
|
||||
notify-send "Current window $(echo $SXHKD_NODE | jq '.client.className') is in mode" "$(echo $SXHKD_NODE | jq '.client.state')"
|
||||
|
||||
# vim:ft=sxhkdrc
|
||||
|
Loading…
Reference in New Issue
Block a user