Little cleanup.

This commit is contained in:
2026-09-10 18:41:54 +01:00
parent 838773e153
commit 3a273d1ee8
4 changed files with 16 additions and 10 deletions
+4 -4
View File
@@ -103,24 +103,24 @@ end
end
end
bind 86 do |_, ws|
bind 86, :none do |_, ws|
next unless in_project?(ws)
n = (($current_project - 2) % MAX_PROJECTS) + 1
go_project(n, $current_sub)
end
bind 82 do |_, ws|
bind 82, :none do |_, ws|
next unless in_project?(ws)
n = ($current_project % MAX_PROJECTS) + 1
go_project(n, $current_sub)
end
bind 79 do |_, ws|
bind 79, :none do |_, ws|
next unless in_project?(ws)
go_project($current_project, ($current_sub + 1) % SUBS)
end
bind 80 do |_, ws|
bind 80, :none do |_, ws|
next unless in_project?(ws)
go_project($current_project, ($current_sub - 1 + SUBS) % SUBS)
end