Dotfiles for different machines on different branches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
4.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. # vim: filetype=i3
  2. # File originally by Luke Smith <https://lukesmith.xyz>
  3. # This config file will use environmental variables such as $BROWSER and $TERMINAL.
  4. # You can set these variables in ~/.profile or ~/.bash_profile if you have it as below:
  5. #
  6. # export FILE="ranger"
  7. # export TERMINAL="st"
  8. # #------Auto Start-------# #
  9. exec --no-startup-id owncloud
  10. exec --no-startup-id toggletouchpad
  11. # #---Basic Definitions---# #
  12. for_window [class="^.*"] border pixel 1
  13. gaps inner 0
  14. gaps outer 0
  15. set $term --no-startup-id $TERMINAL
  16. set $mod Mod4
  17. font xft:mono 10
  18. # #---Dropdown Windows---# #
  19. # General dropdown window traits. The order can matter.
  20. for_window [instance="dropdown_*"] floating enable
  21. for_window [class="de.uol.swp.client.ClientApp"] floating enable
  22. for_window [instance="dropdown_*"] move scratchpad
  23. for_window [instance="dropdown_*"] sticky enable
  24. for_window [instance="dropdown_*"] scratchpad show
  25. for_window [instance="dropdown_tmuxdd"] resize set 625 450
  26. for_window [instance="dropdown_dropdowncalc"] resize set 800 300
  27. for_window [instance="dropdown_tmuxdd"] border pixel 3
  28. for_window [instance="dropdown_dropdowncalc"] border pixel 2
  29. for_window [instance="dropdown_*"] move position center
  30. bar {
  31. font pango:mono 10
  32. status_command i3blocks
  33. position top
  34. mode dock
  35. modifier None
  36. colors {
  37. background #000000
  38. statusline #ffffff
  39. separator #333333
  40. #Bord #Back #Text
  41. focused_workspace #ffa500 #4a4a4a #ffa500
  42. active_workspace #ffa500 #33333 #ffa500
  43. inactive_workspace #ffa500 #000000 #ffa500
  44. urgent_workspace #ffa500 #000000 #900000
  45. }
  46. }
  47. client.placeholder #242424 #242424 #242424
  48. client.background #242424 #242424 #242424
  49. client.focused #4a4a4a #4a4a4a #e5e5e5 #6a6a6a
  50. client.unfocused #4a4a4a #222222 #aaaaaa #222222
  51. client.focused_inactive #4a4a4a #222222 #a9a9a9 #222222
  52. client.urgent #4a4a4a #4a4a4a #f7f7f7 #4a4a4a
  53. # #---Basic Bindings---# #
  54. bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
  55. #bindsym $mod+Return taken by sxhkd
  56. #bindym $mod+b taken by sxhkd
  57. bindsym $mod+Shift+b bar mode toggle
  58. #bindsym $mod+c taken by sxhkd
  59. bindsym $mod+Shift+d floating toggle
  60. bindsym $mod+Shift+f fullscreen toggle
  61. bindsym $mod+h focus left
  62. bindsym $mod+Shift+h move left 30
  63. #bindsym $mod+i taken by sxhkd
  64. bindsym $mod+Shift+i exec --no-startup-id i3resize up
  65. bindsym $mod+j focus down
  66. bindsym $mod+Shift+j move down 30
  67. bindsym $mod+k focus up
  68. bindsym $mod+Shift+k move up 30
  69. bindsym $mod+l focus right
  70. bindsym $mod+Shift+l move right 30
  71. #bindsym $mod+m taken by sxhkd
  72. bindsym $mod+Shift+m move scratchpad
  73. #bindsym $mod+n taken by sxhkd
  74. #bindsym $mod+Shift+n taken by sxhkd
  75. bindsym $mod+Shift+o exec --no-startup-id i3resize right
  76. #bindym $mod+p taken by sxhkd
  77. bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
  78. bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid`
  79. #bindsym $mod+r taken by sxhkd
  80. #bindsym $mod+shift+r taken by sxhkd
  81. #bindsym $mod+s taken by sxhkd
  82. bindsym $mod+t split toggle
  83. bindsym $mod+Shift+u exec --no-startup-id i3resize down
  84. #bindsym $mod+x taken by sxhkd
  85. bindsym $mod+Shift+z exec --no-startup-id i3resize left
  86. #bindsym $mod+F5 taken by sxhkd
  87. #bindsym $mod+F6 taken by sxhkd
  88. #bindsym $mod+F7 taken by sxhkd
  89. #bindsym $mod+F8 taken by sxhkd
  90. #bindsym $mod+F9 taken by sxhkd
  91. #bindsym $mod+F10 taken by sxhkd
  92. #bindsym $mod+F11 taken by sxhkd
  93. #bindsym $mod+F12 taken by sxhkd
  94. # #---Workspace Bindings---# #
  95. set $ws1 "1DF"
  96. set $ws2 "2VR"
  97. set $ws3 "3RS"
  98. set $ws4 "4RS"
  99. set $ws5 "5WK"
  100. set $ws6 "6WK"
  101. set $ws7 "7ME"
  102. set $ws8 "8CM"
  103. set $ws9 "9GM"
  104. set $ws0 "0EX"
  105. # switch to workspace
  106. bindsym $mod+1 workspace $ws1
  107. bindsym $mod+2 workspace $ws2
  108. bindsym $mod+3 workspace $ws3
  109. bindsym $mod+4 workspace $ws4
  110. bindsym $mod+5 workspace $ws5
  111. bindsym $mod+6 workspace $ws6
  112. bindsym $mod+7 workspace $ws7
  113. bindsym $mod+8 workspace $ws8
  114. bindsym $mod+9 workspace $ws9
  115. bindsym $mod+0 workspace $ws0
  116. # move focused container to workspace
  117. bindsym $mod+Shift+1 move container to workspace $ws1
  118. bindsym $mod+Shift+2 move container to workspace $ws2
  119. bindsym $mod+Shift+3 move container to workspace $ws3
  120. bindsym $mod+Shift+4 move container to workspace $ws4
  121. bindsym $mod+Shift+5 move container to workspace $ws5
  122. bindsym $mod+Shift+6 move container to workspace $ws6
  123. bindsym $mod+Shift+7 move container to workspace $ws7
  124. bindsym $mod+Shift+8 move container to workspace $ws8
  125. bindsym $mod+Shift+9 move container to workspace $ws9
  126. bindsym $mod+Shift+0 move container to workspace $ws0
  127. for_window [class="Pinentry"] sticky enable
  128. for_window [class="sent"] border pixel 0px
  129. for_window [title="GIMP Startup"] move workspace $ws5
  130. for_window [class="Gimp"] move workspace $ws5
  131. for_window [window_role="GtkFileChooserDialog"] resize set 800 600
  132. for_window [window_role="GtkFileChooserDialog"] move position center
  133. for_window [title="Default - Wine desktop"] floating enable