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
cefeb7a1
Commit
cefeb7a1
authored
Jul 12, 2022
by
Jay Ta'ala
Browse files
Fixes for move with workspace.
parent
7144a260
Changes
3
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
cefeb7a1
...
...
@@ -282,10 +282,6 @@ bindsym $mod++Shift+i exec --no-startup-id xprop -id $(xdotool getactivewindow)
bindsym $mod+q focus parent
bindsym $mod+e focus child
# navigate workspaces next / previous
bindsym $mod+Ctrl+h workspace prev
bindsym $mod+Ctrl+l workspace next
# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail
...
...
@@ -299,6 +295,10 @@ bindsym $mod+Ctrl+l workspace next
#set $ws7 number 7
#set $ws8 number 8
# navigate workspaces next / previous
bindsym $mod+Ctrl+h workspace prev
bindsym $mod+Ctrl+l workspace next
# switching back and forth
bindsym $mod+Tab workspace back_and_forth
bindsym $mod+Shift+Tab move container to workspace back_and_forth
...
...
@@ -310,7 +310,7 @@ bindsym $mod+2 workspace next
bindsym $mod+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -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: " -F 'move container to workspace number "%s"'
bindsym $mod+$mod_next+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with Workspace: \\" -F 'move container to workspace
number
\\"%s\\", workspace
number
\\"%s\\"'"
bindsym $mod+$mod_next+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with Workspace: \\" -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"'
# new iterative workspaces
...
...
i3/config.simple
View file @
cefeb7a1
...
...
@@ -65,15 +65,15 @@ workspace_layout tabbed
title_align center
# Configure border style <normal|1pixel|pixel xx|none|pixel>
for_window [class=".*"] $border_no
_name
for_window [class=".*"] $border_no
rmal
for_window [class=".*"] title_window_icon on
for_window [class=".*"] title_window_icon padding 3px
# i3-overview (https://github.com/milgra/i3-overview)
for_window [class="i3-overview"] floating enable
for_window [class="i3-overview"] sticky enable
no_focus [class="i3-overview"]
exec --no-startup-id i3-overview
#
# i3-overview (https://github.com/milgra/i3-overview)
#
for_window [class="i3-overview"] floating enable
#
for_window [class="i3-overview"] sticky enable
#
no_focus [class="i3-overview"]
#
exec --no-startup-id i3-overview
# focus_wrapping <yes|no|force|workspace>
# Legacy syntax: "force_focus_wrapping force"
...
...
@@ -253,10 +253,6 @@ bindsym $mod++Shift+i exec --no-startup-id xprop -id $(xdotool getactivewindow)
bindsym $mod+q focus parent
bindsym $mod+e focus child
# navigate workspaces next / previous
bindsym $mod+Ctrl+h workspace prev
bindsym $mod+Ctrl+l workspace next
# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail
...
...
@@ -270,6 +266,10 @@ bindsym $mod+Ctrl+l workspace next
#set $ws7 number 7
#set $ws8 number 8
# navigate workspaces next / previous
bindsym $mod+Ctrl+h workspace prev
bindsym $mod+Ctrl+l workspace next
# switching back and forth
bindsym $mod+Tab workspace back_and_forth
bindsym $mod+Shift+Tab move container to workspace back_and_forth
...
...
@@ -278,13 +278,17 @@ bindsym $mod+$mod_next+Tab move container to workspace back_and_forth; workspace
# switch to workspace
bindsym $mod+1 workspace prev
bindsym $mod+2 workspace next
bindsym $mod+3 exec --no-startup-id i3-input -f $i3inputfont -l 2 -P "Goto Workspace: " -F 'workspace %s'
bindsym $mod+3 exec --no-startup-id i3-input -f $i3inputfont -P "Go to Workspace (number): " -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: " -F 'move container to workspace number "%s"'
bindsym $mod+$mod_next+3 exec --no-startup-id "i3-input -f $i3inputfont -P \\"Move with Workspace: \\" -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"'
# new iterative workspaces
set $workspace_dynamic $(($(i3-msg -t get_workspaces | tr , '\n' | grep '\\"num\\":' | cut -d : -f 2 | sort -rn | head -1) + 1))
bindsym $mod+grave exec --no-startup-id "i3-msg workspace $workspace_dynamic"
bindsym $mod+Shift+grave exec --no-startup-id "i3-msg move container to workspace $workspace_dynamic"
bindsym $mod+$mod_next+grave exec --no-startup-id "i3-msg move container to workspace $workspace_dynamic, workspace $workspace_dynamic"
bindsym $mod+$mod_next+grave exec --no-startup-id "i3-msg move container to workspace $workspace_dynamic, workspace
number
$workspace_dynamic"
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace prev
...
...
@@ -365,7 +369,7 @@ bar {
bindsym button4 nop bindsym button5 nop
# font xft:URWGothic-Book 11
strip_workspace_numbers
yes
strip_workspace_numbers
no
colors {
#background #4a4a4a
...
...
vim/vimrc
View file @
cefeb7a1
" source defaults
so /usr/share/vim/vim
82
/defaults.vim
so /usr/share/vim/vim
90
/defaults.vim
" my settings
set number
...
...
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