Advertisement
poetician

ArcoLinux i3 | Dual Monitor | New Tools Layout ws11 ws13

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