CMD: get sway info

This commit is contained in:
2026-06-11 11:36:47 +02:00
parent cc3ac0d7b0
commit 668d605dcb
+15
View File
@@ -582,3 +582,18 @@ bin: vipw
bin: sudo
tag: system
tag: groups
aim: Check current keyboard layout on sway
cmd: swaymsg -t get_inputs --raw | jq -r '.[0].xkb_active_layout_name'
bin: sway
bin: jq
tag: keyboard
tag: locale
shell: sh
aim: Show name of currently selected app in sway
cmd: swaymsg -t get_tree | jq -C '.. | select(.type?) | select(.focused==true)'
bin: sway
bin: jq
tag: bar
shell: sh