Basic structural nav example

main
Tait Hoyem 2 years ago
parent f2a17998a5
commit 8204055b88

@ -1,14 +1,26 @@
# This goes in /etc/swhkd/swhkdrc
# ! = consume key
# [XYZ] = only in mode XYZ; if not mode is specified, the hotkey is *always* used
# terminal
super + t
killall foot
! + [browse] + h
sohkctl "nextInTree" "role=Header"
! + [browse] + k
sohkctl "nextInTree" "role=Link"
! + [browse] + b
sohkctl "nextInTree" "role=Button"
! + [browse] + t
sohkctl "nextInTree" "role=Table"
! + [browse] + Shift + h
sohkctl "prevInTree" "role=Header"
! + [browse] + Shift + k
sohkctl "prevInTree" "role=Link"
! + [browse] + Shift + b
sohkctl "prevInTree" "role=Button"
! + [browse] + Shift + t
sohkctl "prevInTree" "role=Table"
[BrowseMode] + super + i
espeak-ng "test"
! + super + b
sohkmc "browse" "browse mode"
super + b
espeak-ng "browse mode" && sohkctl browsemode
super + f
espeak-ng "focus mode" && sohkctl focusmode
! + super + f
sohkmc "focus" "focus mode"

Loading…
Cancel
Save