25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

348 satır
12 KiB

  1. # This file has been auto-generated by i3-config-wizard(1).
  2. # It will not be overwritten, so edit it as you like.
  3. #
  4. # Should you change your keyboard layout somewhen, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7. # i3 config file (v4)
  8. #
  9. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  10. set $mod Mod4
  11. set $mod2 Control
  12. set $left DP-0.3
  13. set $right DP-0.2
  14. set $lap DP-2
  15. # Font for window titles. Will also be used by the bar unless a different font
  16. # is used in the bar {} block below. ISO 10646 = Unicode
  17. #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  18. font pango:DejaVu Sans Mono 10
  19. # font pango:DejaVu Sans Mono 12
  20. # The font above is very space-efficient, that is, it looks good, sharp and
  21. # clear in small sizes. However, if you need a lot of unicode glyphs or
  22. # right-to-left text rendering, you should instead use pango for rendering and
  23. # chose a FreeType font, such as:
  24. # font pango:DejaVu Sans Mono 10
  25. # Use Mouse+$mod to drag floating windows to their wanted position
  26. floating_modifier $mod
  27. # start a terminal
  28. # bindsym $mod+Return exec i3-sensible-terminal
  29. bindsym $mod+Return exec alacritty
  30. # keepassxc
  31. bindsym $mod+k exec /home/hasufell/.local/bin/keepmenu
  32. # kill focused window
  33. bindsym $mod+$mod2+x kill
  34. # start dmenu (a program launcher)
  35. bindsym $mod+$mod2+t exec --no-startup-id rofi -show window
  36. bindsym $mod+Mod1+s exec --no-startup-id rofi -show run
  37. bindsym $mod+$mod2+s exec --no-startup-id rofi -show drun
  38. bindsym $mod+$mod2+l exec --no-startup-id systemctl suspend
  39. bindsym $mod+l exec --no-startup-id i3lock -c 000000
  40. # bindsym $mod+$mod2+d exec dmenu_run
  41. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  42. # bindsym $mod+d exec --no-startup-id xfce4-popup-whiskermenu
  43. # There also is the (new) i3-dmenu-desktop which only displays applications
  44. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  45. # installed.
  46. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  47. # change focus
  48. bindsym $mod+n focus left
  49. bindsym $mod+e focus down
  50. bindsym $mod+o focus up
  51. bindsym $mod+i focus right
  52. # alternatively, you can use the cursor keys:
  53. bindsym $mod+Left focus left
  54. bindsym $mod+Down focus down
  55. bindsym $mod+Up focus up
  56. bindsym $mod+Right focus right
  57. # alternatively, you can use the cursor keys:
  58. bindsym $mod+$mod2+Left move left
  59. bindsym $mod+$mod2+Down move down
  60. bindsym $mod+$mod2+Up move up
  61. bindsym $mod+$mod2+Right move right
  62. bindsym $mod+$mod2+n move left
  63. bindsym $mod+$mod2+e move down
  64. bindsym $mod+$mod2+o move up
  65. bindsym $mod+$mod2+i move right
  66. # split in horizontal orientation
  67. bindsym $mod+h split v
  68. # split in vertical orientation
  69. bindsym $mod+v split h
  70. # enter fullscreen mode for the focused container
  71. bindsym $mod+Mod1+f fullscreen
  72. # change container layout (stacked, tabbed, toggle split)
  73. bindsym $mod+s layout stacking
  74. bindsym $mod+Mod1+w layout tabbed
  75. bindsym $mod+t layout toggle split
  76. # toggle tiling / floating
  77. bindsym $mod+$mod2+space floating toggle
  78. # change focus between tiling / floating windows
  79. bindsym $mod+space focus mode_toggle
  80. # focus the parent container
  81. bindsym $mod+a focus parent
  82. # focus the child container
  83. #bindsym $mod+d focus child
  84. # workspace layout
  85. workspace_layout tabbed
  86. # program specific workspaces
  87. assign [class="Steam"] number 10
  88. #assign [class="Firefox"] 2
  89. #assign [class="Thunderbird"] 1
  90. assign [class="Pidgin"] number 2
  91. assign [class="Mumble"] number 2
  92. # workspace to monitor mapping
  93. workspace 1 output $left
  94. workspace 2 output $right
  95. workspace 3 output $left
  96. workspace 4 output $right
  97. workspace 5 output $left
  98. workspace 6 output $right
  99. workspace 7 output $left
  100. workspace 8 output $right
  101. workspace 9 output $left
  102. workspace 10 output $lap
  103. # workspace cycling
  104. # bindsym $mod+Tab workspace next
  105. # bindsym $mod+$mod2+Tab workspace prev
  106. bindsym $mod+Tab [con_mark=_prevFocus0] focus
  107. bindsym $mod+$mod2+Tab [con_mark=_prevFocus2] focus
  108. # switch to workspace
  109. bindsym $mod+1 workspace number 1
  110. bindsym $mod+2 workspace number 2
  111. bindsym $mod+3 workspace number 3
  112. bindsym $mod+4 workspace number 4
  113. bindsym $mod+5 workspace number 5
  114. bindsym $mod+6 workspace number 6
  115. bindsym $mod+7 workspace number 7
  116. bindsym $mod+8 workspace number 8
  117. bindsym $mod+9 workspace number 9
  118. bindsym $mod+0 workspace number 10
  119. bindsym $mod+q workspace number 1
  120. bindsym $mod+d workspace number 2
  121. bindsym $mod+r workspace number 3
  122. bindsym $mod+w workspace number 4
  123. bindsym $mod+b workspace number 5
  124. bindsym $mod+j workspace number 6
  125. bindsym $mod+f workspace number 7
  126. bindsym $mod+u workspace number 8
  127. bindsym $mod+p workspace number 9
  128. bindsym $mod+colon workspace number 10
  129. bindsym $mod+KP_End workspace number 1
  130. bindsym $mod+KP_Down workspace number 2
  131. bindsym $mod+KP_Next workspace number 3
  132. bindsym $mod+KP_Left workspace number 4
  133. bindsym $mod+KP_Begin workspace number 5
  134. bindsym $mod+KP_Right workspace number 6
  135. bindsym $mod+KP_Home workspace number 7
  136. bindsym $mod+KP_Up workspace number 8
  137. bindsym $mod+KP_Prior workspace number 9
  138. bindsym $mod+KP_Insert workspace number 10
  139. workspace_auto_back_and_forth yes
  140. # move focused container to workspace
  141. bindsym $mod+$mod2+1 move container to workspace number 1
  142. bindsym $mod+$mod2+2 move container to workspace number 2
  143. bindsym $mod+$mod2+3 move container to workspace number 3
  144. bindsym $mod+$mod2+4 move container to workspace number 4
  145. bindsym $mod+$mod2+5 move container to workspace number 5
  146. bindsym $mod+$mod2+6 move container to workspace number 6
  147. bindsym $mod+$mod2+7 move container to workspace number 7
  148. bindsym $mod+$mod2+8 move container to workspace number 8
  149. bindsym $mod+$mod2+9 move container to workspace number 9
  150. bindsym $mod+$mod2+0 move container to workspace number 10
  151. bindsym $mod+$mod2+q move container to workspace number 1
  152. bindsym $mod+$mod2+d move container to workspace number 2
  153. bindsym $mod+$mod2+r move container to workspace number 3
  154. bindsym $mod+$mod2+w move container to workspace number 4
  155. bindsym $mod+$mod2+b move container to workspace number 5
  156. bindsym $mod+$mod2+j move container to workspace number 6
  157. bindsym $mod+$mod2+f move container to workspace number 7
  158. bindsym $mod+$mod2+u move container to workspace number 8
  159. bindsym $mod+$mod2+p move container to workspace number 9
  160. bindsym $mod+$mod2+colon move container to workspace number 10
  161. bindsym $mod+$mod2+KP_End move container to workspace 1
  162. bindsym $mod+$mod2+KP_Down move container to workspace 2
  163. bindsym $mod+$mod2+KP_Next move container to workspace 3
  164. bindsym $mod+$mod2+KP_Left move container to workspace 4
  165. bindsym $mod+$mod2+KP_Begin move container to workspace 5
  166. bindsym $mod+$mod2+KP_Right move container to workspace 6
  167. bindsym $mod+$mod2+KP_Home move container to workspace 7
  168. bindsym $mod+$mod2+KP_Up move container to workspace 8
  169. bindsym $mod+$mod2+KP_Prior move container to workspace 9
  170. bindsym $mod+$mod2+KP_Insert move container to workspace 10
  171. # reload the configuration file
  172. bindsym $mod+$mod2+c reload
  173. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  174. bindsym $mod+$mod2+Shift+r restart
  175. # exit i3 (logs you out of your X session)
  176. # bindsym $mod+$mod2+x 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'"
  177. # programs
  178. #bindsym $mod+$mod2+f exec firefox
  179. #bindsym $mod+$mod2+t exec thunderbird
  180. #bindsym $mod+$mod2+g exec gmusicbrowser
  181. #bindsym $mod+$mod2+p exec pidgin
  182. bindsym $mod+BackSpace exec spacefm
  183. bindsym $mod+equal exec ~/.local/bin/gvim
  184. # focus binding
  185. # bindsym $mod+$mod2+f [class="Torbrowser" instance="Navigator"] focus
  186. # bindsym $mod+$mod2+t [class="Thunderbird" instance="Mail"] focus
  187. # bindsym $mod+$mod2+g [class="Gmusicbrowser"] focus
  188. # bindsym $mod+$mod2+p [class="Pidgin" window_role="conversation"] focus
  189. # bindsym $mod+$mod2+s [class="Terminator" instance="Terminator-root"] focus
  190. # bindsym $mod+$mod2+m [class="Mumble" instance="mumble"] focus
  191. # bindcode 180 [class="Terminator" instance="Terminator-root"] focus
  192. # sound
  193. #bindcode 122 exec --no-startup-id amixer sset Master 3-
  194. #bindcode 123 exec --no-startup-id amixer sset Master 3+
  195. #bindcode 121 exec --no-startup-id amixer sset Master toggle
  196. #bindsym $mod+$mod2+KP_Begin [class="Firefox"] focus
  197. #bindsym $mod+$mod2+KP_Home [class="Thunderbird"] focus
  198. #bindsym $mod+$mod2+KP_Prior [class="Gmusicbrowser"] focus
  199. #bindsym $mod+$mod2+KP_Right [class="Pidgin" window_role="conversation"] focus
  200. #bindsym $mod+$mod2+KP_Insert [class="Terminator" instance="Terminator-root"] focus
  201. #bindcode 41 [class="Firefox" instance="Navigator"] focus
  202. # force floating for these
  203. for_window [class="Xfrun4"] floating enable
  204. for_window [class="Xfce4-appfinder"] floating enable
  205. for_window [class="Terminator" title="Terminator Preferences"] floating enable
  206. for_window [class="MPlayer"] floating enable
  207. for_window [class="Gtk-youtube-viewer"] floating enable
  208. for_window [class="Firefox" title="Firefox Preferences"] floating enable
  209. for_window [class="Firefox" title="Certificate Manager"] floating enable
  210. for_window [class="Pornview"] floating enable
  211. for_window [class="FTL"] floating enable
  212. for_window [class="Pnmixer" title="PNMixer Preferences"] floating enable
  213. for_window [class="Xfce4-mixer" instance="xfce4-mixer"] floating enable
  214. for_window [class="Xfce4-notes"] floating enable
  215. for_window [class="scummvm"] floating enable
  216. for_window [class="dosbox"] floating enable
  217. for_window [class="zsnes"] floating enable
  218. for_window [title="ePSXe - Enhanced PSX emulator"] floating enable
  219. for_window [class="Mupen64plus"] floating enable
  220. for_window [class="Wine" instance="explorer.exe"] floating enable
  221. for_window [class="freesynd"] floating enable
  222. for_window [class="ja2"] floating enable
  223. for_window [class="Allegro" title="kq"] floating enable
  224. for_window [class="love" title="Mari0"] floating enable
  225. for_window [class="meandmyshadow"] floating enable
  226. for_window [class="XMahjongg"] floating enable
  227. for_window [class="supertux"] floating enable
  228. for_window [class="Gvbam"] floating enable
  229. for_window [class="Gmusicbrowser"] floating enable
  230. for_window [class="File-roller"] floating enable
  231. for_window [class="Bitmessagemain.py"] floating enable
  232. for_window [class="Gnome-manual-duplex"] floating enable
  233. for_window [class="GParted"] floating enable
  234. for_window [class="openmw"] floating enable
  235. for_window [class="Omwlauncher"] floating enable
  236. for_window [class="Xdialog"] floating enable
  237. for_window [class="Mumble"] floating enable
  238. for_window [class="^mpv.*$"] floating enable
  239. for_window [class="Skype"] floating enable
  240. for_window [class="utox"] floating enable
  241. for_window [class="Transmission-gtk"] floating enable
  242. for_window [class="keepassxc"] floating enable
  243. # scratchpad
  244. # Make the currently focused window a scratchpad
  245. bindsym $mod+$mod2+minus move scratchpad
  246. # Show the first scratchpad window
  247. bindsym $mod+minus scratchpad show
  248. # focus follow
  249. focus_follows_mouse yes
  250. mouse_warping output
  251. # remap f1-f12
  252. #keycode
  253. # resize window (you can also use the mouse for that)
  254. mode "resize" {
  255. # These bindings trigger as soon as you enter the resize mode
  256. # Pressing left will shrink the window’s width.
  257. # Pressing right will grow the window’s width.
  258. # Pressing up will shrink the window’s height.
  259. # Pressing down will grow the window’s height.
  260. bindsym j resize shrink width 10 px or 10 ppt
  261. bindsym k resize grow height 10 px or 10 ppt
  262. bindsym l resize shrink height 10 px or 10 ppt
  263. bindsym odiaeresis resize grow width 10 px or 10 ppt
  264. # same bindings, but for the arrow keys
  265. bindsym Right resize shrink width 10 px or 10 ppt
  266. bindsym Up resize grow height 10 px or 10 ppt
  267. bindsym Down resize shrink height 10 px or 10 ppt
  268. bindsym Left resize grow width 10 px or 10 ppt
  269. # back to normal: Enter or Escape
  270. bindsym Return mode "default"
  271. bindsym Escape mode "default"
  272. }
  273. bindsym $mod+Mod1+r mode "resize"
  274. # Start i3bar to display a workspace bar (plus the system information i3status
  275. # finds out, if available)
  276. #bar {
  277. # tray_output $left
  278. #
  279. # status_command i3status --config ~/.config/i3/i3status.config
  280. ## | dzen2 -fg white -ta r -w 1290 fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1"
  281. #
  282. # font pango:DejaVu Sans Mono 12
  283. #}
  284. mode "num" {
  285. bindsym Num_Lock mode "default"
  286. }
  287. #bindsym Num_Lock mode "num"
  288. #exec_always --no-startup-id ~/.config/polybar/autoname_workspaces.py --norenumber_workspaces --icon_list_format mathematician
  289. #exec_always --no-startup-id /home/hasufell/.cargo/bin/autoname_workspaces -i superscript
  290. exec_always --no-startup-id ~/.config/polybar/launch.sh &> /tmp/out
  291. exec --no-startup-id ~/.config/i3/focus
  292. # exec xrandr --output DVI-I-1 --auto --right-of DVI-D-0
  293. # exec picom --config ~/.config/picom.config