#
# author: syl20bnr (2013), hlfbt (2024)
# goal: Focus the nth window in the current workspace (limited to 10 firsts)
# dependencies: i3ipc
#
# Example of usage in i3 config:
#
# bindsym $mod+0 exec i3-focus-nth.py -n 0
# bindsym $mod+1 exec i3-focus-nth.py -n 1
# ... ...
# bindsym $mod+8 exec i3-focus-nth.py -n 8
# bindsym $mod+9 exec i3-focus-nth.py -n 9
#