Advertisement
Guest User

i3 conf

a guest
Mar 12th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. set $mod Mod4
  2.  
  3. font pango:monospace 10
  4.  
  5. for_window [window_type=normal] border pixel 2
  6.  
  7. floating_modifier $mod
  8.  
  9. bindsym $mod+Return exec kitty
  10.  
  11. bindsym $mod+backslash exec firefox
  12.  
  13. bindsym $mod+Shift+q kill
  14.  
  15. bindsym $mod+d exec rofi -show run
  16.  
  17.  
  18. exec_always xrdb -merge ~/.Xresources
  19. exec_always setxkbmap -option ctrl:nocaps
  20. exec_always xset r rate 350 35
  21.  
  22. exec_always xinput set-prop "SYNA2393:00 06CB:7A13 Touchpad" 279 1
  23. exec_always xinput set-prop "SYNA2393:00 06CB:7A13 Touchpad" 307 1
  24. exec_always xinput set-prop "SYNA2393:00 06CB:7A13 Touchpad" 315 1
  25. exec_always xinput set-prop "SYNA2393:00 06CB:7A13 Touchpad" 327 0.7
  26. exec_always xinput set-prop "USB Optical Mouse" 279 1
  27. exec_always xinput set-prop "USB Optical Mouse" 315 1
  28. exec_always xinput set-prop "USB Optical Mouse" 327 0.7
  29.  
  30. bindsym $mod+h focus left
  31. bindsym $mod+j focus down
  32. bindsym $mod+k focus up
  33. bindsym $mod+l focus right
  34.  
  35. bindsym $mod+Left focus left
  36. bindsym $mod+Down focus down
  37. bindsym $mod+Up focus up
  38. bindsym $mod+Right focus right
  39.  
  40. bindsym $mod+Shift+h move left
  41. bindsym $mod+Shift+j move down
  42. bindsym $mod+Shift+k move up
  43. bindsym $mod+Shift+l move right
  44.  
  45. bindsym $mod+Shift+Left move left
  46. bindsym $mod+Shift+Down move down
  47. bindsym $mod+Shift+Up move up
  48. bindsym $mod+Shift+Right move right
  49.  
  50. bindsym $mod+b split h
  51.  
  52. bindsym $mod+v split v
  53.  
  54. bindsym $mod+f fullscreen toggle
  55.  
  56. bindsym $mod+s layout stacking
  57. bindsym $mod+w layout tabbed
  58. bindsym $mod+e layout toggle split
  59.  
  60. bindsym $mod+Shift+space floating toggle
  61.  
  62. bindsym $mod+space focus mode_toggle
  63.  
  64. bindsym $mod+a focus parent
  65.  
  66. set $ws1 "1"
  67. set $ws2 "2"
  68. set $ws3 "3"
  69. set $ws4 "4"
  70. set $ws5 "5"
  71. set $ws6 "6"
  72. set $ws7 "7"
  73. set $ws8 "8"
  74. set $ws9 "9"
  75. set $ws10 "10"
  76.  
  77. bindsym $mod+1 workspace $ws1
  78. bindsym $mod+2 workspace $ws2
  79. bindsym $mod+3 workspace $ws3
  80. bindsym $mod+4 workspace $ws4
  81. bindsym $mod+5 workspace $ws5
  82. bindsym $mod+6 workspace $ws6
  83. bindsym $mod+7 workspace $ws7
  84. bindsym $mod+8 workspace $ws8
  85. bindsym $mod+9 workspace $ws9
  86. bindsym $mod+0 workspace $ws10
  87.  
  88. bindsym $mod+Shift+1 move container to workspace $ws1
  89. bindsym $mod+Shift+2 move container to workspace $ws2
  90. bindsym $mod+Shift+3 move container to workspace $ws3
  91. bindsym $mod+Shift+4 move container to workspace $ws4
  92. bindsym $mod+Shift+5 move container to workspace $ws5
  93. bindsym $mod+Shift+6 move container to workspace $ws6
  94. bindsym $mod+Shift+7 move container to workspace $ws7
  95. bindsym $mod+Shift+8 move container to workspace $ws8
  96. bindsym $mod+Shift+9 move container to workspace $ws9
  97. bindsym $mod+Shift+0 move container to workspace $ws10
  98.  
  99. bindsym $mod+Shift+c reload
  100. bindsym $mod+Shift+r restart
  101. bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
  102.  
  103. mode "resize" {
  104. bindsym h resize shrink width 2 px or 2 ppt
  105. bindsym j resize grow height 2 px or 2 ppt
  106. bindsym k resize shrink height 2 px or 2 ppt
  107. bindsym l resize grow width 2 px or 2 ppt
  108.  
  109. bindsym Left resize shrink width 2 px or 2 ppt
  110. bindsym Down resize grow height 2 px or 2 ppt
  111. bindsym Up resize shrink height 2 px or 2 ppt
  112. bindsym Right resize grow width 2 px or 2 ppt
  113.  
  114. bindsym Return mode "default"
  115. bindsym Escape mode "default"
  116. bindsym $mod+r mode "default"
  117. }
  118.  
  119. client.focused #000000 #ffaa11 #66aaff #000000
  120. client.focused_inactive #000000 #000000 #999999 #cccccc
  121.  
  122. gaps inner 10
  123. gaps outer 5
  124. smart_borders no_gaps
  125.  
  126. bindsym $mod+r mode "resize"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement