c65aa362897247078927920afc42788a1d9388fb

Author
Pavle Portic <pavle.portic@tilda.center>
Committer
Pavle Portic <pavle.portic@tilda.center>
Date

Message

Make i3 maps dynamic and add move to output

Diff

 1diff --git a/dot_config/i3/config b/dot_config/i3/config
 2index 521d8590015d9ad074196bcb01f5a55920e7f021..b7ea0345d0452ed5b43529b1b17871b2b752a67e 100644
 3--- a/dot_config/i3/config
 4+++ b/dot_config/i3/config
 5@@ -26,10 +26,14 @@ set $color16	#d65d0e
 6 set $color17	#fe8019
 7 
 8 set $mod Mod4
 9+set $left h
10+set $up n
11+set $down e
12+set $right i
13 
14 # Font for window titles. Will also be used by the bar unless a different font
15 # is used in the bar {} block below.
16-font pango:Pragmata Pro, FontAwesome 11
17+font pango:Pragmata Pro, FontAwesome 12
18 
19 #class						background		border			text			split
20 client.focused				$color8			$color8			$foreground		$color7
21@@ -52,24 +56,22 @@ bindsym $mod+space exec "rofi -show drun"
22 bindsym $mod+BackSpace exec "rofi -show drun"
23 
24 # change focus
25-bindsym $mod+h focus left
26-bindsym $mod+n focus down
27-bindsym $mod+e focus up
28-bindsym $mod+i focus right
29-bindsym $mod+Left focus left
30-bindsym $mod+Down focus down
31-bindsym $mod+Up focus up
32-bindsym $mod+Right focus right
33+bindsym $mod+$left focus left
34+bindsym $mod+$down focus down
35+bindsym $mod+$up focus up
36+bindsym $mod+$right focus right
37 
38 # move focused window
39-bindsym $mod+Shift+h move left
40-bindsym $mod+Shift+n move down
41-bindsym $mod+Shift+e move up
42-bindsym $mod+Shift+i move right
43-bindsym $mod+Shift+Left move left
44-bindsym $mod+Shift+Down move down
45-bindsym $mod+Shift+Up move up
46-bindsym $mod+Shift+Right move right
47+bindsym $mod+Shift+$left move left
48+bindsym $mod+Shift+$down move down
49+bindsym $mod+Shift+$up move up
50+bindsym $mod+Shift+$right move right
51+
52+# move workspace to other outputs
53+bindsym $mod+Control+$left move workspace to output left
54+bindsym $mod+Control+$down move workspace to output down
55+bindsym $mod+Control+$up move workspace to output up
56+bindsym $mod+Control+$right move workspace to output right
57 
58 # split in horizontal orientation
59 bindsym $mod+c split h