poetician

Poetician Edition | Sabrent | Consolidated

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