i3config 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. set $mod Mod4
  2. .
  3. font pango:monospace 8
  4. # Use pactl to adjust volume in PulseAudio.
  5. set $refresh_i3status killall -SIGUSR1 i3status
  6. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
  7. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
  8. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
  9. bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
  10. floating_modifier $mod
  11. bindsym $mod+Return exec i3-sensible-terminal
  12. bindsym $mod+Shift+q kill
  13. bindsym $mod+j focus left
  14. bindsym $mod+k focus down
  15. bindsym $mod+l focus up
  16. bindsym $mod+semicolon focus right
  17. bindsym $mod+Left focus left
  18. bindsym $mod+Down focus down
  19. bindsym $mod+Up focus up
  20. bindsym $mod+Right focus right
  21. bindsym $mod+Shift+j move left
  22. bindsym $mod+Shift+k move down
  23. bindsym $mod+Shift+l move up
  24. bindsym $mod+Shift+semicolon move right
  25. bindsym $mod+Shift+Left move left
  26. bindsym $mod+Shift+Down move down
  27. bindsym $mod+Shift+Up move up
  28. bindsym $mod+Shift+Right move right
  29. bindsym $mod+h split h
  30. bindsym $mod+v split v
  31. bindsym $mod+f fullscreen toggle
  32. bindsym $mod+s layout stacking
  33. bindsym $mod+w layout tabbed
  34. bindsym $mod+e layout toggle split
  35. bindsym $mod+Shift+space floating toggle
  36. bindsym $mod+space focus mode_toggle
  37. bindsym $mod+a focus parent
  38. set $ws1 "1"
  39. set $ws2 "2"
  40. set $ws3 "3"
  41. set $ws4 "4"
  42. set $ws5 "5"
  43. set $ws6 "6"
  44. set $ws7 "7"
  45. set $ws8 "8"
  46. set $ws9 "9"
  47. set $ws10 "10"
  48. bindsym $mod+1 workspace number $ws1
  49. bindsym $mod+2 workspace number $ws2
  50. bindsym $mod+3 workspace number $ws3
  51. bindsym $mod+4 workspace number $ws4
  52. bindsym $mod+5 workspace number $ws5
  53. bindsym $mod+6 workspace number $ws6
  54. bindsym $mod+7 workspace number $ws7
  55. bindsym $mod+8 workspace number $ws8
  56. bindsym $mod+9 workspace number $ws9
  57. bindsym $mod+0 workspace number $ws10
  58. bindsym $mod+Shift+1 move container to workspace number $ws1
  59. bindsym $mod+Shift+2 move container to workspace number $ws2
  60. bindsym $mod+Shift+3 move container to workspace number $ws3
  61. bindsym $mod+Shift+4 move container to workspace number $ws4
  62. bindsym $mod+Shift+5 move container to workspace number $ws5
  63. bindsym $mod+Shift+6 move container to workspace number $ws6
  64. bindsym $mod+Shift+7 move container to workspace number $ws7
  65. bindsym $mod+Shift+8 move container to workspace number $ws8
  66. bindsym $mod+Shift+9 move container to workspace number $ws9
  67. bindsym $mod+Shift+0 move container to workspace number $ws10
  68. bindsym $mod+Shift+c reload
  69. bindsym $mod+Shift+r restart
  70. 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'"
  71. # resize window (you can also use the mouse for that)
  72. mode "resize" {
  73. bindsym j resize shrink width 10 px or 10 ppt
  74. bindsym k resize grow height 10 px or 10 ppt
  75. bindsym l resize shrink height 10 px or 10 ppt
  76. bindsym semicolon resize grow width 10 px or 10 ppt
  77. bindsym Left resize shrink width 10 px or 10 ppt
  78. bindsym Down resize grow height 10 px or 10 ppt
  79. bindsym Up resize shrink height 10 px or 10 ppt
  80. bindsym Right resize grow width 10 px or 10 ppt
  81. bindsym Return mode "default"
  82. bindsym Escape mode "default"
  83. bindsym $mod+r mode "default"
  84. }
  85. bindsym $mod+r mode "resize"
  86. exec plainPanel