set $mode_session session [s]elect [r]ename [f]latten bindsym $mod+s mode "$mode_session" mode "$mode_session" { bindsym s exec --no-startup-id ~/bin/way_select_session.py, mode "default" bindsym r exec --no-startup-id ~/bin/way_rename_workspace.py, mode "default" bindsym f exec --no-startup-id ~/bin/way_flatten_sessions.py, mode "default" bindsym Escape mode "default" bindsym Return mode "default" }