poetician

ArcoLinux i3 | Reorganized alphabetically (partially) and functionally

Aug 27th, 2020 (edited)
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.32 KB | None | 0 0
  1. # ㄗ 𑁣 𑁗 ፖ ༑ ᙅ ༑ ₳ ⴄ 𓁿Ꝣᰃ𑊸
  2. #ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ#
  3.  
  4. # All the world's problems can be solved in a garden - Geoff Lawton
  5. # https://www.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w
  6. # https://thenextpoetician.blogspot.com/
  7. # https://pastebin.com/u/poetician
  8.  
  9. # Developer URL:https://i3wm.org/
  10. # Version: 4.16.1-186-gf3fffbae (2020-03-01, branch "makepkg") © 2009 Michael Stapelberg and contributors.
  11.  
  12. # Based on the work of Erik Dubois (and others):
  13. # https://arcolinux.info/
  14. # https://github.com/arcolinux
  15. # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg
  16.  
  17. #ᰜᰜᰜᰜᰜᰜ Key Names ᰜᰜᰜᰜᰜᰜ#
  18.  
  19. # Mod = Super key / Mod4 # Control = Ctrl key # Mod1 = Alt key
  20. # Shift = Shift key # Return = Enter or Return key # Escape = Escape key
  21. # Pause = Pause key # Print = Print key # Tab = Tab key
  22.  
  23. # Define the $mod variable key
  24. set $mod Mod4
  25.  
  26. # Define the movement keys
  27. set $up l
  28. set $down k
  29. set $left j
  30. set $right semicolon
  31.  
  32. #ᰜᰜᰜᰜᰜᰜ Dual Monitor Setup ᰜᰜᰜᰜᰜᰜ#
  33.  
  34. set $firstMonitor HDMI-A-0
  35. set $secondMonitor DVI-D-0
  36.  
  37. workspace 1 output $firstMonitor
  38. workspace 2 output $firstMonitor
  39. workspace 3 output $firstMonitor
  40. workspace 4 output $firstMonitor
  41. workspace 5 output $firstMonitor
  42. workspace 6 output $firstMonitor
  43. workspace 7 output $firstMonitor
  44. workspace 8 output $firstMonitor
  45. workspace 9 output $secondMonitor
  46. workspace 10 output $secondMonitor
  47. workspace 11 output $secondMonitor
  48. workspace 12 output $secondMonitor
  49. workspace 13 output $secondMonitor
  50. workspace 14 output $secondMonitor
  51.  
  52. # Use arandr for the configuration
  53. exec xrandr --no-startup-id --output HDMI-A-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DVI-D-0 -mode 1920x1080 --pos 1920x0 --rotate normal
  54.  
  55. #ᰜᰜᰜᰜᰜᰜ Reload Changed Configuration ᰜᰜᰜᰜᰜᰜ#
  56.  
  57. # Restart i3 in place (preserves the layout/session, can be used to upgrade i3)
  58. bindsym $mod+Shift+r restart
  59.  
  60. # Reload the configuration file
  61. bindsym $mod+Shift+c reload
  62.  
  63. #ᰜᰜᰜᰜᰜᰜ Stop Applications ᰜᰜᰜᰜᰜᰜ#
  64.  
  65. # Kill focused window
  66. bindsym $mod+q kill
  67.  
  68. # Xkill focused window
  69. bindsym --release $mod+Escape exec xkill
  70.  
  71. # Lockscreen, Logout, Reboot, etc ...
  72.  
  73. bindsym $mod+x exec arcolinux-logout
  74. bindsym $mod+Shift+x exec betterlockscreen -l dim
  75. bindsym $mod+Ctrl+x exec hefflogout
  76.  
  77. #ᰜᰜᰜᰜᰜᰜ Resize Windows ᰜᰜᰜᰜᰜᰜ#
  78.  
  79. # Resizing windows with keyboard only: https://unix.stackexchange.com/q/255344/150597
  80.  
  81. # Resizing by 1
  82. bindsym $mod+Ctrl+Right resize grow width 1 px or 1 ppt
  83. bindsym $mod+Ctrl+Up resize shrink height 1 px or 1 ppt
  84. bindsym $mod+Ctrl+Down resize grow height 1 px or 1 ppt
  85. bindsym $mod+Ctrl+Left resize shrink width 1 px or 1 ppt
  86.  
  87. # Resizing by 10
  88. bindsym $mod+Ctrl+comma resize shrink width 10 px or 10 ppt
  89. bindsym $mod+Ctrl+apostrophe resize grow height 10 px or 10 ppt
  90. bindsym $mod+Ctrl+slash resize shrink height 10 px or 10 ppt
  91. bindsym $mod+Ctrl+period resize grow width 10 px or 10 ppt
  92.  
  93. #ᰜᰜᰜᰜᰜᰜ i3 Next Gaps ᰜᰜᰜᰜᰜᰜ#
  94.  
  95. # Settings for I3 next gaps https://github.com/Airblader/i3/tree/gaps-next
  96.  
  97. for_window [class="^.*"] pixel 4
  98. gaps inner 4
  99. gaps outer 4
  100. smart_gaps on
  101. smart_borders on
  102.  
  103. #ᰜᰜᰜᰜᰜᰜ Resize i3 Gaps ᰜᰜᰜᰜᰜᰜ#
  104.  
  105. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  106.  
  107. bindsym $mod+Shift+f gaps inner all set 0; gaps outer all set 0
  108. bindsym $mod+Shift+s gaps inner all set 5; gaps outer all set 5
  109. bindsym $mod+Shift+t gaps inner all set 40; gaps outer all set 0
  110. bindsym $mod+Shift+a gaps inner all set 0; gaps outer all set 40
  111. bindsym $mod+Shift+w gaps inner all set 10; gaps outer all set 30
  112. bindsym control+Shift+minus gaps inner current minus 5
  113. bindsym control+Shift+o gaps outer current plus 10
  114. bindsym control+Shift+i gaps inner current plus 10
  115. bindsym control+Shift+plus gaps outer current minus 5
  116. bindsym control+Shift+l gaps vertical current plus 10
  117. bindsym control+Shift+comma gaps vertical current minus 5
  118. bindsym control+Shift+bracketleft gaps horizontal current minus 5
  119. bindsym control+Shift+bracketright gaps horizontal current plus 10
  120. bindsym control+Shift+semicolon gaps right current plus 10
  121. bindsym control+Shift+apostrophe gaps right current minus 10
  122. bindsym control+Shift+k gaps left current minus 10
  123. bindsym control+Shift+j gaps left current plus 10
  124. bindsym control+Shift+backslash gaps outer current toggle 40
  125. bindsym control+Shift+y gaps top current minus 20; gaps horizontal current minus 20
  126. bindsym control+Shift+u gaps top current plus 20; gaps horizontal all plus 20
  127.  
  128. # popup_during_fullscreen smart|ignore|leave_fullscreen
  129. popup_during_fullscreen leave_fullscreen
  130.  
  131. ####################################################
  132. #ᰜᰜᰜᰜᰜᰜ Bar and Workspace Appearance ᰜᰜᰜᰜᰜᰜ#
  133.  
  134. #ᰜᰜᰜᰜᰜᰜ Bar Toggle ᰜᰜᰜᰜᰜᰜ#
  135.  
  136. # Bar toggle, hide or show
  137. bindsym $mod+b bar mode invisible
  138. bindsym $mod+m bar mode dock
  139.  
  140. # Title font and alignment also used by the bar unless a different font is named in the bar {} block below.
  141. font pango: Federation italic 12
  142. title_align center
  143.  
  144. # Option 1: Polybar
  145. # Comment out conky and remove hashtag in the next line to load Polybar; log back in to see the change.
  146. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  147.  
  148. bar {
  149.  
  150. height 28
  151. workspace_buttons yes
  152. font pango:Federation italic 10
  153. i3bar_command i3bar -t
  154. tray_output HDMI-A-0
  155. position top
  156.  
  157. # Option 2 : Conky
  158.  
  159. # start-conky-i3statusbar.sh is started and conky will follow
  160. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  161. # conky configuration is in conky-i3statusbar
  162.  
  163. status_command ~/.config/i3/start-conky-i3statusbar.sh
  164.  
  165. colors {
  166. background #1a000000
  167. statusline #1a000000
  168. separator #1a000000
  169. # border backgr. text
  170. focused_workspace #1a000000 #1a000000 #FFD700
  171. inactive_workspace #1a000000 #1a000000 #FAEBD7
  172. active_workspace #1a000000 #1a000000 #d1bea8
  173. urgent_workspace #1a000000 #1a000000 #b6b9e1
  174. binding_mode #281948 #000000 #FAEBD7
  175. }
  176. }
  177.  
  178. ##START THEMING
  179. #Theme name : Transparent Gold
  180.  
  181. # class border backgr. text indicator child-border
  182. client.placeholder #1a000000 #FF000000 #281948 #00000000 #281948
  183. client.background #000000
  184. client.unfocused #1a000000 #FF000000 #FFD700 #00000000 #281948
  185. client.focused #1a000000 #FF000000 #B87333 #00000000 #6c71c4
  186. client.focused_inactive #1a000000 #FF000000 #4f433f #00000000 #ffbf00
  187. client.urgent #11093e #000000 #a16b1c #00000000 #8446d4
  188.  
  189. ##STOP THEMING
  190.  
  191. # #4f433f Tudor Brown #704214 Sepia #d1bea8 Dark Vanilla #FAEBD7 Antique White
  192. # #c0c0c0 Silver #899a99 Pewter #b2beb5 Ash Grey
  193. # #7C0A02 Barn Red #cb410b Sinopia #ffa500 Orange #ffbf00 Amber
  194. # #cd7f32 Bronze #B87333 Copper #FFD700 Gold # #ffc87c Topaz
  195. # #568203 Avocado #2e5e5b Pine #1f3d0c Deep Forest
  196. # #556b2f Dark Olive #013220 Dark Green #006600 Pakistan
  197. # #ee82ee Violet #673147 Old Mauve #560319 Dark Scarlet
  198. # #000f89 Phthalo Blue#4c2882 Spanish Violet#6a5acd Slate Blue #4b0082 Indigo
  199. # #089635 #104022 #033317 #a16b1c #e69722 #f4cd52 #8446d4 #b6b9e1
  200.  
  201. ###################################################
  202. #ᰜᰜᰜᰜᰜᰜ Applications and Directives ᰜᰜᰜᰜᰜᰜ#
  203.  
  204. exec --no-startup-id python3 $HOME/.config/i3/i3-swallow.py
  205.  
  206. for_window [class="Alacritty"] move scratchpad, move position 1030 405
  207. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  208. bindsym $mod+Return exec alacritty
  209.  
  210. for_window [class="Hefftor-slick-greeter-gui.py"] floating enable
  211. for_window [class="Engrampa"] floating enable
  212. for_window [class="FSlint"] floating enable
  213. for_window [class="GParted"] floating enable
  214.  
  215. for_window [class="Gucharmap"] move scratchpad, move position 10 430, set 640 640
  216. bindsym Mod1+period [class="Gucharmap"] scratchpad show
  217. bindsym control+Mod1+period exec gucharmap
  218.  
  219. set $ws1 "1 "
  220. assign [class="firefox|Brave-browser|Chromium"] $ws1
  221. #for_window [class="firefox"] focus
  222. exec --no-startup-id firefox
  223. bindsym $mod+F1 exec firefox
  224.  
  225. set $ws2 "2 𑢰ᨊ"
  226. assign [class="Atom|Electron4|Nemo"] $ws2
  227. bindsym $mod+F2 exec atom; focus
  228. exec --no-startup-id nemo
  229. bindsym $mod+Shift+Return exec nemo
  230.  
  231. set $ws3 "3 ℂㆤ"
  232. assign [class="Cherrytree|Xfce4-dict"] $ws3
  233. for_window [class="Cherrytree"] floating enable, resize set 1340 1035, move position 10 35
  234. exec --no-startup-id cherrytree
  235. bindsym $mod+control+t exec cherrytree
  236. for_window [class="Xfce4-dict"] floating enable, resize set 515 950, move position 1385 70
  237. bindsym Mod1+bracketright [class="Xfce4-dict"] scratchpad show
  238. bindsym $mod+Ctrl+y exec xfce4-dict; focus
  239.  
  240. set $ws4 "4 ㉡𐍈"
  241. assign [class="libreoffice"] $ws4
  242. exec --no-startup-id libreoffice
  243. bindsym $mod+F4 exec libreoffice
  244.  
  245. set $ws5 "5 𐎩"
  246. assign [class="kdenlive"] $ws5
  247. bindsym $mod+F5 exec kdenlive
  248. assign [class="Shotcut"] $ws5
  249.  
  250. set $ws6 "6 ᮱"
  251. assign [class="Gimp-2.10"] $ws6
  252. for_window [class="Gimp-2.10"] focus
  253. bindsym $mod+F6 exec gimp-2.10
  254. for_window [instance="script-fu"] border normal
  255. for_window [title="Copying"] floating enable
  256. for_window [title="Deleting"] floating enable
  257. for_window [title="Moving"] floating enable
  258. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  259. for_window [window_role="pop-up"] floating enable
  260. for_window [window_role="^Preferences$"] floating enable
  261. for_window [window_role="setup"] floating enable
  262.  
  263. set $ws7 "7 "
  264. assign [class="Google Earth Pro"] $ws7
  265. for_window [class="Google Earth Pro"] focus
  266. bindsym $mod+F7 exec google-earth-pro
  267.  
  268. set $ws8 "8 "
  269. assign [class="Audio Recorder|obs"] $ws8
  270. for_window [class="Audio Recorder"] floating enable, move position 2860 40
  271. for_window [class="obs"] focus
  272. bindsym Mod1+e exec obs
  273.  
  274. set $ws9 "9 𑣣"
  275. assign [class="Meld"] $ws9
  276. for_window [class="Meld"] focus
  277. exec --no-startup-id meld
  278. bindsym $mod+F9 exec meld
  279.  
  280. set $ws10 "10 ᶌɓ"
  281. assign [class="VirtualBox|VirtualBox Manager|VirtualBox Machine"] $ws10
  282. for_window [class="VirtualBox Manager"] floating enable, move position 2360 40, resize set 1040 1030
  283. for_window [class="VirtualBox Machine"] floating disable
  284. #exec --no-startup-id virtualbox manager
  285. bindsym Mod1+0 [class="VirtualBox Manager"] scratchpad show
  286. bindsym $mod+F10 exec virtualbox manager; focus
  287.  
  288. set $ws11 "11 էԵ 𑄟ᥴ"
  289. assign [class="Arcolinux-tweak-tool.py|Hefftor-twm-wallpaper-changer.py"] $ws11
  290. for_window [class="Arcolinux-tweak-tool.py"] floating enable, move position 2000 60, resize set 840 680
  291. bindsym Mod1+8 [class="Arcolinux-tweak-tool.py"] scratchpad show
  292. bindsym control+Shift+t exec arcolinux-tweak-tool, focus
  293. for_window [class="Hefftor-twm-wallpaper-changer.py"] floating enable, move position 3050 60, resize set 700 960
  294. exec --no-startup-id hefftor-twm-wallpaper-changer
  295. bindsym Mod1+i exec hefftor-twm-wallpaper-changer
  296.  
  297. set $ws12 "12 ꚬᙦ ꚬ𐔣"
  298. assign [class="Hefftor_polybar_switcher.py|Hefftor-polybar-editor.py|Hefftor-slick-greeter-gui.py"] $ws12
  299. for_window [class="Hefftor_polybar_switcher.py"] floating enable, move position 3150 40
  300. bindsym $mod+Mod1+y exec hefftor-polybar-switcher
  301. for_window [class="Hefftor-polybar-editor.py"] floating enable, move position 1940 40
  302. bindsym control+Shift+p exec hefftor-polybar-editor; focus
  303. for_window [class="Hefftor-slick-greeter-gui.py"] floating enable, move position 3100 685
  304.  
  305. set $ws13 "13 𐕅Ꭶ ઙᎯ"
  306. assign [class="Timeshift-gtk|Hefftor-maintenance-app.py|Hefftor_skelapp"] $ws13
  307. for_window [class="Timeshift-gtk"] floating enable, move position 1940 40, resize set 650 1020
  308. for_window [class="Hefftor-maintenance-app.py"] floating enable, move position 2613 90, resize set 500 750
  309. for_window [class="Hefftor_skelapp"] floating enable, move position 3265 140, resize set 550 700
  310. bindsym $mod+Shift+n exec hefftor-maintenance-app
  311. bindsym Mod1+Shift+h exec hefftor-skelapp
  312. bindsym Mod1+q exec --no-startup-id timeshift-gtk
  313. bindsym Mod1+bracketleft [class="Timeshift-gtk"] scratchpad show
  314.  
  315. set $ws14 "14 ᱧ𐌜 ⴝⴝ"
  316. assign [class="qBittorrent|vlc|Xscreensaver-demo"] $ws14
  317. exec --no-startup-id qbittorrent
  318. for_window [class="qBittorrent"] floating enable, move position 1930 40, resize set 1040 880
  319. exec_always --no-startup-id xscreensaver
  320. exec --no-startup-id xscreensaver-demo
  321. for_window [class="Xscreensaver-demo"] floating enable, move position 2985 40, resize set 842 880
  322. for_window [class="vlc"] floating enable, move position 1930 940, resize set 1900 120
  323. exec --no-startup-id vlc
  324. bindsym $mod+F3 exec vlc
  325.  
  326. #############################################
  327. #ᰜᰜᰜᰜᰜᰜ Application Launching ᰜᰜᰜᰜᰜᰜ#
  328.  
  329. # Start drun Mode
  330. bindsym $mod+g exec --no-startup-id rofi -show drun -show-icons -lines 8 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  331. # Start Rofi Combi Mode
  332. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  333. # Start Rofi Window Mode
  334. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
  335.  
  336. # Pamac-Manager
  337. bindsym control+mod1+g exec --no-startup-id pamac-manager
  338. # Rofi Theme Selector
  339. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  340. # Screenshots
  341. bindsym Print exec --no-startup-id scrot ' -%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  342. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  343. # Settings
  344. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  345. # Start Xfce-appfinder
  346. for_window [class="Xfce4-appfinder"] floating enable
  347. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  348. # System Monitor
  349. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager, focus
  350.  
  351. #########################################
  352. #ᰜᰜᰜᰜᰜᰜ Floating or Tiled ᰜᰜᰜᰜᰜᰜ#
  353.  
  354. for_window [class="Create Snapshot"] floating enable
  355. for_window [class="File-roller"] floating enable
  356. for_window [class="Font-manager"] floating enable
  357. for_window [class="Galculator"] floating enable
  358. for_window [class="Gnome-disks"] floating disable
  359. for_window [class="^Gnome-font-viewer$"] floating enable
  360. for_window [class="^Gpick$"] floating enable
  361. for_window [class="Grub-customizer"] floating enable
  362. for_window [class="Imagewriter"] floating enable
  363. for_window [class="qt5ct|Lxappearance"] floating enable
  364. for_window [class="Pamac-manager"] floating enable
  365. for_window [class="Pystopwatch"] floating enable
  366. for_window [class="radeon-profile"] floating enable, move position 480 80, resize set 640 900
  367. for_window [class="System-config-printer.py"] floating enable
  368. for_window [class="Usb-creator-gtk"] floating enable
  369. for_window [class="Xfce4-settings-manager"] floating enable
  370. for_window [class="Xfce4-taskmanager"] floating enable
  371.  
  372. #ᰜᰜᰜᰜᰜᰜ Loading Applications at Startup ᰜᰜᰜᰜᰜᰜ#
  373.  
  374. # Authentication dialog
  375. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  376. # Num Lock activated
  377. exec_always --no-startup-id numlockx on
  378. exec killall picom &&
  379. exec_always --no-startup-id picom -b
  380. exec_always --no-startup-id mousetrap -t 1
  381. exec nitrogen --restore
  382.  
  383. #ᰜᰜᰜᰜᰜᰜ Scratchpad ᰜᰜᰜᰜᰜᰜ#
  384.  
  385. # move the currently focused window to the scratchpad
  386. bindsym Mod1+Shift+slash move scratchpad
  387. bindsym Mod1+slash scratchpad show
  388.  
  389. #ᰜᰜᰜᰜᰜᰜ System Applications ᰜᰜᰜᰜᰜᰜ#
  390.  
  391. exec --no-startup-id xfce4-power-manager &
  392. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  393.  
  394. #ᰜᰜᰜᰜᰜᰜ Tray Applications ᰜᰜᰜᰜᰜᰜ#
  395.  
  396. # Network
  397. exec --no-startup-id nm-applet
  398. # Parcellite
  399. exec --no-startup-id parcellite
  400. # Radeon Profile
  401. #exec --no-startup-id radeon-profile
  402. # Workrave
  403. exec --no-startup-id workrave
  404. # Volume
  405. # exec --no-startup-id pasystray
  406. exec --no-startup-id volumeicon
  407. # Updater
  408. exec --no-startup-id pamac-tray
  409. # Dropbox
  410. exec --no-startup-id dropbox start
  411. # Megasync
  412. exec --no-startup-id megasync
  413. # My-Weather-Indicator
  414. #exec --no-startup-id my-weather-indicator
  415. #PyStopWatch
  416. exec --no-startup-id pystopwatch
  417. for_window [class="Pystopwatch"] move scratchpad, resize set 340 129, move position 1570 940
  418. bindsym Mod1+semicolon [class="Pystopwatch"] scratchpad show
  419.  
  420. #############################################
  421. #ᰜᰜᰜᰜᰜᰜ Navigating Containers ᰜᰜᰜᰜᰜᰜ#
  422.  
  423. # Use mouse+$mod to drag floating windows to their new position
  424. floating_modifier $mod
  425.  
  426. # Toggle Tiling / Floating
  427. bindsym control+space floating toggle
  428.  
  429. # Change Focus
  430. bindsym $mod+$left focus left
  431. bindsym $mod+Left focus left
  432. bindsym $mod+$down focus down
  433. bindsym $mod+Down focus down
  434. bindsym $mod+$up focus up
  435. bindsym $mod+Up focus up
  436. bindsym $mod+$right focus right
  437. bindsym $mod+Right focus right
  438.  
  439. # Move Focused Window
  440. bindsym $mod+Shift+$left move left
  441. bindsym $mod+Shift+Left move left
  442. bindsym $mod+Shift+$down move down
  443. bindsym $mod+Shift+Down move down
  444. bindsym $mod+Shift+$up move up
  445. bindsym $mod+Shift+Up move up
  446. bindsym $mod+Shift+$right move right
  447. bindsym $mod+Shift+Right move right
  448.  
  449. #############################################
  450. #ᰜᰜᰜᰜᰜᰜ Navigating Workspaces ᰜᰜᰜᰜᰜᰜ#
  451.  
  452. # Navigate to Next / Previous Workspace
  453. bindsym Mod1+Shift+Tab workspace prev
  454. bindsym Mod1+Tab workspace next
  455. bindsym Mod1+Ctrl+Left workspace prev
  456. bindsym Mod1+Ctrl+Right workspace next
  457. bindsym $mod+Tab workspace back_and_forth
  458.  
  459. # Switch to workspace with urgent window automatically
  460. for_window [urgent=latest] focus
  461.  
  462. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  463. workspace_auto_back_and_forth yes
  464.  
  465. #########################################
  466. #ᰜᰜᰜᰜᰜᰜ Tiling Parameters ᰜᰜᰜᰜᰜᰜ#
  467.  
  468. # workspace_layout default|stacking|tabbed
  469. workspace_layout default
  470.  
  471. # orientation for new workspaces
  472. default_orientation horizontal
  473.  
  474. # split in horizontal orientation
  475. bindsym $mod+h split h
  476.  
  477. # split in vertical orientation
  478. bindsym $mod+v split v
  479.  
  480. # enter fullscreen mode for the focused container
  481. bindsym $mod+f fullscreen toggle
  482.  
  483. # change container layout (stacked, tabbed, toggle split)
  484. bindsym $mod+s layout stacking
  485. bindsym $mod+z layout tabbed
  486. bindsym $mod+e layout toggle split
  487.  
  488. # change focus between tiling / floating windows
  489. bindsym $mod+space focus mode_toggle
  490.  
  491. # focus the parent container
  492. bindsym $mod+a focus parent
  493.  
  494. # focus the child "HHVH"
  495. bindsym $mod+d focus child
  496.  
  497. #####################################################
  498. #ᰜᰜᰜᰜᰜᰜ Workspace Switching Functions ᰜᰜᰜᰜᰜᰜ#
  499.  
  500. # Switch to workspace
  501. bindsym $mod+1 workspace $ws1
  502. bindsym $mod+2 workspace $ws2
  503. bindsym $mod+3 workspace $ws3
  504. bindsym $mod+4 workspace $ws4
  505. bindsym $mod+5 workspace $ws5
  506. bindsym $mod+6 workspace $ws6
  507. bindsym $mod+7 workspace $ws7
  508. bindsym $mod+8 workspace $ws8
  509. bindsym $mod+9 workspace $ws9
  510. bindsym $mod+0 workspace $ws10
  511. bindsym $mod+minus workspace $ws11
  512. bindsym $mod+equal workspace $ws12
  513. bindsym $mod+bracketleft workspace $ws13
  514. bindsym $mod+bracketright workspace $ws14
  515.  
  516. # Move focused container to workspace
  517. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  518. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  519. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  520. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  521. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  522. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  523. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  524. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  525. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  526. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  527. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  528. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  529. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  530. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  531.  
  532. ##########################################
  533. #ᰜᰜᰜᰜᰜᰜ Application focus ᰜᰜ ᰜᰜᰜᰜ#
  534.  
  535. focus_on_window_activation smart
  536.  
  537. ######################################
  538. #ᰜᰜᰜᰜᰜᰜ Border Control ᰜᰜᰜᰜᰜᰜ#
  539.  
  540. border_radius 7
  541.  
  542. # default_border normal | none | pixel
  543. default_border pixel none
  544. # default_floating_border normal | none| pixel
  545. default_floating_border pixel 1
  546.  
  547. # hide_edge_borders none|vertical|horizontal|both|smart
  548. hide_edge_borders none
  549. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  550.  
  551. # changing border style
  552. bindsym $mod+t border normal
  553. bindsym $mod+y border 1pixel
  554. bindsym $mod+u border none
  555.  
  556. # new_window normal | none
  557. new_window pixel 6
  558.  
  559. # new_float normal | none
  560. new_float pixel 6
  561.  
  562. ##############################################
  563. #ᰜᰜᰜᰜᰜᰜ Variety for Wallpapers ᰜᰜᰜᰜᰜᰜ#
  564.  
  565. # exec --no-startup-id variety
  566. for_window [class="Variety"] floating enable
  567. for_window [instance="Variety Preferences"] floating enable
  568.  
  569. # trash wallpaper
  570. bindsym mod1+t exec --no-startup-id variety -t
  571. # next wallpaper
  572. bindsym mod1+n exec --no-startup-id variety -n
  573. bindsym mod1+Right exec --no-startup-id variety -n
  574. # previous wallpaper
  575. bindsym mod1+p exec --no-startup-id variety -p
  576. bindsym mod1+Left exec --no-startup-id variety -p
  577. # favorite wallpaper
  578. bindsym mod1+f exec --no-startup-id variety -f
  579. # pause wallpaper
  580. bindsym mod1+Up exec --no-startup-id variety --pause
  581. # resume wallpaper
  582. bindsym mod1+Down exec --no-startup-id variety --resume
  583.  
  584. #ᰜᰜᰜᰜᰜᰜ Variety with Pywal ᰜᰜᰜᰜᰜᰜ#
  585.  
  586. # next wallpaper
  587. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  588. # previous wallpaper
  589. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  590. # trash wallpaper
  591. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  592. # update wallpaper
  593. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  594.  
  595. #ᰜᰜᰜᰜᰜᰜ The End - Now Start Again ᰜᰜᰜᰜᰜᰜ#
  596. #########################################################################################
  597.  
  598. # All these words are empty baskets
  599. # Carried to the market square
  600. # Trading truth and lies in barter
  601. # Warranting warn buyer beware
  602.  
  603. # All these words are reeds I wove
  604. # Taught to hold my pauper’s share
  605. # Show me yours before and after
  606. # Out in the open we may compare
  607.  
  608. # All these words are on the table
  609. # Yoked to folly the shell game starts
  610. # Trick the eye they who are able
  611. # Cunning those the same the heart
  612.  
  613. # All these words are fruits of labour
  614. # Bounty’s grace on harvest’s day
  615. # Test taste and judge the many flavours
  616. # Fill your need be on your way
  617.  
  618. # All these words so meet and proper
  619. # Morning meals served hot or cold
  620. # Savour meaning old sharecropper
  621. # Recall the stories you were told
  622.  
  623. # All these words are open caskets
  624. # Life goes on even nothing’s fair
  625. # Gather seeds for ever after
  626. # Till the breach sow to repair
  627.  
Advertisement
Add Comment
Please, Sign In to add comment