Advertisement
poetician

ArcoLinux i3 | Dual Monitor | Hefftor TWM Wallpaper Changer

Mar 9th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.71 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 #b6b9e1
  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 #80000000 #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 #b6b9e1
  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="vokoscreenNG"] $ws9
  309. assign [class="VirtualBox Machine"] $ws10
  310. assign [class="Hefftor_SkelApp.py"] $ws11
  311. assign [class="Hefftor_polybar_switcher.py"] $ws11
  312. assign [class="Hefftors-twm-color-changer.py"] $ws11
  313. assign [class="Hefftor-betterlockscreen-gui.py"] $ws11
  314. assign [class="Notepadqq"] $ws12
  315. assign [class="Joplin"] $ws12
  316. assign [class="vlc"] $ws13
  317. assign [class="Timeshift-gtk"] $ws13
  318. assign [class="Arcolinux-tweak-tool.py"] $ws13
  319. # assign [class="Gufw.py"] $ws13
  320. assign [class="Transmission-gtk"] $ws14
  321. assign [class="Xscreensaver-demo"] $ws14
  322.  
  323. #############################################################
  324. ########### Floating or Tiled ###########
  325. #############################################################
  326.  
  327. ########### Floating enabled / disabled; find class name with xprop; border option ###########
  328.  
  329. for_window [class="ArcoLinux Conky Manager"] floating enable
  330. for_window [class="Arcolinux-tweak-tool.py"] floating enable
  331. for_window [class="Arcolinux-tweak-tool.py"] move position 2845 75
  332. # for_window [class="Cherrytree"] floating enable
  333. # for_window [class="Cherrytree"] move position 20 40
  334. # for_window [class="Cherrytree"] border pixel 8
  335. for_window [class="Create Snapshot"] floating enable
  336. for_window [class="digikam"] floating enable
  337. for_window [class="File-roller"] floating enable
  338. for_window [class="Font-manager"] floating enable
  339. for_window [class="Galculator"] floating enable
  340. for_window [class="Gnome-disks"] floating disable
  341. for_window [class="^Gnome-font-viewer$"] floating enable
  342. for_window [class="^Gpick$"] floating enable
  343. for_window [class="Grub-customizer"] floating enable
  344. for_window [class="Gucharmap"] move scratchpad
  345. for_window [class="Gucharmap"] floating enable
  346. for_window [class="Gucharmap"] move position 1960 60
  347. # for_window [class="Gufw.py"] floating enable
  348. # for_window [class="Gufw.py"] move position 2780 80
  349. # for_window [class="Gufw.py"] move absolute position center
  350. # for_window [class="Gufw.py"] move scratchpad
  351. for_window [class="Hefftor-betterlockscreen-gui.py"] floating enable
  352. for_window [class="Hefftor-betterlockscreen-gui.py"] move position 3100 570
  353. # for_window [class="Hefftor_SkelApp.py"] move scratchpad
  354. # for_window [class="Hefftor_SkelApp.py"] move 400 200
  355. for_window [class="Hefftor_SkelApp.py"] floating enable
  356. # for_window [class="Hefftor_SkelApp.py"] move scratchpad
  357. for_window [class="Hefftor_SkelApp.py"] move absolute position 2594 240
  358. for_window [class="Hefftor_polybar_switcher.py"] floating enable
  359. for_window [class="Hefftor_polybar_switcher.py"] move position 1950 50
  360. for_window [class="Hefftor-twm-wallpaper-changer.py"] floating enable
  361. for_window [class="Hefftor-twm-wallpaper-changer.py"] move position 3108 545
  362. for_window [class="Hefftors-twm-color-changer.py"] floating enable
  363. for_window [class="Hefftors-twm-color-changer.py"] move position 3101 50
  364. for_window [class="kdenlive"] move absolute position center
  365. for_window [class="Imagewriter"] floating enable
  366. for_window [class="qt5ct|Lxappearance"] floating enable
  367. for_window [class="Pamac-manager"] floating enable
  368. # for_window [class="Pavucontrol"] floating enable
  369. # for_window [class="Peek"] floating disable
  370. # for_window [class="stacer"] floating enable
  371. # for_window [class="stacer"] move position 1020 36
  372. for_window [class="System-config-printer.py"] floating enable
  373. for_window [class="Termite"] floating enable
  374. for_window [class="Tilix"] floating enable
  375. # for_window [class="Tilix"] move scratchpad
  376. for_window [class="Tilix"] move 1200 360
  377. for_window [class="Timeshift-gtk"] floating enable
  378. for_window [class="Timeshift-gtk"] move position 1975 75
  379. # for_window [class="Timeshift-gtk"] move scratchpad
  380. # for_window [class="Transmission-gtk"] move scratchpad
  381. for_window [class="Transmission-gtk"] floating enable
  382. for_window [class="Transmission-gtk"] move position 2000 80
  383. # for_window [class="Transmission-gtk"] floating_minimum_size 600 x 200
  384. for_window [class="Transmission-gtk"] floating_maximum_size 700 x 300
  385. for_window [class="Usb-creator-gtk"] floating enable
  386. for_window [class="Variety"] floating enable
  387. for_window [class="Variety"] floating_minimum_size 1000 x 800
  388. for_window [class="VirtualBox"] floating enable
  389. for_window [class="VirtualBox"] move position 3010 260
  390. for_window [class="VirtualBox Manager"] floating enable
  391. # for_window [class="VirtualBox Manager"] move scratchpad
  392. for_window [class="VirtualBox Manager"] move position 1980 60
  393. for_window [class="VirtualBox Machine"] floating disable
  394. for_window [class="^Vlc$"] floating enable
  395. # for_window [class="^Vlc$"] move position 20 960
  396. # for_window [class="vlc"] floating_minimum_size 1640 x 160
  397. for_window [class="vlc"] floating_maximum_size 1800 x 180
  398. for_window [class="vlc"] move position 1928 930
  399. for_window [class="vokoscreenNG"] floating enable
  400. # for_window [class="vokoscreenNG"] move scratchpad
  401. for_window [class="vokoscreenNG"] floating_minimum_size 780 x 450
  402. for_window [class="vokoscreenNG"] move position 3000 320
  403. for_window [class="Workrave"] floating enable
  404. for_window [class="Workrave"] move position 1940 60
  405. for_window [class="Xfce4-appfinder"] floating enable
  406. for_window [class="Xfce4-dict"] floating enable
  407. for_window [class="Xfce4-settings-manager"] floating enable
  408. for_window [class="Xfce4-taskmanager"] floating enable
  409. for_window [class="Xscreensaver-demo"] floating enable
  410. for_window [class="Xscreensaver-demo"] move position 2920 80
  411. for_window [class="Xscreensaver-demo"] floating_maximum_size 900 x 800
  412.  
  413. # for_window [instance="gimp"] floating disable
  414. # for_window [instance="script-fu"] border normal
  415. # for_window [instance="Variety Preferences"] floating enable
  416. for_window [title="Copying"] floating enable
  417. for_window [title="Deleting"] floating enable
  418. for_window [title="Moving"] floating enable
  419. for_window [title="^Terminator Preferences$"] floating enable
  420. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  421. for_window [window_role="pop-up"] floating enable
  422. for_window [window_role="^Preferences$"] floating enable
  423. for_window [window_role="setup"] floating enable
  424.  
  425. ########### Application Specific Border Settings ###########
  426.  
  427. # for_window [class="Cherrytree"] border pixel 8
  428. # for_window [class="stacer"] border pixel 6
  429. # for_window [cleass="Imagewriter"] border pixel 12
  430. # for_window [class="Termite"] border pixel 12
  431. # for_window [class="vlc"] border pixel 12
  432.  
  433. ########### Loading Applications at Startup ###########
  434.  
  435. # exec i3-save-tree --workspace 13 > ~/.config/i3/workspace-13.json
  436.  
  437. ########### Background Applications ###########
  438.  
  439. exec killall picom &&
  440. exec --no-startup-id picom -b
  441. exec --no-startup-id mousetrap -t 1
  442. exec_always xscreensaver
  443. exec --no-startup-id xscreensaver-demo
  444.  
  445. ########### Typical Applications ###########
  446.  
  447. exec code-oss
  448. exec cherrytree
  449. exec firefox
  450. # exec glimpse-0.1
  451. # exec google-earth-pro
  452. # exec gucharmap
  453. exec joplin
  454. # exec kdenlive
  455. exec libreoffice
  456. # exec meld
  457. exec nemo
  458. # exec stacer
  459. exec transmission-gtk
  460. # exec virtualbox manager
  461. exec vlc
  462.  
  463. ########### Tray Applications ###########
  464.  
  465. # Applications that are not installed will not start
  466. # you may see a wheel - hashtag out things you do not want
  467.  
  468. # Authentication dialog
  469. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  470.  
  471. # Network
  472. exec --no-startup-id nm-applet
  473.  
  474. # Num Lock activated
  475. exec_always --no-startup-id numlockx on
  476.  
  477. # Parcellite
  478. exec parcellite
  479.  
  480. # Redshift
  481. exec redshift
  482.  
  483. # Screenkey
  484. # exec screenkey
  485.  
  486. # Workrave
  487. exec workrave
  488.  
  489. # Volume
  490. #exec --no-startup-id pasystray
  491. exec --no-startup-id volumeicon
  492.  
  493. # Updater
  494. exec --no-startup-id pamac-tray
  495.  
  496. # Dropbox
  497. exec --no-startup-id dropbox start
  498.  
  499. # Megasync
  500. exec megasync
  501.  
  502. # My-Weather-Indicator
  503. exec my-weather-indicator
  504.  
  505. # Clipman
  506. # exec --no-startup-id xfce4-clipman
  507.  
  508. # Conky
  509. # exec --no-startup-id conky -c ~/.config/i3/system-overview
  510.  
  511. # Polybar
  512. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  513.  
  514. ###########################################################################
  515. ########### Applications Keyboard Shortcuts ###########
  516. ###########################################################################
  517.  
  518. ########### 4 Menu Options ###########
  519.  
  520. # Start Rofi drun Mode
  521. bindsym $mod+g exec rofi -show drun -show-icons -theme arthur -lines 12 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  522.  
  523. # Start Rofi Combi Mode
  524. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  525.  
  526. # Start Rofi Window Mode
  527. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons
  528.  
  529. # Start xfce-appfinder
  530. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  531.  
  532. ########### Not Workspace Related ###########
  533.  
  534. # Terminal
  535. bindsym $mod+Return exec --no-startup-id termite;focus
  536. bindsym $mod+KP_Enter exec --no-startup-id termite;focus
  537. bindsym control+mod1+t exec --no-startup-id xfce4-terminal;focus
  538. bindsym control+mod1+Return exec --no-startup-id tilix;focus
  539. bindsym control+mod1+KP_Enter exec --no-startup-id termite;focus
  540.  
  541. # ArcoLinux Tweak tool
  542. bindsym control+Shift+p exec Arcolinux-tweak-tool.py;focus
  543.  
  544. # System monitor
  545. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
  546.  
  547. # Settings
  548. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  549.  
  550. # Catfish
  551. bindsym control+mod1+c exec --no-startup-id catfish;focus
  552.  
  553. # Rofi theme selector
  554. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  555.  
  556. # Htop
  557. # arcolinux conflict
  558. # bindsym $mod+h exec --no-startup-id htop;focus
  559.  
  560. # Pavucontrol
  561. # arcolinux conflict
  562. # bindsym control+mod1+u exec --no-startup-id pavucontrol
  563.  
  564. # Start xfce-appfinder
  565. bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
  566.  
  567. # Pamac-manager
  568. bindsym control+mod1+p exec --no-startup-id pamac-manager
  569.  
  570. # Gnome-Screenshot
  571. bindsym control+PrintScr exec --np-startup-id gnome-Screenshot
  572.  
  573. ########### Workspace Related ###########
  574.  
  575. # Workspace 1 related
  576. bindsym $mod+F1 exec --no-startup-id firefox;focus
  577.  
  578. # Workspace 2 related
  579. bindsym $mod+F2 exec --no-startup-id code-oss;focus
  580. bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
  581.  
  582. # Workspace 3 related
  583. bindsym $mod+F3 exec --nostartup-id Rhythmbox
  584. bindsym $mod+F10 exec --no-startup-id Cherrytree;focus
  585.  
  586. # Workspace 4 related
  587. bindsym $mod+F4 exec --no-startup-id libreoffice
  588.  
  589. # Workspace 5 related
  590. bindsym $mod+F5 exec --no-startup-id kdenlive
  591.  
  592. # Workspace 6 related
  593. bindsym $mod+F6 exec --no-startup-id glimpse-0.1;focus
  594.  
  595. # Workspace 7 related
  596. bindsym $mod+F7 exec --no-startup-id google-earth-pro;focus
  597.  
  598. # Workspace 8 related
  599. bindsym control+mod1+b exec --no-startup-id Thunar;focus
  600. bindsym control+mod1+s exec --no-startup-id stacer;focus
  601.  
  602. # Workspace 9 related
  603. bindsym $mod+F9 exec --no-startup-id meld;focus
  604. bindsym control+mod1+v exec VirtualBox Manager;focus
  605. # bindsym control+mod1+i exec --no-startup-id nitrogen;focus
  606.  
  607. ##########################################################################
  608. ########### Workspace Switching Functions ############
  609. ##########################################################################
  610.  
  611. # switch to workspace
  612. bindsym $mod+1 workspace $ws1
  613. bindsym $mod+2 workspace $ws2
  614. bindsym $mod+3 workspace $ws3
  615. bindsym $mod+4 workspace $ws4
  616. bindsym $mod+5 workspace $ws5
  617. bindsym $mod+6 workspace $ws6
  618. bindsym $mod+7 workspace $ws7
  619. bindsym $mod+8 workspace $ws8
  620. bindsym $mod+9 workspace $ws9
  621. bindsym $mod+0 workspace $ws10
  622. bindsym $mod+minus workspace $ws11
  623. bindsym $mod+equal workspace $ws12
  624. bindsym $mod+bracketleft workspace $ws13
  625. bindsym $mod+bracketright workspace $ws14
  626.  
  627. # move focused container to workspace
  628. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  629. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  630. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  631. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  632. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  633. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  634. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  635. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  636. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  637. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  638. bindsym $mod+Shift+minus move container to workspace $ws11
  639. bindsym $mod+Shift+equal move container to workspace $ws12
  640. bindsym $mod+Shift+bracketleft move container to workspace $ws13
  641. bindsym $mod+Shift+bracketright move container to workspace $ws14
  642.  
  643. #################################################################
  644. ########### Navigating Containers ###########
  645. #################################################################
  646.  
  647. # use mouse+$mod to drag floating windows to their new position
  648. floating_modifier $mod
  649.  
  650. # toggle tiling / floating
  651. bindsym $mod+Shift+space floating toggle
  652.  
  653. # change focus
  654. bindsym $mod+$left focus left
  655. bindsym $mod+$down focus down
  656. bindsym $mod+$up focus up
  657. bindsym $mod+$right focus right
  658.  
  659. # alternatively, you can use the cursor keys:
  660. bindsym $mod+Left focus left
  661. bindsym $mod+Down focus down
  662. bindsym $mod+Up focus up
  663. bindsym $mod+Right focus right
  664.  
  665. # move focused window
  666. bindsym $mod+Shift+$left move left
  667. bindsym $mod+Shift+$down move down
  668. bindsym $mod+Shift+$up move up
  669. bindsym $mod+Shift+$right move right
  670.  
  671. # alternatively, you can use the cursor keys:
  672. bindsym $mod+Shift+Left move left
  673. bindsym $mod+Shift+Down move down
  674. bindsym $mod+Shift+Up move up
  675. bindsym $mod+Shift+Right move right
  676.  
  677. #################################################################
  678. ########### Navigating Workspaces ###########
  679. #################################################################
  680.  
  681. # next/previous workspace
  682. bindsym Mod1+Tab workspace next
  683. bindsym Mod1+Shift+Tab workspace prev
  684. bindsym $mod+Tab workspace back_and_forth
  685.  
  686. # navigate workspaces next / previous
  687. bindsym Mod1+Ctrl+Right workspace next
  688. bindsym Mod1+Ctrl+Left workspace prev
  689.  
  690. # switch to workspace with urgent window automatically
  691. # for_window [urgent=latest] focus
  692.  
  693. # switch back to previous workspace by pressing the same keybinding used to switch from it
  694. workspace_auto_back_and_forth yes
  695.  
  696. # enable urgent workspace message delay to see what window sent it
  697. # force_display_urgency_hint 1000 ms
  698.  
  699. #############################################################
  700. ########### Tiling Parameters ###########
  701. #############################################################
  702.  
  703. # workspace_layout default|stacking|tabbed
  704.  
  705. # orientation for new workspaces
  706. default_orientation horizontal
  707.  
  708. # split in horizontal orientation
  709. bindsym $mod+h split h
  710.  
  711. # split in vertical orientation
  712. bindsym $mod+v split v
  713.  
  714. # enter fullscreen mode for the focused container
  715. bindsym $mod+f fullscreen toggle
  716.  
  717. # change container layout (stacked, tabbed, toggle split)
  718. bindsym $mod+s layout stacking
  719. bindsym $mod+z layout tabbed
  720. bindsym $mod+e layout toggle split
  721.  
  722. # change focus between tiling / floating windows
  723. bindsym $mod+space focus mode_toggle
  724.  
  725. # focus the parent container
  726. bindsym $mod+a focus parent
  727.  
  728. # focus the child "HHVH"
  729. # bindsym $mod+d focus child
  730.  
  731. ######################################################################
  732. ########### Give Focus to Applications ###########
  733. ######################################################################
  734.  
  735. for_window [class="code-oss"] focus
  736. # for_window [class="libreoffice-startcenter"] focus
  737. for_window [class="Firefox"] focus
  738. for_window [class="Gnome-terminal"] focus
  739. for_window [class="google-earth-pro"] focus
  740. for_window [class="meld"] focus
  741. for_window [class="Termite"] focus
  742. for_window [class="Terminator"] focus
  743.  
  744. ##########################################################
  745. ########### Border Control ###########
  746. ##########################################################
  747.  
  748. # default_border normal | none | pixel
  749. default_border pixel 5
  750.  
  751. # default_floating_border normal | none| pixel
  752. default_floating_border pixel 12
  753.  
  754. # hide_edge_borders none|vertical|horizontal|both|smart
  755. hide_edge_borders smart
  756. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  757.  
  758. ########### changing border style ###########
  759.  
  760. bindsym $mod+t border normal
  761. bindsym $mod+y border 1pixel
  762. bindsym $mod+u border none
  763.  
  764. new_window pixel 12
  765. # new_window normal
  766. # new_window none
  767.  
  768. new_float pixel 12
  769. # new_float normal
  770. # new_float none
  771.  
  772. #############################################################################
  773. ########### Popup Control In Fullscreen Mode ###########
  774. #############################################################################
  775.  
  776. # popup_during_fullscreen smart|ignore|leave_fullscreen
  777. popup_during_fullscreen smart
  778.  
  779. ##########################################################
  780. ########### Resize Windows ###########
  781. ##########################################################
  782.  
  783. # resize window (you can also use the mouse for that)
  784.  
  785. bindsym $mod+r mode "resize"
  786.  
  787. mode "resize" {
  788. # These bindings trigger as soon as you enter the resize mode
  789.  
  790. # Pressing left will shrink the window’s width.
  791. # Pressing right will grow the window’s width.
  792. # Pressing up will shrink the window’s height.
  793. # Pressing down will grow the window’s height.
  794. bindsym $left resize shrink width 3 px or 3 ppt
  795. bindsym $down resize grow height 1 px or 1 ppt
  796. bindsym $up resize shrink height 1 px or 1 ppt
  797. bindsym $right resize grow width 3 px or 3 ppt
  798.  
  799. # same bindings, but for the arrow keys
  800. bindsym Left resize shrink width 3 px or 3 ppt
  801. bindsym Down resize grow height 1 px or 1 ppt
  802. bindsym Up resize shrink height 1 px or 1 ppt
  803. bindsym Right resize grow width 3 px or 3 ppt
  804.  
  805. # back to normal: Enter or Escape
  806. bindsym Return mode "default"
  807. bindsym Escape mode "default"
  808. }
  809.  
  810. ########### Sticky Floating Windows ###########
  811.  
  812. # make a terminal sticky that was started as a notepad
  813. for_window [instance=notepadqq] sticky enable
  814.  
  815. #########################################################
  816. ########### i3 Next Gaps ############
  817. #########################################################
  818.  
  819. # Settings for I3 next gap git
  820. # https://github.com/Airblader/i3/tree/gaps-next
  821. # delete or uncomment the following lines if you do not have it or do not want it
  822.  
  823. for_window [class="^.*"] border pixel 8
  824. gaps inner 7
  825. gaps outer 7
  826. smart_gaps on
  827. smart_borders on
  828.  
  829. ########### i3 gaps resizing ############
  830.  
  831. set $mode_gaps Gaps: (o) outer, (i) inner
  832. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  833. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  834. bindsym $mod+Shift+g mode "$mode_gaps"
  835.  
  836. mode "$mode_gaps" {
  837. bindsym o mode "$mode_gaps_outer"
  838. bindsym i mode "$mode_gaps_inner"
  839. bindsym Return mode "default"
  840. bindsym Escape mode "default"
  841. }
  842.  
  843. mode "$mode_gaps_inner" {
  844. bindsym plus gaps inner current plus 1
  845. bindsym minus gaps inner current minus 1
  846. bindsym 0 gaps inner current set 0
  847.  
  848. bindsym Shift+plus gaps inner all plus 1
  849. bindsym Shift+minus gaps inner all minus 1
  850. bindsym Shift+0 gaps inner all set 0
  851.  
  852. bindsym Return mode "default"
  853. bindsym Escape mode "default"
  854. }
  855. mode "$mode_gaps_outer" {
  856. bindsym plus gaps outer current plus 1
  857. bindsym minus gaps outer current minus 1
  858. bindsym 0 gaps outer current set 0
  859.  
  860. bindsym Shift+plus gaps outer all plus 1
  861. bindsym Shift+minus gaps outer all minus 1
  862. bindsym Shift+0 gaps outer all set 0
  863.  
  864. bindsym Return mode "default"
  865. bindsym Escape mode "default"
  866. }
  867.  
  868. ###################################################################
  869. ########### Variety for Wallpapers ############
  870. ###################################################################
  871.  
  872. # Variety keybindings mod1 = ALT
  873.  
  874. # trash wallpaper
  875. bindsym mod1+t exec --no-startup-id variety -t
  876. # next wallpaper
  877. bindsym mod1+n exec --no-startup-id variety -n
  878. bindsym mod1+Right exec --no-startup-id variety -n
  879. # previous wallpaper
  880. bindsym mod1+p exec --no-startup-id variety -p
  881. bindsym mod1+Left exec --no-startup-id variety -p
  882. # favorite wallpaper
  883. bindsym mod1+f exec --no-startup-id variety -f
  884. # pause wallpaper
  885. bindsym mod1+Up exec --no-startup-id variety --pause
  886. # resume wallpaper
  887. bindsym mod1+Down exec --no-startup-id variety --resume
  888.  
  889. ########### Variety with Pywal ###########
  890.  
  891. # next wallpaper
  892. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  893. # previous wallpaper
  894. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  895. # trash wallpaper
  896. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  897. # Update Wallpaper
  898. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  899.  
  900. ##########################################################
  901. ########### Audio Settings ###########
  902. ##########################################################
  903.  
  904. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  905. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  906. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  907. #https://github.com/acrisci/playerctl/
  908. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  909. bindsym XF86AudioNext exec --no-startup-id playerctl next
  910. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  911. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  912.  
  913. ###############################################################
  914. ########### System Applications ###########
  915. ###############################################################
  916.  
  917. exec --no-startup-id xfce4-power-manager &
  918. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  919. # IF xfsettingsd is activated you can not change themes
  920. #exec --no-startup-id xfsettingsd &
  921. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  922.  
  923. ######################## The End - Now Start Again ########################
  924. ####################################################################################################################
  925.  
  926. # All these words are empty baskets
  927. # Carried to the market square
  928. # Trading truth and lies in barter
  929. # Warranting warn buyer beware
  930.  
  931. # All these words are reeds I wove
  932. # Taught to hold my pauper’s share
  933. # Show me yours before and after
  934. # Out in the open we may compare
  935.  
  936. # All these words are on the table
  937. # Yoked to folly the shell game starts
  938. # Trick the eye they who are able
  939. # Cunning those the same the heart
  940.  
  941. # All these words are fruits of labour
  942. # Bounty’s grace on harvest’s day
  943. # Test taste and judge the many flavours
  944. # Fill your need be on your way
  945.  
  946. # All these words so meet and proper
  947. # Morning meals served hot or cold
  948. # Savour meaning old sharecropper
  949. # Recall the stories you were told
  950.  
  951. # All these words are open caskets
  952. # Life goes on even nothing’s fair
  953. # Gather seeds for ever after
  954. # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement