poetician

ArcoLinux i3wm Resize Set Added

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