poetician

Poetician Edition | All Gaps Off/On Bindsyms

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