poetician

ArcoLinux i3wm Under 600 Lines | New Features

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