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
6deba7f3
Commit
6deba7f3
authored
Dec 14, 2021
by
Jay Ta'ala
Browse files
Updated config.simple.
parent
3f02829c
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config.simple
View file @
6deba7f3
...
...
@@ -85,7 +85,10 @@ bindsym $mod+$mod_next+c exec --no-startup-id "killall picom"
# kill focused window
bindsym $mod+Shift+q kill
# start program launcher
# instant layout
# REQUIRES XDOTOOL
set $centre_mouse WINDOW=$(xdotool getactivewindow); eval `xdotool getwindowgeometry --shell $WINDOW`; W=`expr $WIDTH / 2`; H=`expr $HEIGHT / 2`; xdotool mousemove --window $WINDOW $W $H
bindsym $mod+grave exec --no-startup-id "$centre_mouse; i3-instant-layout --list | rofi -show-icons -sort -kb-row-up \\"Alt+k\\" -kb-row-down \\"Alt+j\\" -theme lb -theme-str '* { font: \\"Sans 16\\"; foreground: #ffffff; border-color: $accent-bg; separatorcolor: $accent-bg; selected-normal-background: $accent-bg; }' -dmenu -i | i3-instant-layout -
# start dmenu (a program launcher)
bindsym $mod_next+d exec dmenu_run -sb "$accent-bg"
...
...
@@ -104,6 +107,12 @@ bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# wasd focus
bindsym $mod+w focus up
bindsym $mod+a focus left
bindsym $mod+s focus down
bindsym $mod+d focus right
# master-stack keybinding (moves stack window to master and current master back to stack window)
# NOTE: requires 'jq'
#bindsym $mod+period focus parent, focus right, focus child
...
...
@@ -236,7 +245,6 @@ set $ws5 number 5:5
set $ws6 number 6:6
set $ws7 number 7:7
set $ws8 number 8:8
set $wsg number 0:`
set $wsc number 9:cache
# switch to workspace
...
...
@@ -248,11 +256,9 @@ bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+grave workspace $wsg
#bindsym $mod+c workspace $wsc
# Move focused container to workspace
bindsym $mod+Shift+grave move container to workspace $wsg
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
...
...
@@ -264,7 +270,6 @@ bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+c move container to workspace $wsc
# Move focused container to workspace, and switch to that workspace
bindsym $mod+$mod_next+grave move container to workspace $wsg; workspace $wsg
bindsym $mod+$mod_next+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+$mod_next+2 move container to workspace $ws2; workspace $ws2
bindsym $mod+$mod_next+3 move container to workspace $ws3; workspace $ws3
...
...
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