Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
c6fcee72
Commit
c6fcee72
authored
Aug 05, 2022
by
Jay Ta'ala
Browse files
Removed unneeded bindsyms. Also, for workspace switching switched mod
and mod_next.
parent
71f24349
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
c6fcee72
...
...
@@ -299,24 +299,24 @@ set $ws8 number 8
set $ws9 number 9
# numbered workspace bindsyms
bindsym $mod
_next
+1 workspace $ws1
bindsym $mod
_next
+2 workspace $ws2
bindsym $mod
_next
+3 workspace $ws3
bindsym $mod
_next
+4 workspace $ws4
bindsym $mod
_next
+5 workspace $ws5
bindsym $mod
_next
+6 workspace $ws6
bindsym $mod
_next
+7 workspace $ws7
bindsym $mod
_next
+8 workspace $ws8
bindsym $mod
_next
+9 workspace $ws9
bindsym $mod
_next
+Shift+1 move container to workspace $ws1
bindsym $mod
_next
+Shift+2 move container to workspace $ws2
bindsym $mod
_next
+Shift+3 move container to workspace $ws3
bindsym $mod
_next
+Shift+4 move container to workspace $ws4
bindsym $mod
_next
+Shift+5 move container to workspace $ws5
bindsym $mod
_next
+Shift+6 move container to workspace $ws6
bindsym $mod
_next
+Shift+7 move container to workspace $ws7
bindsym $mod
_next
+Shift+8 move container to workspace $ws8
bindsym $mod
_next
+Shift+9 move container to workspace $ws9
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
# switching back and forth
bindsym $mod+Tab workspace back_and_forth
...
...
@@ -324,18 +324,14 @@ bindsym $mod+Shift+Tab move container to workspace back_and_forth
bindsym $mod+$mod_next+Tab move container to workspace back_and_forth; workspace back_and_forth
# dynamic workspace operations
bindsym $mod+1 workspace prev
bindsym $mod+2 workspace next
bindsym $mod+Shift+1 move container to workspace prev
bindsym $mod+Shift+2 move container to workspace next
bindsym $mod+$mod_next+1 move container to workspace prev; workspace next
bindsym $mod+$mod_next+2 move container to workspace prev; workspace next
bindsym $mod+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -l 2 -F 'workspace number "%s"'
bindsym $mod+Ctrl+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (name): " -F 'workspace "%s"'
bindsym $mod+Shift+3 exec --no-startup-id i3-input -f $i3inputfont -P "Move to Workspace (number): " -l 2 -F 'move container to workspace number "%s"'
bindsym $mod_next+1 workspace prev
bindsym $mod_next+2 workspace next
bindsym $mod_next+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -l 2 -F 'workspace number "%s"'
bindsym $mod_next+Ctrl+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (name): " -F 'workspace "%s"'
bindsym $mod_next+Shift+3 exec --no-startup-id i3-input -f $i3inputfont -P "Move to Workspace (number): " -l 2 -F 'move container to workspace number "%s"'
bindsym $mod+$mod_next+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with (number): \\" -l 2 -F 'move container to workspace number \\"%s\\", workspace number \\"%s\\"'"
bindsym $mod+$mod_next+Shift+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with (name): \\" -F 'move container to workspace \\"%s\\", workspace \\"%s\\"'"
bindsym $mod+4 exec --no-startup-id i3-input -f $i3inputfont -P "Rename Workspace: " -F 'rename workspace to "%s"'
bindsym $mod
_next
+4 exec --no-startup-id i3-input -f $i3inputfont -P "Rename Workspace: " -F 'rename workspace to "%s"'
# iterative workspace operations
set $workspace_dynamic $(($(i3-msg -t get_workspaces | tr , '\n' | grep '\\"num\\":' | cut -d : -f 2 | sort -rn | head -1) + 1))
...
...
i3/config.simple
View file @
c6fcee72
...
...
@@ -270,24 +270,24 @@ set $ws8 number 8
set $ws9 number 9
# numbered workspace bindsyms
bindsym $mod
_next
+1 workspace $ws1
bindsym $mod
_next
+2 workspace $ws2
bindsym $mod
_next
+3 workspace $ws3
bindsym $mod
_next
+4 workspace $ws4
bindsym $mod
_next
+5 workspace $ws5
bindsym $mod
_next
+6 workspace $ws6
bindsym $mod
_next
+7 workspace $ws7
bindsym $mod
_next
+8 workspace $ws8
bindsym $mod
_next
+9 workspace $ws9
bindsym $mod
_next
+Shift+1 move container to workspace $ws1
bindsym $mod
_next
+Shift+2 move container to workspace $ws2
bindsym $mod
_next
+Shift+3 move container to workspace $ws3
bindsym $mod
_next
+Shift+4 move container to workspace $ws4
bindsym $mod
_next
+Shift+5 move container to workspace $ws5
bindsym $mod
_next
+Shift+6 move container to workspace $ws6
bindsym $mod
_next
+Shift+7 move container to workspace $ws7
bindsym $mod
_next
+Shift+8 move container to workspace $ws8
bindsym $mod
_next
+Shift+9 move container to workspace $ws9
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
# switching back and forth
bindsym $mod+Tab workspace back_and_forth
...
...
@@ -295,18 +295,14 @@ bindsym $mod+Shift+Tab move container to workspace back_and_forth
bindsym $mod+$mod_next+Tab move container to workspace back_and_forth; workspace back_and_forth
# dynamic workspace operations
bindsym $mod+1 workspace prev
bindsym $mod+2 workspace next
bindsym $mod+Shift+1 move container to workspace prev
bindsym $mod+Shift+2 move container to workspace next
bindsym $mod+$mod_next+1 move container to workspace prev; workspace next
bindsym $mod+$mod_next+2 move container to workspace prev; workspace next
bindsym $mod+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -l 2 -F 'workspace number "%s"'
bindsym $mod+Ctrl+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (name): " -F 'workspace "%s"'
bindsym $mod+Shift+3 exec --no-startup-id i3-input -f $i3inputfont -P "Move to Workspace (number): " -l 2 -F 'move container to workspace number "%s"'
bindsym $mod_next+1 workspace prev
bindsym $mod_next+2 workspace next
bindsym $mod_next+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -l 2 -F 'workspace number "%s"'
bindsym $mod_next+Ctrl+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (name): " -F 'workspace "%s"'
bindsym $mod_next+Shift+3 exec --no-startup-id i3-input -f $i3inputfont -P "Move to Workspace (number): " -l 2 -F 'move container to workspace number "%s"'
bindsym $mod+$mod_next+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with (number): \\" -l 2 -F 'move container to workspace number \\"%s\\", workspace number \\"%s\\"'"
bindsym $mod+$mod_next+Shift+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with (name): \\" -F 'move container to workspace \\"%s\\", workspace \\"%s\\"'"
bindsym $mod+4 exec --no-startup-id i3-input -f $i3inputfont -P "Rename Workspace: " -F 'rename workspace to "%s"'
bindsym $mod
_next
+4 exec --no-startup-id i3-input -f $i3inputfont -P "Rename Workspace: " -F 'rename workspace to "%s"'
# iterative workspace operations
set $workspace_dynamic $(($(i3-msg -t get_workspaces | tr , '\n' | grep '\\"num\\":' | cut -d : -f 2 | sort -rn | head -1) + 1))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment