Advertisement
poetician

ArcoLinux i3wm Transparency Extra Workspaces

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