poetician

ArcoLinux i3wm Under 600 Lines | Modified Layout

Apr 1st, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.33 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 60, resize set 840 680
  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 60, resize set 700 960
  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 1944 80, resize set 650 800
  298. bindsym Mod1+bracketleft [class="Timeshift-gtk"] scratchpad show
  299. assign [class="Hefftor-maintenance-app.py"] $ws13
  300. for_window [class="Hefftor-maintenance-app.py"] floating enable, move position 2627 80, resize set 600 750
  301. bindsym Mod1+q exec timeshift-gtk
  302. assign [class="Hefftor_SkelApp.py"] $ws13
  303. for_window [class="Hefftor_SkelApp.py"] floating enable, move position 3265 80, resize set 550 700
  304. bindsym Mod1+Shift+h exec hefftor-skelapp
  305.  
  306. set $ws14 "14 ᱧ𐌜 ⴝⴝ"
  307. assign [class="qBittorrent"] $ws14
  308. exec --no-startup-id qbittorrent
  309. for_window [class="qBittorrent"] floating enable, move position 1930 40, resize set 940 880
  310. assign [class="Xscreensaver-demo"] $ws14
  311. exec_always --no-startup-id xscreensaver
  312. exec --no-startup-id xscreensaver-demo
  313. for_window [class="Xscreensaver-demo"] floating enable, move position 2890 40, resize set 940 880
  314. assign [class="vlc"] $ws14
  315. for_window [class="vlc"] floating enable, move position 1930 940, resize set 1900 120
  316. exec --no-startup-id vlc
  317. bindsym $mod+F3 exec vlc
  318.  
  319. #ᰜᰜᰜᰜᰜᰜ Scratchpad ᰜᰜᰜᰜᰜᰜ#
  320.  
  321. # move the currently focused window to the scratchpad
  322. bindsym Mod1+Shift+slash move scratchpad
  323. bindsym Mod1+slash scratchpad show
  324. bindsym Mod1+semicolon [class="Pystopwatch"] scratchpad show
  325.  
  326. #ᰜᰜᰜᰜᰜᰜ Loading Applications at Startup ᰜᰜᰜᰜᰜᰜ#
  327.  
  328. # Authentication dialog
  329. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  330. # Num Lock activated
  331. exec_always --no-startup-id numlockx on
  332. exec killall picom &&
  333. exec_always --no-startup-id picom -b
  334. exec_always --no-startup-id mousetrap -t 1
  335.  
  336. #ᰜᰜᰜᰜᰜᰜ Tray Applications ᰜᰜᰜᰜᰜᰜ#
  337.  
  338. # Network
  339. exec --no-startup-id nm-applet
  340.  
  341. # Parcellite
  342. exec --no-startup-id parcellite
  343.  
  344. # Redshift
  345. exec --no-startup-id redshift
  346.  
  347. # Workrave
  348. exec --no-startup-id workrave
  349. for_window [class="Workrave"] floating enable, move position 1940 60
  350.  
  351. # Volume
  352. exec --no-startup-id pasystray
  353. exec --no-startup-id volumeicon
  354.  
  355. # Updater
  356. exec --no-startup-id pamac-tray
  357.  
  358. # Dropbox
  359. exec --no-startup-id dropbox start
  360.  
  361. # Megasync
  362. exec --no-startup-id megasync
  363.  
  364. # My-Weather-Indicator
  365. exec --no-startup-id my-weather-indicator
  366.  
  367. #############################################
  368. #ᰜᰜᰜᰜᰜᰜ Application Launching ᰜᰜᰜᰜᰜᰜ#
  369.  
  370. # Start Rofi drun Mode
  371. 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"
  372. # Start Rofi Combi Mode
  373. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  374. # Start Rofi Window Mode
  375. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
  376.  
  377. # Pamac-Manager
  378. bindsym control+mod1+g exec --no-startup-id pamac-manager
  379.  
  380. # Rofi Theme Selector
  381. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  382.  
  383. # Screenshots
  384. bindsym Print exec --no-startup-id scrot '_-%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  385. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  386.  
  387. # Settings
  388. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  389.  
  390. # Start Xfce-appfinder
  391. for_window [class="Xfce4-appfinder"] floating enable
  392. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  393.  
  394. # System Monitor
  395. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager, focus
  396.  
  397. #########################################
  398. #ᰜᰜᰜᰜᰜᰜ Floating or Tiled ᰜᰜᰜᰜᰜᰜ#
  399.  
  400. for_window [class="Create Snapshot"] floating enable
  401. for_window [class="File-roller"] floating enable
  402. for_window [class="Font-manager"] floating enable
  403. for_window [class="Galculator"] floating enable
  404. for_window [class="Gnome-disks"] floating disable
  405. for_window [class="^Gnome-font-viewer$"] floating enable
  406. for_window [class="^Gpick$"] floating enable
  407. for_window [class="Grub-customizer"] floating enable
  408. for_window [class="Imagewriter"] floating enable
  409. for_window [class="qt5ct|Lxappearance"] floating enable
  410. for_window [class="Pamac-manager"] floating enable
  411. for_window [class="Pystopwatch"] floating enable
  412. for_window [class="System-config-printer.py"] floating enable
  413. for_window [class="Usb-creator-gtk"] floating enable
  414. for_window [class="Xfce4-settings-manager"] floating enable
  415. for_window [class="Xfce4-taskmanager"] floating enable
  416.  
  417. #####################################################
  418. #ᰜᰜᰜᰜᰜᰜ Workspace Switching Functions ᰜᰜᰜᰜᰜᰜ#
  419.  
  420. # Switch to workspace
  421. bindsym $mod+1 workspace $ws1
  422. bindsym $mod+2 workspace $ws2
  423. bindsym $mod+3 workspace $ws3
  424. bindsym $mod+4 workspace $ws4
  425. bindsym $mod+5 workspace $ws5
  426. bindsym $mod+6 workspace $ws6
  427. bindsym $mod+7 workspace $ws7
  428. bindsym $mod+8 workspace $ws8
  429. bindsym $mod+9 workspace $ws9
  430. bindsym $mod+0 workspace $ws10
  431. bindsym $mod+minus workspace $ws11
  432. bindsym $mod+equal workspace $ws12
  433. bindsym $mod+bracketleft workspace $ws13
  434. bindsym $mod+bracketright workspace $ws14
  435.  
  436. # Move focused container to workspace
  437. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  438. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  439. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  440. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  441. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  442. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  443. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  444. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  445. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  446. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  447. bindsym $mod+Shift+minus move container to workspace $ws11
  448. bindsym $mod+Shift+equal move container to workspace $ws12
  449. bindsym $mod+Shift+bracketleft move container to workspace $ws13
  450. bindsym $mod+Shift+bracketright move container to workspace $ws14
  451.  
  452. #############################################
  453. #ᰜᰜᰜᰜᰜᰜ Navigating Containers ᰜᰜᰜᰜᰜᰜ#
  454.  
  455. # Use mouse+$mod to drag floating windows to their new position
  456. floating_modifier $mod
  457.  
  458. # Toggle Tiling / Floating
  459. bindsym control+space floating toggle
  460.  
  461. # Change Focus
  462. bindsym $mod+$left focus left
  463. bindsym $mod+Left focus left
  464. bindsym $mod+$down focus down
  465. bindsym $mod+Down focus down
  466. bindsym $mod+$up focus up
  467. bindsym $mod+Up focus up
  468. bindsym $mod+$right focus right
  469. bindsym $mod+Right focus right
  470.  
  471. # Move Focused Window
  472. bindsym $mod+Shift+$left move left
  473. bindsym $mod+Shift+Left move left
  474. bindsym $mod+Shift+$down move down
  475. bindsym $mod+Shift+Down move down
  476. bindsym $mod+Shift+$up move up
  477. bindsym $mod+Shift+Up move up
  478. bindsym $mod+Shift+$right move right
  479. bindsym $mod+Shift+Right move right
  480.  
  481. #############################################
  482. #ᰜᰜᰜᰜᰜᰜ Navigating Workspaces ᰜᰜᰜᰜᰜᰜ#
  483.  
  484. # Navigate to Next / Previous Workspace
  485. bindsym Mod1+Shift+Tab workspace prev
  486. bindsym Mod1+Ctrl+Left workspace prev
  487. bindsym Mod1+Ctrl+Right workspace next
  488. bindsym Mod1+Tab workspace next
  489. bindsym $mod+Tab workspace back_and_forth
  490.  
  491. # Switch to workspace with urgent window automatically
  492. for_window [urgent=latest] focus
  493.  
  494. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  495. workspace_auto_back_and_forth yes
  496.  
  497. #########################################
  498. #ᰜᰜᰜᰜᰜᰜ Tiling Parameters ᰜᰜᰜᰜᰜᰜ#
  499.  
  500. # workspace_layout default|stacking|tabbed
  501. workspace_layout default
  502.  
  503. # orientation for new workspaces
  504. default_orientation horizontal
  505.  
  506. # split in horizontal orientation
  507. bindsym $mod+h split h
  508.  
  509. # split in vertical orientation
  510. bindsym $mod+v split v
  511.  
  512. # enter fullscreen mode for the focused container
  513. bindsym $mod+f fullscreen toggle
  514.  
  515. # change container layout (stacked, tabbed, toggle split)
  516. bindsym $mod+s layout stacking
  517. bindsym $mod+z layout tabbed
  518. bindsym $mod+e layout toggle split
  519.  
  520. # change focus between tiling / floating windows
  521. bindsym $mod+space focus mode_toggle
  522.  
  523. # focus the parent container
  524. bindsym $mod+a focus parent
  525.  
  526. # focus the child "HHVH"
  527. bindsym $mod+d focus child
  528.  
  529. ##################################################
  530. #ᰜᰜᰜᰜᰜᰜ Give Focus to Applications ᰜᰜᰜᰜᰜᰜ#
  531.  
  532. focus_on_window_activation smart
  533.  
  534. ######################################
  535. #ᰜᰜᰜᰜᰜᰜ Border Control ᰜᰜᰜᰜᰜᰜ#
  536.  
  537. border_radius 9
  538.  
  539. # default_border normal | none | pixel
  540. default_border pixel 8
  541.  
  542. # default_floating_border normal | none| pixel
  543. default_floating_border pixel 8
  544.  
  545. # hide_edge_borders none|vertical|horizontal|both|smart
  546. hide_edge_borders smart
  547. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  548.  
  549. # changing border style
  550. bindsym $mod+t border normal
  551. bindsym $mod+y border 1pixel
  552. bindsym $mod+u border none
  553.  
  554. new_window pixel 8
  555. # new_window normal | new_window none
  556.  
  557. new_float pixel 8
  558. # new_float normal | none
  559.  
  560. ##############################################
  561. #ᰜᰜᰜᰜᰜᰜ Variety for Wallpapers ᰜᰜᰜᰜᰜᰜ#
  562.  
  563. exec --no-startup-id variety
  564. for_window [class="Variety"] floating enable
  565. for_window [instance="Variety Preferences"] floating enable
  566.  
  567. # trash wallpaper
  568. bindsym mod1+t exec --no-startup-id variety -t
  569. # next wallpaper
  570. bindsym mod1+n exec --no-startup-id variety -n
  571. bindsym mod1+Right exec --no-startup-id variety -n
  572. # previous wallpaper
  573. bindsym mod1+p exec --no-startup-id variety -p
  574. bindsym mod1+Left exec --no-startup-id variety -p
  575. # favorite wallpaper
  576. bindsym mod1+f exec --no-startup-id variety -f
  577. # pause wallpaper
  578. bindsym mod1+Up exec --no-startup-id variety --pause
  579. # resume wallpaper
  580. bindsym mod1+Down exec --no-startup-id variety --resume
  581.  
  582. #ᰜᰜᰜᰜᰜᰜ Variety with Pywal ᰜᰜᰜᰜᰜᰜ#
  583.  
  584. # next wallpaper
  585. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  586. # previous wallpaper
  587. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  588. # trash wallpaper
  589. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  590. # update wallpaper
  591. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  592.  
  593. ###########################################
  594. #ᰜᰜᰜᰜᰜᰜ System Applications ᰜᰜᰜᰜᰜᰜ#
  595.  
  596. exec --no-startup-id xfce4-power-manager &
  597. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  598.  
  599. #ᰜᰜᰜᰜᰜᰜ The End - Now Start Again ᰜᰜᰜᰜᰜᰜ#
  600. #########################################################################################
  601.  
  602. # All these words are empty baskets
  603. # Carried to the market square
  604. # Trading truth and lies in barter
  605. # Warranting warn buyer beware
  606.  
  607. # All these words are reeds I wove
  608. # Taught to hold my pauper’s share
  609. # Show me yours before and after
  610. # Out in the open we may compare
  611.  
  612. # All these words are on the table
  613. # Yoked to folly the shell game starts
  614. # Trick the eye they who are able
  615. # Cunning those the same the heart
  616.  
  617. # All these words are fruits of labour
  618. # Bounty’s grace on harvest’s day
  619. # Test taste and judge the many flavours
  620. # Fill your need be on your way
  621.  
  622. # All these words so meet and proper
  623. # Morning meals served hot or cold
  624. # Savour meaning old sharecropper
  625. # Recall the stories you were told
  626.  
  627. # All these words are open caskets
  628. # Life goes on even nothing’s fair
  629. # Gather seeds for ever after
  630. # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment