Advertisement
poetician

ArcoLinux i3wm Workspace Arranging ws 13 and 14

Mar 2nd, 2020
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.36 KB | None | 0 0
  1. # ###########
  2. # ###########
  3. # PPPPp ii ii ii ###########
  4. # p P oOOo eeee TTTTTTT cccc 3333 ###########
  5. # p P O O e e t II c II A N N II 3 ###########
  6. # PpppP O O e e t II c II A A N n N II 3 W W M M
  7. # P O O eeeee t II c II A A N n N II 333 W W M m m M
  8. # P O O e t II c II A aAa A N n N II 3 W w W M m m M
  9. # P O O e t II c II A A N n N II 3 W w w W M m M
  10. # p OooO eeee t II cccc II A A N N II 3333 W W M M
  11. # ###########
  12. #################################################################################################################
  13. # ###########
  14. # https://pastebin.com/u/poetician ###########
  15. # https://thenextpoetician.blogspot.com/ ###########
  16. # https://www.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w ###########
  17. # ###########
  18. # Most of the work was done by Erik Dubois: ###########
  19. # ###########
  20. # https://arcolinux.info/ ########### URL:https://i3wm.org/
  21. # https://github.com/arcolinux ########### i3 version 4.18 (2020-02-18)
  22. # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg ########### © 2009 Michael Stapelberg
  23. # ########### and contributors
  24. #######################################################################################################
  25. ###########
  26. ########### Key Definitions ########### ###########
  27. ###########
  28. # Mod = WINDOWS / Super key / Mod4 ###########
  29. # Mod1 = ALT key
  30. # Control = CTRL key
  31. # Shift = SHIFT key
  32. # Escape = ESCAPE key
  33. # Return = ENTER or RETURN key
  34. # KP_Enter = Keypad ENTER key
  35. # Pause = PAUSE key
  36. # Print = PRINT key
  37. # Tab = TAB key
  38.  
  39. ########### Define the $mod Variable Key ###########
  40.  
  41. set $mod Mod4
  42. # set $mod Mod1
  43.  
  44. ########### Define the Movement Keys ###########
  45.  
  46. set $up l
  47. set $down k
  48. set $left j
  49. set $right semicolon
  50.  
  51. ########### Reload Changed Configuration ###########
  52.  
  53. # restart i3 in place (preserves your layout/session, can be used to upgrade i3)
  54. bindsym $mod+Shift+r restart
  55.  
  56. # reload the configuration file
  57. bindsym $mod+Shift+c reload
  58.  
  59. ########### Stopping Applications ###########
  60.  
  61. # kill focused window
  62. bindsym $mod+q kill
  63.  
  64. # Xkill focused winddow
  65. bindsym --release $mod+Escape exec xkill
  66.  
  67. ########### How to Exit, Lockscreen, Etc ... ###########
  68.  
  69. # Press $mod and X to exit - options appear in the toolbar
  70. bindsym $mod+X mode "$mode_system"
  71. bindsym control+mod1+Delete mode "$mode_system"
  72.  
  73. set $mode_system System (h) hibernate (k) lock, (l) logout, (r) reboot, (s) shutdown (u) suspend
  74. mode "$mode_system" {
  75. bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
  76. bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
  77. bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
  78. bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
  79. bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
  80. bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
  81.  
  82. # back to normal: Enter or Escape
  83. bindsym Return mode "default"
  84. bindsym Escape mode "default"
  85. }
  86.  
  87. ########### Bar Toggle ###########
  88.  
  89. # bar toggle, hide or show
  90. bindsym $mod+b bar mode invisible
  91. bindsym $mod+m bar mode dock
  92.  
  93. ########### Scratchpad ###########
  94.  
  95. # move the currently focused window to the scratchpad
  96. bindsym Mod1+Shift+plus move scratchpad
  97.  
  98. # Show the next scratchpad window or hide the focused scratchpad window.
  99. # If there are multiple scratchpad windows, this command cycles through them.
  100. bindsym Mod1+plus scratchpad show
  101.  
  102. ########### Screenshots ############
  103.  
  104. bindsym Print exec --no-startup-id scrot '_-%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  105. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  106.  
  107. ########### Title Font and Alignment ###########
  108.  
  109. # Font for window titles. Will also be used by the bar unless a different font
  110. # is used in the bar {} block below.
  111. font pango: Federation italic 12
  112. title_align center
  113.  
  114. ########### Wallpaper Settings ###########
  115.  
  116. # Sets wallpaper to load at startup
  117. # exec --no-startup-id feh --bg-fill ~/Pictures/Salon.jpg
  118. exec --no-startup-id variety
  119.  
  120. ########################################################################
  121. ########### Bar and Workspace Appearance ###########
  122. ########################################################################
  123.  
  124. # hide_edge_borders none|vertical|horizontal|both|smart
  125. # hide_edge_borders horizontal
  126.  
  127. bar {
  128.  
  129. height 33
  130. workspace_buttons yes
  131. font pango:Federation italic 11
  132.  
  133. i3bar_command i3bar --transparency
  134.  
  135. position top
  136. #position bottom
  137.  
  138. #system icons
  139. #tray_output none
  140.  
  141. # OPTION 1 : i3status
  142.  
  143. # type status_command i3status without the config file and
  144. # you will get the standard i3status bar
  145. # Second one is the standard statusbar with my personal settings
  146.  
  147. #status_command i3status
  148. #status_command i3status -c ~/.config/i3/i3status.conf
  149.  
  150. # OPTION 2 : i3blocks
  151.  
  152. # https://github.com/vivien/i3blocks
  153. # another way to provide text in the statusbar
  154. # put hash-tag in front if not installed
  155.  
  156. #status_command i3blocks
  157. #status_command i3blocks -c ~/.config/i3/i3blocks.conf
  158. #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
  159. #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
  160. #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
  161.  
  162. # OPTION 3 : conky
  163.  
  164. # You can also replace the istatus bar with a conky
  165. # start-conky-i3statusbar.sh is started and conky will follow
  166. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  167. # conky configuration is in conky-i3statusbar
  168.  
  169. status_command ~/.config/i3/start-conky-i3statusbar.sh
  170.  
  171. # OPTION 4 : polybar
  172.  
  173. # polybar is launched elsewhere - search for the word
  174. # from the opening of the "bar {...}" till the end has to go or hash-tagged out
  175. # in order for the system trayicons to show up in polybar
  176.  
  177. colors {
  178. background #CC4f433f
  179. statusline #CC4f433f
  180. separator #CC4f433f
  181. # border backgr. text
  182. focused_workspace #CC4f433f #CC4f433f #899a99
  183. inactive_workspace #CC4f433f #FF4f433f #f4cd52
  184. urgent_workspace #FF000000 #FF000000 #f4cd52
  185. }
  186.  
  187. }
  188.  
  189. #Golden text on Tudor Brown background.
  190. # class border backgr. text indicator child-border
  191. client.placeholder #FF000000 #CC4f433f #281948 #FF000000 #281948
  192. client.background #FF000000 #CC4f433f #281948 #FF000000 #281948
  193. client.unfocused #FF000000 #BF4f433f #f4cd52 #FF000000 #281948
  194. client.focused #FF000000 #FF000000 #B87333 #FF000000 #6c71c4
  195. client.focused_inactive #FF000000 #BF4f433f #281948 #FF000000 #6c71c4
  196. client.urgent #11093e #8446d4 #a16b1c #11093e #8446d4
  197.  
  198. ########### Colour Picker ###########
  199.  
  200. # #222222
  201. # #ffffff #a9a9a9 #c2c2b8
  202. # #760b0b #900000
  203. # #089635 #104022 #054d23 #033317 #02180b
  204. # #281948 #110034 #11093e #261496 #8446d4 #6c71c4
  205. # #a16b1c #FFAF00 #e69722 #f4cd52
  206. # #cd7f32 Bronze
  207. # #B87333 Copper
  208. # #c0c0c0 Silver
  209. # #d4af37 Gold
  210. # #022051 Sapphire
  211. # #7C0A02 Barn Red
  212. # #E0115F Ruby
  213. # #dc143c Crimson
  214. # #e34234 Vermillion
  215. # #dda0ad Plum
  216. # #899a99 Pewter
  217. # #568203 Avocado
  218. # #2e5e5b Pine Green
  219. # #1f3d0c Deep Forest Green
  220. # #4f433f Tudor Brown
  221. # #FAEBD7 Antique White
  222.  
  223. # Transparency values
  224. # 100% — FF
  225. # 95% — F2
  226. # 90% — E6
  227. # 85% — D9
  228. # 80% — CC
  229. # 75% — BF
  230. # 70% — B3
  231. # 65% — A6
  232. # 60% — 99
  233. # 55% — 8C
  234. # 50% — 80
  235. # 45% — 73
  236. # 40% — 66
  237. # 35% — 59
  238. # 30% — 4D
  239. # 25% — 40
  240. # 20% — 33
  241. # 15% — 26
  242. # 10% — 1A
  243. # 5% — 0D
  244. # 0% — 00
  245.  
  246. ############################################################################
  247. ########### Workspace Names and Assignments ############
  248. ############################################################################
  249.  
  250. ########### Workspaces named with variables avoids repetition ###########
  251.  
  252. set $ws1 "1 "
  253. set $ws2 "2 𑢰 𑜞"
  254. set $ws3 "3 𑜞 𖣁"
  255. set $ws4 "4 𑣦"
  256. set $ws5 "5 𐎩"
  257. set $ws6 "6 ᮱"
  258. set $ws7 "7 "
  259. set $ws8 "8 "
  260. set $ws9 "9 𑣣"
  261. set $ws10 "𖭧 𑜆𖨎"
  262. set $ws11 "11 𖧫ꚳ"
  263. set $ws12 "12 ᰪ"
  264. set $ws13 "13:ᰛᰠ"
  265. set $ws14 "14:𐘝᰾"
  266.  
  267. # 𖧹 𖧊 𖥭 𖥶 ᯼ ㄗ 𑁣 𑀚 𐕅 ⁞ ᙅ ⁞ ₳ 𑀪
  268. ########### Loading Applications in Designated Workspaces ###########
  269.  
  270. assign [class="Firefox"] $ws1
  271. assign [class="Brave-browser"] $ws1
  272. assign [class="Nemo"] $ws2
  273. assign [class="code-oss"] $ws2
  274. assign [class="Cherrytree"] $ws3
  275. assign [class="stacer"] $ws3
  276. assign [class="libreoffice"] $ws4
  277. assign [class="kdenlive"] $ws5
  278. assign [class="Glimpse-0.1"] $ws6
  279. assign [class="Google Earth Pro"] $ws7
  280. assign [class="Meld"] $ws9
  281. # assign [class="VirtualBox Manager"] $ws 9
  282. assign [class="VirtualBox Machine"] $ws10
  283. assign [class="Arcolinux-tweak-tool.py"] $ws11
  284. assign [class="Hefftor_SkelApp.py"] $ws11
  285. assign [class="Notepadqq"] $ws12
  286. assign [class="Joplin"] $ws12
  287. assign [class="vlc"] $ws13
  288. assign [class="Timeshift-gtk"] $ws13
  289. assign [class="Gufw.py"] $ws13
  290. assign [class="Hefftor_polybar_switcher.py"] $ws14
  291. assign [class="Transmission-gtk"] $ws14
  292. assign [class="Xscreensaver-demo"] $ws14
  293.  
  294. #############################################################
  295. ########### Floating or Tiled ###########
  296. #############################################################
  297.  
  298. ########### Floating enabled / disabled; find class name with xprop; border option ###########
  299.  
  300. for_window [class="ArcoLinux Conky Manager"] floating enable
  301. for_window [class="Arcolinux-tweak-tool.py"] floating enable
  302. for_window [class="Arcolinux-tweak-tool.py"] move position 10 44
  303. #for_window [class="Cherrytree"] floating enable
  304. #or_window [class="Cherrytree"] move position 20 36
  305. #for_window [class="Cherrytree"] border pixel 8
  306. for_window [class="Create Snapshot"] floating enable
  307. for_window [class="digikam"] floating enable
  308. for_window [class="File-roller"] floating enable
  309. for_window [class="Galculator"] floating enable
  310. for_window [class="Gnome-disks"] floating disable
  311. for_window [class="^Gnome-font-viewer$"] floating enable
  312. for_window [class="^Gpick$"] floating enable
  313. for_window [class="Grub-customizer"] floating enable
  314. for_window [class="Gucharmap"] floating enable
  315. for_window [class="Gufw.py"] floating enable
  316. for_window [class="Gufw.py"] move position 20 60
  317. # for_window [class="Gufw.py"] move absolute position center
  318. # for_window [class="Gufw.py"] move scratchpad
  319. for_window [class="Hefftor_SkelApp.py"] floating enable
  320. for_window [class="Hefftor_SkelApp.py"] move position 882 434
  321. for_window [class="Hefftor_polybar_switcher.py"] floating enable
  322. for_window [class="Hefftor_polybar_switcher.py"] move position 120 626
  323. for_window [class="Hefftors-twm-color-changer.py"] floating enable
  324. for_window [class="Hefftors-twm-color-changer.py"] move position 40 50
  325. for_window [class="kdenlive"] move absolute position center
  326. for_window [class="Imagewriter"] floating enable
  327. for_window [class="Font-manager"] floating enable
  328. # for_window [class="qt5ct|Lxappearance] floating disable
  329. for_window [class="Pamac-manager"] floating enable
  330. # for_window [class="Pavucontrol"] floating enable
  331. # for_window [class="Peek"] floating disable
  332. #for_window [class="stacer"] floating enable
  333. #for_window [class="stacer"] move position 1020 36
  334. for_window [class="System-config-printer.py"] floating enable
  335. for_window [class="Termite"] floating enable
  336. for_window [class="Tilix"] floating enable border pixel 24
  337. for_window [class="Tilix"] move position 1338 200
  338. for_window [class="Timeshift-gtk"] floating enable
  339. for_window [class="Timeshift-gtk"] move position 470 140
  340. # for_window [class="Timeshift-gtk"] move scratchpad
  341. # for_window [class="Transmission-gtk"] move scratchpad
  342. for_window [class="Transmission-gtk"] floating enable
  343. for_window [class="Transmission-gtk"] move position 40 40
  344. # for_window [class="Transmission-gtk"] floating_minimum_size 600 x 200
  345. for_window [class="Transmission-gtk"] floating_maximum_size 700 x 400
  346. for_window [class="Usb-creator-gtk"] floating enable
  347. for_window [class="VirtualBox Manager"] floating enable
  348. for_window [class="VirtualBox Manager"] move scratchpad
  349. for_window [class="VirtualBox Machine"] floating disable
  350. for_window [class="VirtualBox Manager"] move absolute position center
  351. for_window [class="^Vlc$"] floating enable
  352. # for_window [class="^Vlc$"] move position 20 960
  353. # for_window [class="vlc"] floating_minimum_size 1640 x 160
  354. for_window [class="vlc"] floating_maximum_size 1800 x 162
  355. for_window [class="vlc"] move position 0 1000
  356. for_window [class="vokoscreenNG"] floating enable
  357. for_window [class="vokoscreenNG"] move scratchpad
  358. for_window [class="vokoscreenNG"] move position 24 64
  359. for_window [class="Xfce4-appfinder"] floating enable
  360. for_window [class="Xfce4-dict"] floating enable
  361. for_window [class="Xfce4-settings-manager"] floating disable
  362. for_window [class="Xfce4-taskmanager"] floating enable
  363. for_window [class="Xscreensaver-demo"] floating enable
  364. for_window [class="Xscreensaver-demo"] move position 1044 40
  365. for_window [class="Xscreensaver-demo"] floating_minimum_size 900 x 900
  366.  
  367. # for_window [instance="gimp"] floating disable
  368. # for_window [instance="script-fu"] border normal
  369. # for_window [instance="Variety Preferences"] floating enable
  370. for_window [title="Copying"] floating enable
  371. for_window [title="Deleting"] floating enable
  372. for_window [title="Moving"] floating enable
  373. for_window [title="^Terminator Preferences$"] floating enable
  374. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  375. for_window [window_role="pop-up"] floating enable
  376. for_window [window_role="^Preferences$"] floating enable
  377. for_window [window_role="setup"] floating enable
  378.  
  379. ########### Application Specific Border Settings ###########
  380.  
  381. # for_window [class="Cherrytree"] border pixel 8
  382. # for_window [class="stacer"] border pixel 6
  383. # for_window [cleass="Imagewriter"] border pixel 12
  384. # for_window [class="Termite"] border pixel 12
  385. # for_window [class="vlc"] border pixel 12
  386.  
  387. ########### Loading Applications at Startup ###########
  388.  
  389. # exec i3-save-tree --workspace 13 > ~/.config/i3/workspace-13.json
  390.  
  391. ########### Background Applications ###########
  392.  
  393. exec killall picom &&
  394. exec --no-startup-id picom -b
  395. exec --no-startup-id mousetrap -t 1
  396. exec_always xscreensaver
  397. exec --no-startup-id xscreensaver-demo
  398.  
  399. ########### Typical Applications ###########
  400.  
  401. exec code-oss
  402. exec cherrytree
  403. exec firefox
  404. # exec glimpse-0.1
  405. # exec google-earth-pro
  406. # exec gucharmap
  407. exec joplin
  408. # exec kdenlive
  409. exec libreoffice
  410. # exec meld
  411. exec nemo
  412. # exec stacer
  413. exec transmission-gtk
  414. # exec virtualbox manager
  415. exec vlc
  416.  
  417. ########### Tray Applications ###########
  418.  
  419. # Applications that are not installed will not start
  420. # you may see a wheel - hashtag out things you do not want
  421.  
  422. # Authentication dialog
  423. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  424.  
  425. # Network
  426. exec --no-startup-id nm-applet
  427.  
  428. # Num Lock activated
  429. exec_always --no-startup-id numlockx on
  430.  
  431. # Parcellite
  432. exec parcellite
  433.  
  434. # Redshift
  435. exec redshift
  436.  
  437. # Screenkey
  438. # exec screenkey
  439.  
  440. # Workrave
  441. exec workrave
  442.  
  443. # Volume
  444. #exec --no-startup-id pasystray
  445. exec --no-startup-id volumeicon
  446.  
  447. # Updater
  448. exec --no-startup-id pamac-tray
  449.  
  450. # Dropbox
  451. exec --no-startup-id dropbox start
  452.  
  453. # Megasync
  454. exec megasync
  455.  
  456. # My-Weather-Indicator
  457. exec my-weather-indicator
  458.  
  459. # Clipman
  460. # exec --no-startup-id xfce4-clipman
  461.  
  462. # Conky
  463. # exec --no-startup-id conky -c ~/.config/i3/system-overview
  464.  
  465. # Polybar
  466. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  467.  
  468. ###########################################################################
  469. ########### Applications Keyboard Shortcuts ###########
  470. ###########################################################################
  471.  
  472. ########### 4 Menu Options ###########
  473.  
  474. # Start Rofi drun Mode
  475. bindsym $mod+g exec rofi -show drun -show-icons -theme arthur -lines 12 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  476.  
  477. # Start Rofi Combi Mode
  478. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  479.  
  480. # Start Rofi Window Mode
  481. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons
  482.  
  483. # Start xfce-appfinder
  484. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  485.  
  486. ########### Not Workspace Related ###########
  487.  
  488. # Terminal
  489. bindsym $mod+Return exec --no-startup-id termite;focus
  490. bindsym $mod+KP_Enter exec --no-startup-id termite;focus
  491. bindsym control+mod1+t exec --no-startup-id xfce4-terminal;focus
  492. bindsym control+mod1+Return exec --no-startup-id tilix;focus
  493. bindsym control+mod1+KP_Enter exec --no-startup-id termite;focus
  494.  
  495. # ArcoLinux Tweak tool
  496. bindsym control+Shift+p exec Arcolinux-tweak-tool.py;focus
  497.  
  498. # System monitor
  499. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
  500.  
  501. # Settings
  502. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  503.  
  504. # Catfish
  505. bindsym control+mod1+c exec --no-startup-id catfish;focus
  506.  
  507. # Rofi theme selector
  508. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  509.  
  510. # Htop
  511. # arcolinux conflict
  512. # bindsym $mod+h exec --no-startup-id htop;focus
  513.  
  514. # Pavucontrol
  515. # arcolinux conflict
  516. # bindsym control+mod1+u exec --no-startup-id pavucontrol
  517.  
  518. # Start xfce-appfinder
  519. bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
  520.  
  521. # Pamac-manager
  522. bindsym control+mod1+p exec --no-startup-id pamac-manager
  523.  
  524. # Gnome-Screenshot
  525. bindsym control+PrintScr exec --np-startup-id gnome-Screenshot
  526.  
  527. ########### Workspace Related ###########
  528.  
  529. # Workspace 1 related
  530. bindsym $mod+F1 exec --no-startup-id firefox;focus
  531.  
  532. # Workspace 2 related
  533. bindsym $mod+F2 exec --no-startup-id code-oss;focus
  534. bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
  535.  
  536. # Workspace 3 related
  537. bindsym $mod+F3 exec --nostartup-id Rhythmbox
  538. bindsym $mod+F10 exec --no-startup-id Cherrytree;focus
  539.  
  540. # Workspace 4 related
  541. bindsym $mod+F4 exec --no-startup-id libreoffice
  542.  
  543. # Workspace 5 related
  544. bindsym $mod+F5 exec --no-startup-id kdenlive
  545.  
  546. # Workspace 6 related
  547. bindsym $mod+F6 exec --no-startup-id glimpse-0.1;focus
  548.  
  549. # Workspace 7 related
  550. bindsym $mod+F7 exec --no-startup-id google-earth-pro;focus
  551.  
  552. # Workspace 8 related
  553. bindsym control+mod1+b exec --no-startup-id Thunar;focus
  554. bindsym control+mod1+s exec --no-startup-id stacer;focus
  555.  
  556. # Workspace 9 related
  557. bindsym $mod+F9 exec --no-startup-id meld;focus
  558. bindsym control+mod1+v exec VirtualBox Manager;focus
  559. # bindsym control+mod1+i exec --no-startup-id nitrogen;focus
  560.  
  561. # Workspace 10 related
  562.  
  563. ##########################################################################
  564. ########### Workspace Switching Functions ############
  565. ##########################################################################
  566.  
  567. # switch to workspace
  568. bindsym $mod+1 workspace $ws1
  569. bindsym $mod+2 workspace $ws2
  570. bindsym $mod+3 workspace $ws3
  571. bindsym $mod+4 workspace $ws4
  572. bindsym $mod+5 workspace $ws5
  573. bindsym $mod+6 workspace $ws6
  574. bindsym $mod+7 workspace $ws7
  575. bindsym $mod+8 workspace $ws8
  576. bindsym $mod+9 workspace $ws9
  577. bindsym $mod+0 workspace $ws10
  578. bindsym $mod+minus workspace $ws11
  579. bindsym $mod+equal workspace $ws12
  580. bindsym $mod+apostrophe workspace $ws13
  581. bindsym $mod+bracketright workspace $ws14
  582.  
  583. # move focused container to workspace
  584. bindsym $mod+Shift+1 move container to workspace $ws1
  585. bindsym $mod+Shift+2 move container to workspace $ws2
  586. bindsym $mod+Shift+3 move container to workspace $ws3
  587. bindsym $mod+Shift+4 move container to workspace $ws4
  588. bindsym $mod+Shift+5 move container to workspace $ws5
  589. bindsym $mod+Shift+6 move container to workspace $ws6
  590. bindsym $mod+Shift+7 move container to workspace $ws7
  591. bindsym $mod+Shift+8 move container to workspace $ws8
  592. bindsym $mod+Shift+9 move container to workspace $ws9
  593. bindsym $mod+Shift+0 move container to workspace $ws10
  594. bindsym $mod+Shift+equal move container to workspace $ws11
  595. bindsym $mod+Shift+minus move container to workspace $ws12
  596. bindsym $mod+Shift+n move container to workspace $ws13
  597. bindsym $mod+Shift+m move container to workspace $ws14
  598.  
  599. #################################################################
  600. ########### Navigating Containers ###########
  601. #################################################################
  602.  
  603. # use mouse+$mod to drag floating windows to their new position
  604. floating_modifier $mod
  605.  
  606. # toggle tiling / floating
  607. bindsym $mod+Shift+space floating toggle
  608.  
  609. # change focus
  610. bindsym $mod+$left focus left
  611. bindsym $mod+$down focus down
  612. bindsym $mod+$up focus up
  613. bindsym $mod+$right focus right
  614.  
  615. # alternatively, you can use the cursor keys:
  616. bindsym $mod+Left focus left
  617. bindsym $mod+Down focus down
  618. bindsym $mod+Up focus up
  619. bindsym $mod+Right focus right
  620.  
  621. # move focused window
  622. bindsym $mod+Shift+$left move left
  623. bindsym $mod+Shift+$down move down
  624. bindsym $mod+Shift+$up move up
  625. bindsym $mod+Shift+$right move right
  626.  
  627. # alternatively, you can use the cursor keys:
  628. bindsym $mod+Shift+Left move left
  629. bindsym $mod+Shift+Down move down
  630. bindsym $mod+Shift+Up move up
  631. bindsym $mod+Shift+Right move right
  632.  
  633. #################################################################
  634. ########### Navigating Workspaces ###########
  635. #################################################################
  636.  
  637. # next/previous workspace
  638. bindsym Mod1+Tab workspace next
  639. bindsym Mod1+Shift+Tab workspace prev
  640. bindsym $mod+Tab workspace back_and_forth
  641.  
  642. # navigate workspaces next / previous
  643. bindsym Mod1+Ctrl+Right workspace next
  644. bindsym Mod1+Ctrl+Left workspace prev
  645.  
  646. # switch to workspace with urgent window automatically
  647. # for_window [urgent=latest] focus
  648.  
  649. # switch back to previous workspace by pressing
  650. # the same keybinding used to switch from it
  651. workspace_auto_back_and_forth yes
  652.  
  653. # enable urgent workspace message delay to see what window sent it
  654. force_display_urgency_hint 1000 ms
  655.  
  656. #############################################################
  657. ########### Tiling Parameters ###########
  658. #############################################################
  659.  
  660. # workspace_layout default|stacking|tabbed
  661.  
  662. # orientation for new workspaces
  663. default_orientation horizontal
  664.  
  665. # split in horizontal orientation
  666. bindsym $mod+h split h
  667.  
  668. # split in vertical orientation
  669. bindsym $mod+v split v
  670.  
  671. # enter fullscreen mode for the focused container
  672. bindsym $mod+f fullscreen toggle
  673.  
  674. # change container layout (stacked, tabbed, toggle split)
  675. bindsym $mod+s layout stacking
  676. bindsym $mod+z layout tabbed
  677. bindsym $mod+e layout toggle split
  678.  
  679. # change focus between tiling / floating windows
  680. bindsym $mod+space focus mode_toggle
  681.  
  682. # focus the parent container
  683. bindsym $mod+a focus parent
  684.  
  685. # focus the child "HHVH"
  686. # bindsym $mod+d focus child
  687.  
  688. ######################################################################
  689. ########### Give Focus to Applications ###########
  690. ######################################################################
  691.  
  692. for_window [class="Gnome-terminal"] focus
  693. for_window [class="Termite"] focus
  694. for_window [class="Terminator"] focus
  695.  
  696. ##########################################################
  697. ########### Border Control ###########
  698. ##########################################################
  699.  
  700. # default_border normal | none | pixel
  701. default_border pixel 5
  702.  
  703. # default_floating_border normal | none| pixel
  704. default_floating_border pixel 16
  705.  
  706. # hide_edge_borders none|vertical|horizontal|both|smart
  707. hide_edge_borders smart
  708. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  709.  
  710. ########### changing border style ###########
  711. bindsym $mod+t border normal
  712. bindsym $mod+y border 1pixel
  713. bindsym $mod+u border none
  714.  
  715. new_window pixel 12
  716. # new_window normal
  717. # new_window none
  718.  
  719. new_float pixel 22
  720. # new_float normal
  721. # new_float none
  722.  
  723. #############################################################################
  724. ########### Popups Control In Fullscreen Mode ###########
  725. #############################################################################
  726.  
  727. # popup_during_fullscreen smart|ignore|leave_fullscreen
  728. popup_during_fullscreen leave_fullscreen
  729.  
  730. ##########################################################
  731. ########### Resize Windows ###########
  732. ##########################################################
  733.  
  734. # resize window (you can also use the mouse for that)
  735.  
  736. bindsym $mod+r mode "resize"
  737.  
  738. mode "resize" {
  739. # These bindings trigger as soon as you enter the resize mode
  740.  
  741. # Pressing left will shrink the window’s width.
  742. # Pressing right will grow the window’s width.
  743. # Pressing up will shrink the window’s height.
  744. # Pressing down will grow the window’s height.
  745. bindsym $left resize shrink width 3 px or 3 ppt
  746. bindsym $down resize grow height 1 px or 1 ppt
  747. bindsym $up resize shrink height 1 px or 1 ppt
  748. bindsym $right resize grow width 3 px or 3 ppt
  749.  
  750. # same bindings, but for the arrow keys
  751. bindsym Left resize shrink width 3 px or 3 ppt
  752. bindsym Down resize grow height 1 px or 1 ppt
  753. bindsym Up resize shrink height 1 px or 1 ppt
  754. bindsym Right resize grow width 3 px or 3 ppt
  755.  
  756. # back to normal: Enter or Escape
  757. bindsym Return mode "default"
  758. bindsym Escape mode "default"
  759. }
  760.  
  761. ########### Sticky Floating Windows ###########
  762.  
  763. # make a terminal sticky that was started as a notepad
  764. for_window [instance=notepadqq] sticky enable
  765.  
  766. #########################################################
  767. ########### i3 Next Gaps ############
  768. #########################################################
  769.  
  770. # Settings for I3 next gap git
  771. # https://github.com/Airblader/i3/tree/gaps-next
  772. # delete or uncomment the following lines if you do not have it or do not want it
  773.  
  774. for_window [class="^.*"] border pixel 8
  775. gaps inner 7
  776. gaps outer 7
  777. smart_gaps on
  778. smart_borders on
  779.  
  780. ########### i3 gaps resizing ############
  781.  
  782. set $mode_gaps Gaps: (o) outer, (i) inner
  783. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  784. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  785. bindsym $mod+Shift+g mode "$mode_gaps"
  786.  
  787. mode "$mode_gaps" {
  788. bindsym o mode "$mode_gaps_outer"
  789. bindsym i mode "$mode_gaps_inner"
  790. bindsym Return mode "default"
  791. bindsym Escape mode "default"
  792. }
  793.  
  794. mode "$mode_gaps_inner" {
  795. bindsym plus gaps inner current plus 1
  796. bindsym minus gaps inner current minus 1
  797. bindsym 0 gaps inner current set 0
  798.  
  799. bindsym Shift+plus gaps inner all plus 1
  800. bindsym Shift+minus gaps inner all minus 1
  801. bindsym Shift+0 gaps inner all set 0
  802.  
  803. bindsym Return mode "default"
  804. bindsym Escape mode "default"
  805. }
  806. mode "$mode_gaps_outer" {
  807. bindsym plus gaps outer current plus 1
  808. bindsym minus gaps outer current minus 1
  809. bindsym 0 gaps outer current set 0
  810.  
  811. bindsym Shift+plus gaps outer all plus 1
  812. bindsym Shift+minus gaps outer all minus 1
  813. bindsym Shift+0 gaps outer all set 0
  814.  
  815. bindsym Return mode "default"
  816. bindsym Escape mode "default"
  817. }
  818.  
  819. ###################################################################
  820. ########### Variety for Wallpapers ############
  821. ###################################################################
  822.  
  823. #Variety keybindings mod1 = ALT
  824. # trash wallpaper
  825. bindsym mod1+t exec --no-startup-id variety -t
  826. # next wallpaper
  827. bindsym mod1+n exec --no-startup-id variety -n
  828. bindsym mod1+Right exec --no-startup-id variety -n
  829. # previous wallpaper
  830. bindsym mod1+p exec --no-startup-id variety -p
  831. bindsym mod1+Left exec --no-startup-id variety -p
  832. # favorite wallpaper
  833. bindsym mod1+f exec --no-startup-id variety -f
  834. # pause wallpaper
  835. bindsym mod1+Up exec --no-startup-id variety --pause
  836. # resume wallpaper
  837. bindsym mod1+Down exec --no-startup-id variety --resume
  838.  
  839. ########### Variety with Pywal ###########
  840.  
  841. # next wallpaper
  842. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  843. # previous wallpaper
  844. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  845. # trash wallpaper
  846. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  847. # Update Wallpaper
  848. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  849.  
  850. ##########################################################
  851. ########### Audio Settings ###########
  852. ##########################################################
  853.  
  854. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  855. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  856. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  857. #https://github.com/acrisci/playerctl/
  858. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  859. bindsym XF86AudioNext exec --no-startup-id playerctl next
  860. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  861. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  862.  
  863. ###############################################################
  864. ########### System Applications ###########
  865. ###############################################################
  866.  
  867. exec --no-startup-id xfce4-power-manager &
  868. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  869. # IF xfsettingsd is activated you can not change themes
  870. #exec --no-startup-id xfsettingsd &
  871. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  872.  
  873. ######################## The End - Now Start Again ########################
  874. ####################################################################################################################
  875.  
  876. # All these words are empty baskets
  877. # Carried to the market square
  878. # Trading truth and lies in barter
  879. # Warranting warn buyer beware
  880.  
  881. # All these words are reeds I wove
  882. # Taught to hold my pauper’s share
  883. # Show me yours before and after
  884. # Out in the open we may compare
  885.  
  886. # All these words are on the table
  887. # Yoked to folly the shell game starts
  888. # Trick the eye they who are able
  889. # Cunning those the same the heart
  890.  
  891. # All these words are fruits of labour
  892. # Bounty’s grace on harvest’s day
  893. # Test taste and judge the many flavours
  894. # Fill your need be on your way
  895.  
  896. # All these words so meet and proper
  897. # Morning meals served hot or cold
  898. # Savour meaning old sharecropper
  899. # Recall the stories you were told
  900.  
  901. # All these words are open caskets
  902. # Life goes on even nothing’s fair
  903. # Gather seeds for ever after
  904. # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement