poetician

i3 in ArcoLinux | Conky-statusbar | Flashfocus

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