From 6519aa4ec4a164dc9801288136c0bfc34b3b3545 Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 27 Jan 2021 15:02:43 +0100 Subject: [PATCH] [aranea] i3 config: sync with changes from kanaya --- _local/aranea/.config/i3/config | 74 ++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/_local/aranea/.config/i3/config b/_local/aranea/.config/i3/config index a6c56b3..d7ce8ce 100644 --- a/_local/aranea/.config/i3/config +++ b/_local/aranea/.config/i3/config @@ -16,6 +16,9 @@ set $mod Mod4 set $OUTPUT1 eDP-1 set $OUTPUT2 DP2-3 +set $OUTPUT_LEFT $OUTPUT2 +set $OUTPUT_RIGHT $OUTPUT2 + # GENERAL SETTINGS # ~~~~~~~~~~~~~~~~ @@ -54,8 +57,7 @@ bar { #status_command i3status status_command py3status -c ~/.config/i3status/py3status.conf - # TODO primary? - tray_output $OUTPUT1 + tray_output primary tray_padding 0 colors { @@ -260,42 +262,45 @@ bindsym $mod+F11 workspace $WSf11 bindsym $mod+F12 workspace $WSf12 # ~~ Keybindings to move focused container to workspaces -bindsym $mod+Shift+grave move container to workspace number $WS0 -bindsym $mod+Shift+1 move container to workspace number $WS1 -bindsym $mod+Shift+2 move container to workspace number $WS2 -bindsym $mod+Shift+3 move container to workspace number $WS3 -bindsym $mod+Shift+4 move container to workspace number $WS4 -bindsym $mod+Shift+5 move container to workspace number $WS5 -bindsym $mod+Shift+6 move container to workspace number $WS6 -bindsym $mod+Shift+7 move container to workspace number $WS7 -bindsym $mod+Shift+8 move container to workspace number $WS8 -bindsym $mod+Shift+9 move container to workspace number $WS9 -bindsym $mod+Shift+0 move container to workspace number $WS10 -bindsym $mod+Shift+minus move container to workspace number $WS11 -bindsym $mod+Shift+equal move container to workspace number $WS12 +bindsym $mod+Shift+grave move container to workspace number $WS0; workspace $WS0 +bindsym $mod+Shift+1 move container to workspace number $WS1; workspace $WS1 +bindsym $mod+Shift+2 move container to workspace number $WS2; workspace $WS2 +bindsym $mod+Shift+3 move container to workspace number $WS3; workspace $WS3 +bindsym $mod+Shift+4 move container to workspace number $WS4; workspace $WS4 +bindsym $mod+Shift+5 move container to workspace number $WS5; workspace $WS5 +bindsym $mod+Shift+6 move container to workspace number $WS6; workspace $WS6 +bindsym $mod+Shift+7 move container to workspace number $WS7; workspace $WS7 +bindsym $mod+Shift+8 move container to workspace number $WS8; workspace $WS8 +bindsym $mod+Shift+9 move container to workspace number $WS9; workspace $WS9 +bindsym $mod+Shift+0 move container to workspace number $WS10; workspace $WS10 +bindsym $mod+Shift+minus move container to workspace number $WS11; workspace $WS11 +bindsym $mod+Shift+equal move container to workspace number $WS12; workspace $WS12 -bindsym $mod+Shift+F1 move container to workspace $WSf1 -bindsym $mod+Shift+F2 move container to workspace $WSf2 -bindsym $mod+Shift+F3 move container to workspace $WSf3 -bindsym $mod+Shift+F4 move container to workspace $WSf4 -bindsym $mod+Shift+F5 move container to workspace $WSf5 -bindsym $mod+Shift+F6 move container to workspace $WSf6 -bindsym $mod+Shift+F7 move container to workspace $WSf7 -bindsym $mod+Shift+F8 move container to workspace $WSf8 -bindsym $mod+Shift+F9 move container to workspace $WSf9 -bindsym $mod+Shift+F10 move container to workspace $WSf10 -bindsym $mod+Shift+F11 move container to workspace $WSf11 -bindsym $mod+Shift+F12 move container to workspace $WSf12 +bindsym $mod+Shift+F1 move container to workspace $WSf1; workspace $WSf1 +bindsym $mod+Shift+F2 move container to workspace $WSf2; workspace $WSf2 +bindsym $mod+Shift+F3 move container to workspace $WSf3; workspace $WSf3 +bindsym $mod+Shift+F4 move container to workspace $WSf4; workspace $WSf4 +bindsym $mod+Shift+F5 move container to workspace $WSf5; workspace $WSf5 +bindsym $mod+Shift+F6 move container to workspace $WSf6; workspace $WSf6 +bindsym $mod+Shift+F7 move container to workspace $WSf7; workspace $WSf7 +bindsym $mod+Shift+F8 move container to workspace $WSf8; workspace $WSf8 +bindsym $mod+Shift+F9 move container to workspace $WSf9; workspace $WSf9 +bindsym $mod+Shift+F10 move container to workspace $WSf10; workspace $WSf10 +bindsym $mod+Shift+F11 move container to workspace $WSf11; workspace $WSf11 +bindsym $mod+Shift+F12 move container to workspace $WSf12; workspace $WSf12 # ~~ Keybindings for moving focus/containers/workspaces between monitors -bindsym $mod+comma focus output left -bindsym $mod+period focus output right +bindsym $mod+comma focus output $OUTPUT_LEFT +bindsym $mod+period focus output primary +bindsym $mod+slash focus output $OUTPUT_RIGHT -bindsym $mod+Shift+comma move container to output left -bindsym $mod+Shift+period move container to output right +bindsym $mod+Shift+comma move container to output $OUTPUT_LEFT; focus output $OUTPUT_LEFT +bindsym $mod+Shift+period move container to output primary; focus output primary +bindsym $mod+Shift+slash move container to output $OUTPUT_RIGHT; focus output $OUTPUT_RIGHT -bindsym Control+$mod+comma move workspace to output left -bindsym Control+$mod+period move workspace to output right +bindsym Control+$mod+comma move workspace to output $OUTPUT_LEFT +bindsym Control+$mod+period move workspace to output primary +bindsym Control+$mod+slash move workspace to output $OUTPUT_RIGHT # APP-SPECIFIC WINDOW RULES @@ -322,6 +327,9 @@ for_window [class="^TelegramDesktop$" title="^Telegram"] floating enable assign [class="^Gajim$"] number $WS_com for_window [class="^Gajim$"] floating enable +# ~~ VS Code +for_window [class="^code-oss$"] layout tabbed + # ~~ Jetbrains IDE for_window [class="^jetbrains-"] layout tabbed for_window [class="^jetbrains-" title="Commit Changes"] floating disable