Advertisement
Guest User

Untitled

a guest
Feb 19th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 KB | Source Code | 0 0
  1. # ArchLabs id5b3 config
  2.  
  3. # border & title
  4. for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>"
  5. # class border backgr. text indicator child_border
  6. client.focused #2d2d2d #285577 #ffffff #2e9ef4 #808fa0
  7. client.focused_inactive #2d2d2d #5f676a #ffffff #484e50 #2d2d2d
  8. client.unfocused #2d2d2d #222222 #888888 #292d2e #2d2d2d
  9. client.urgent #9d5b61 #900000 #ffffff #900000 #9d5b61
  10. client.placeholder #2d2d2d #0c0c0c #ffffff #000000 #2d2d2d
  11.  
  12. # gaps
  13. gaps inner 8
  14. gaps outer 0
  15.  
  16. # font
  17. font pango:monospace 11
  18.  
  19. # mod key used for most binds
  20. # Mod1 = Alt
  21. # Mod4 = Super
  22. set $Mod Mod4
  23.  
  24. # direction keys
  25. set $up l
  26. set $down k
  27. set $left j
  28. set $right semicolon
  29.  
  30. ############### Autostart ##################
  31.  
  32. # run with reload
  33. exec_always --no-startup-id xrdb -load ~/.Xresources
  34.  
  35. # run once
  36. exec --no-startup-id xfsettingsd
  37.  
  38. ############# Bindings ##################
  39.  
  40. # launchers
  41. bindsym Mod1+p exec --no-startup-id rofi_run -r
  42. bindsym Control+space exec --no-startup-id rofi_run -r
  43.  
  44. # kill focused window
  45. bindsym $Mod+Shift+q kill
  46. bindsym Mod1+q kill
  47. bindsym Mod1+F4 kill
  48.  
  49. # core
  50. bindsym $Mod+w exec --no-startup-id al-browser
  51. bindsym $Mod+f exec --no-startup-id al-filemanager
  52. bindsym $Mod+t exec --no-startup-id al-terminal
  53. bindsym $Mod+Return exec --no-startup-id al-terminal
  54. bindsym Mod1+Shift+Return exec --no-startup-id al-terminal
  55. bindsym Control+Shift+t exec --no-startup-id al-terminal
  56. 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'"
  57.  
  58. # logout script
  59. bindsym $Mod+x exec --no-startup-id rofi_run -l
  60.  
  61. # Screenshot
  62. bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
  63.  
  64. # audio
  65. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  66. bindsym XF86AudioNext exec --no-startup-id playerctl next
  67. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  68. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  69. bindsym XF86AudioMute exec --no-startup-id pamixer -t
  70. bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
  71. bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
  72.  
  73. # backlight
  74. bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
  75. bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
  76.  
  77. ########### Workspace Bindings ###############
  78.  
  79. # switch to workspace
  80. bindsym $Mod+1 workspace 1
  81. bindsym $Mod+2 workspace 2
  82. bindsym $Mod+3 workspace 3
  83. bindsym $Mod+4 workspace 4
  84. bindsym $Mod+5 workspace 5
  85. bindsym $Mod+6 workspace 6
  86. bindsym $Mod+7 workspace 7
  87. bindsym $Mod+8 workspace 8
  88.  
  89. # switch to workspace - numpad alternatives
  90. bindsym $Mod+Mod2+KP_1 workspace 1
  91. bindsym $Mod+Mod2+KP_2 workspace 2
  92. bindsym $Mod+Mod2+KP_3 workspace 3
  93. bindsym $Mod+Mod2+KP_4 workspace 4
  94. bindsym $Mod+Mod2+KP_5 workspace 5
  95. bindsym $Mod+Mod2+KP_6 workspace 6
  96. bindsym $Mod+Mod2+KP_7 workspace 7
  97. bindsym $Mod+Mod2+KP_8 workspace 8
  98.  
  99. # switch to next or previous workspace
  100. bindsym $Mod+Mod1+Left workspace prev
  101. bindsym $Mod+Mod1+Right workspace next
  102.  
  103. # move focused container to workspace
  104. bindsym $Mod+Shift+1 move container to workspace 1; workspace 1
  105. bindsym $Mod+Shift+2 move container to workspace 2; workspace 2
  106. bindsym $Mod+Shift+3 move container to workspace 3; workspace 3
  107. bindsym $Mod+Shift+4 move container to workspace 4; workspace 4
  108. bindsym $Mod+Shift+5 move container to workspace 5; workspace 5
  109. bindsym $Mod+Shift+6 move container to workspace 6; workspace 6
  110. bindsym $Mod+Shift+7 move container to workspace 7; workspace 7
  111. bindsym $Mod+Shift+8 move container to workspace 8; workspace 8
  112.  
  113. # move focused container to workspace - numpad alternatives
  114. bindsym $Mod+Shift+Mod2+KP_End move container to workspace 1; workspace 1
  115. bindsym $Mod+Shift+Mod2+KP_Down move container to workspace 2; workspace 2
  116. bindsym $Mod+Shift+Mod2+KP_Next move container to workspace 3; workspace 3
  117. bindsym $Mod+Shift+Mod2+KP_Left move container to workspace 4; workspace 4
  118. bindsym $Mod+Shift+Mod2+KP_Begin move container to workspace 5; workspace 5
  119. bindsym $Mod+Shift+Mod2+KP_Right move container to workspace 6; workspace 7
  120. bindsym $Mod+Shift+Mod2+KP_Home move container to workspace 7; workspace 7
  121. bindsym $Mod+Shift+Mod2+KP_Up move container to workspace 8; workspace 8
  122.  
  123.  
  124. ############## Reload configs ################
  125.  
  126. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  127. bindsym $Mod+Shift+r restart
  128.  
  129. # reload the configuration file
  130. bindsym $Mod+Shift+c reload
  131.  
  132. ############ Container/Window control ############
  133.  
  134. # Scratchpad, Floating
  135. bindsym $Mod+space floating toggle
  136. floating_modifier Mod1
  137.  
  138. bindsym $Mod+Shift+z move scratchpad
  139. bindsym $Mod+z scratchpad show
  140.  
  141. # change focus
  142. bindsym $Mod+$left focus left
  143. bindsym $Mod+$down focus down
  144. bindsym $Mod+$up focus up
  145. bindsym $Mod+$right focus right
  146.  
  147. # alternatively, you can use the cursor keys:
  148. bindsym $Mod+Left focus left
  149. bindsym $Mod+Down focus down
  150. bindsym $Mod+Up focus up
  151. bindsym $Mod+Right focus right
  152.  
  153. bindsym $Mod+p focus parent
  154. bindsym $Mod+c focus child
  155.  
  156. # move focused window
  157. bindsym $Mod+Shift+$left move left 10px
  158. bindsym $Mod+Shift+$down move down 10px
  159. bindsym $Mod+Shift+$up move up 10px
  160. bindsym $Mod+Shift+$right move right 10px
  161.  
  162. # alternatively, you can use the cursor keys:
  163. bindsym $Mod+Shift+Up move up 10px
  164. bindsym $Mod+Shift+Down move down 10px
  165. bindsym $Mod+Shift+Left move left 10px
  166. bindsym $Mod+Shift+Right move right 10px
  167.  
  168. # Size
  169. bindsym Mod1+Up resize shrink height 10 px or 1 ppt
  170. bindsym Mod1+Down resize grow height 10 px or 1 ppt
  171. bindsym Mod1+Left resize shrink width 10 px or 1 ppt
  172. bindsym Mod1+Right resize grow width 10 px or 1 ppt
  173.  
  174. # layout toggle, keycode 23 is Tab
  175. bindcode Mod1+23 layout toggle tabbed split
  176. bindcode $Mod+23 layout toggle splitv splith
  177.  
  178. # switch to workspace with urgent window
  179. for_window [urgent="latest"] focus
  180. focus_on_window_activation focus
  181.  
  182. # container layout
  183. bindsym $Mod+h split h
  184. bindsym $Mod+v split v
  185. bindsym $Mod+Shift+t layout tabbed
  186. bindsym $Mod+Shift+s layout stacking
  187. bindsym $Mod+Shift+h layout toggle split
  188.  
  189. default_orientation horizontal
  190.  
  191. ############### Border & Gaps ###############
  192.  
  193. new_window normal
  194. new_float normal
  195.  
  196. hide_edge_borders both
  197.  
  198. bindsym $Mod+shift+b border toggle
  199.  
  200. # changing border style
  201. bindsym $Mod+n border normal
  202. bindsym $Mod+y border 1pixel
  203. bindsym $Mod+u border none
  204.  
  205. # change gaps
  206. bindsym $Mod+plus gaps inner current plus 5
  207. bindsym $Mod+minus gaps inner current minus 5
  208. bindsym $Mod+Shift+plus gaps outer current plus 5
  209. bindsym $Mod+Shift+minus gaps outer current minus 5
  210. bindsym $Mod+Control+plus gaps inner all plus 5
  211. bindsym $Mod+Control+minus gaps inner all minus 5
  212. bindsym $Mod+Control+Shift+plus gaps outer all plus 5
  213. bindsym $Mod+Control+Shift+minus gaps outer all minus 5
  214.  
  215. ############ application settings ############
  216.  
  217. # assign applications to specific workspace
  218. assign [class="(?i)(?:firefox)"] → 1
  219. assign [class="(?i)(?:geany)"] → 2
  220. assign [class="(?i)(?:thunar)"] → 3
  221.  
  222. # focus, floating, & sticky
  223. for_window [class="(?i)(?:qt5ct|pinentry|firefox|geany|thunar)"] focus
  224. for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
  225. for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
  226.  
  227. popup_during_fullscreen smart
  228.  
  229. exec_always --no-startup-id ~/.config/polybar/launch.sh
  230.  
  231. #bar {
  232. # colors {
  233. # background #2d2d2d
  234. # statusline #808fa0 #that neon blue
  235. # separator #666666
  236. # border backgr. text
  237. # focused_workspace #808fa0 #808fa0 #ffffff
  238. # active_workspace #2d2d2d #2d2d2d #c6c6c6
  239. # inactive_workspace #2d2d2d #2d2d2d #888888
  240. # urgent_workspace #9d5b61 #9d5b61 #c6c6c6
  241. # }
  242. # status_command i3status -c ~/.config/i3status/config
  243. #}
  244.  
  245.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement