Advertisement
poetician

ArcoLinuxB i3wm Transparency in workspace fixed

Feb 21st, 2020
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.95 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 #FF000000
  183. statusline #FF000000
  184. separator #FF000000
  185. # border backgr. text
  186. focused_workspace #FF000000 #80000000 #899a99
  187. inactive_workspace #FF000000 #FF000000 #f4cd52
  188. urgent_workspace #40281948 #4011093e #f4cd52
  189. }
  190.  
  191. }
  192.  
  193. # class border backgr. text indicator child-border
  194. client.placeholder #FF000000 #40281948 #7C0A02 #B87333 #261496
  195. client.background #f4cd52 #84281948 #7C0A02 #B87333 #261496
  196. client.unfocused #FF000000 #BF7C0A02 #f4cd52 #B87333 #261496
  197. client.focused #FF000000 #FF000000 #B87333 #FF000000 #6c71c4
  198. client.focused_inactive #281948 #BF281948 #281948 #FFB87333 #6c71c4
  199. client.urgent #11093e #8446d4 #a16b1c #11093e #8446d4
  200.  
  201. ########### Colour Picker ###########
  202.  
  203. # #222222
  204. # #ffffff #a9a9a9 #c2c2b8
  205. # #760b0b #900000
  206. # #089635 #104022 #054d23 #033317 #02180b
  207. # #281948 #110034 #11093e #261496 #8446d4 #6c71c4
  208. # #a16b1c #FFAF00 #e69722 #f4cd52
  209. # #cd7f32 Bronze
  210. # #B87333 Copper
  211. # #c0c0c0 Silver
  212. # #d4af37 Gold
  213. # #022051 Sapphire
  214. # #7C0A02 Barn Red
  215. # #E0115F Ruby
  216. # #dc143c Crimson
  217. # #e34234 Vermillion
  218. # #dda0ad Plum
  219. # #899a99 Pewter
  220. # #568203 Avocado
  221. # #2e5e5b Pine Green
  222. # #1f3d0c Deep Forest Green
  223. # #4f433f Tudor Brown
  224. # #FAEBD7 Antique White
  225.  
  226. # Transparency values
  227. # 100% — FF
  228. # 95% — F2
  229. # 90% — E6
  230. # 85% — D9
  231. # 80% — CC
  232. # 75% — BF
  233. # 70% — B3
  234. # 65% — A6
  235. # 60% — 99
  236. # 55% — 8C
  237. # 50% — 80
  238. # 45% — 73
  239. # 40% — 66
  240. # 35% — 59
  241. # 30% — 4D
  242. # 25% — 40
  243. # 20% — 33
  244. # 15% — 26
  245. # 10% — 1A
  246. # 5% — 0D
  247. # 0% — 00
  248.  
  249. ############################################################################
  250. ########### Workspace Names and Assignments ############
  251. ############################################################################
  252.  
  253. ########### Workspaces named with variables avoids repetition ###########
  254.  
  255. set $ws1 "1 "
  256. set $ws2 "2 𑢰 ꗇ"
  257. #set $ws3 "3 🎞 🎜"
  258. set $ws3 "3 ꪜ ⴽ"
  259. set $ws4 "4 𑣦"
  260. #set $ws5 "5 📽"
  261. set $ws5 "5 𞢐"
  262. set $ws6 "6 G"
  263. set $ws7 "7 "
  264. set $ws8 "8 "
  265. set $ws9 "9 𑣣"
  266. set $ws10 "10 𖭧"
  267.  
  268. ########### Loading Applications in Designated Workspaces ###########
  269.  
  270. assign [class="Firefox"] $ws1
  271. assign [class="vivaldi-stable"] $ws1
  272. assign [class="Nemo"] $ws2
  273. assign [class="atom"] $ws2
  274. assign [class="Rhythmbox"] $ws3
  275. assign [class="vlc"] $ws3
  276. assign [class="libreoffice"] $ws4
  277. assign [class="Gucharmap"] $ws4
  278. assign [class="kdenlive"] $ws5
  279. assign [class="Glimpse-0.1"] $ws6
  280. assign [class="Google Earth Pro"] $ws7
  281. assign [class="Cherrytree"] $ws8
  282. assign [class="stacer"] $ws8
  283. assign [class="Arcolinux-tweak-tool.py"] $ws8
  284. assign [class="Meld"] $ws9
  285. assign [class="VirtualBox Machine"] $ws9
  286. assign [class="Notepadqq"] $ws10
  287. assign [class="Gufw.py"] $ws10
  288. assign [class="Timeshift-gtk"] $ws10
  289. assign [class="Transmission-gtk"] $ws10
  290. assign [class="Xscreensaver-demo"] $ws10
  291.  
  292. ########### Loading Applications at Startup ###########
  293.  
  294. ########### Background Applications ###########
  295.  
  296. exec_always compton -c
  297. exec --no-startup-id mousetrap -t 1
  298. exec_always xscreensaver
  299. exec --no-startup-id xscreensaver-demo
  300. # exec nitrogen --restore
  301.  
  302. ########### Typical Applications ###########
  303.  
  304. # exec atom (doesn't load into assigned $ws)
  305. exec cherrytree
  306. exec firefox
  307. # exec glimpse-0.1
  308. # exec google-earth-pro
  309. # exec gucharmap
  310. # exec kdenlive
  311. exec libreoffice
  312. # exec meld
  313. exec nemo
  314. # exec rhythmbox
  315. # exec stacer
  316. exec transmission-gtk
  317. # exec vivaldi-stable
  318. exec vlc
  319.  
  320. ########### Tray Applications ###########
  321.  
  322. # Applications that are not installed will not start
  323. # you may see a wheel - hashtag out things you do not want
  324.  
  325. # Authentication dialog
  326. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  327.  
  328. # Dropbox
  329. exec --no-startup-id dropbox start
  330.  
  331. # Megasync
  332. exec megasync
  333.  
  334. # My-Weather-Indicator
  335. exec my-weather-indicator
  336.  
  337. # Network
  338. exec --no-startup-id nm-applet
  339.  
  340. # Num Lock activated
  341. exec_always --no-startup-id numlockx on
  342.  
  343. # Parcellite
  344. exec parcellite
  345.  
  346. # Redshift
  347. exec redshift
  348.  
  349. # Screenkey
  350. # exec screenkey
  351.  
  352. # Updater
  353. exec --no-startup-id pamac-tray
  354.  
  355. # Volume
  356. #exec --no-startup-id pasystray
  357. exec --no-startup-id volumeicon
  358.  
  359. # Workrave
  360. exec workrave
  361.  
  362. # Clipman
  363. # exec --no-startup-id xfce4-clipman
  364.  
  365. # Conky
  366. # exec --no-startup-id conky -c ~/.config/i3/system-overview
  367.  
  368. # Polybar
  369. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  370.  
  371. ###########################################################################
  372. ########### Applications Keyboard Shortcuts ###########
  373. ###########################################################################
  374.  
  375. ########### 6 Menu Options ###########
  376.  
  377. # Start Rofi drun Mode
  378. bindsym $mod+g exec rofi -show drun -show-icons -theme arthur -lines 12 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  379.  
  380. # Start Rofi Combi Mode
  381. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  382.  
  383. # Start Rofi Window Mode
  384. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons
  385.  
  386. # Start DMenu from .desktop applications only
  387. bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
  388.  
  389. # Start Gmrun
  390. bindsym mod1+F2 exec --no-startup-id gmrun
  391.  
  392. # Start xfce-appfinder
  393. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  394.  
  395. ########### Not Workspace Related ###########
  396.  
  397. # Terminal
  398. bindsym $mod+Return exec --no-startup-id termite;focus
  399. bindsym $mod+KP_Enter exec --no-startup-id termite;focus
  400. bindsym control+mod1+t exec --no-startup-id xfce4-terminal;focus
  401. bindsym control+mod1+Return exec --no-startup-id tilix;focus
  402. bindsym control+mod1+KP_Enter exec --no-startup-id termite;focus
  403.  
  404. # ArcoLinux Tweak tool
  405. bindsym control+Shift+p exec Arcolinux-tweak-tool.py;focus
  406.  
  407. # System monitor
  408. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
  409.  
  410. # Settings
  411. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  412.  
  413. # Catfish
  414. bindsym control+mod1+c exec --no-startup-id catfish;focus
  415.  
  416. # Rofi theme selector
  417. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  418.  
  419. # Htop
  420. # arcolinux conflict
  421. # bindsym $mod+h exec --no-startup-id htop;focus
  422.  
  423. # Pavucontrol
  424. # arcolinux conflict
  425. # bindsym control+mod1+u exec --no-startup-id pavucontrol
  426.  
  427. # Start xfce-appfinder
  428. bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
  429.  
  430. # Pamac-manager
  431. bindsym control+mod1+p exec --no-startup-id pamac-manager
  432.  
  433. ########### Workspace Related ###########
  434.  
  435. # Workspace 1 related
  436. bindsym $mod+F1 exec --no-startup-id firefox;focus
  437. bindsym $mod1+Alt+w exec --no-startup-id vivaldi-stable;focus
  438.  
  439. # Workspace 2 related
  440. bindsym $mod+F2 exec --no-startup-id atom;focus
  441. bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
  442.  
  443. # Workspace 3 related
  444. bindsym $mod+F3 exec --nostartup-id Rhythmbox
  445. bindsym $mod+F8 exec --nostartup-id vlc
  446.  
  447. # Workspace 4 related
  448. bindsym $mod+F4 exec --no-startup-id libreoffice
  449.  
  450. # Workspace 5 related
  451. bindsym $mod+F5 exec --no-startup-id kdenlive
  452.  
  453. # Workspace 6 related
  454. bindsym $mod+F6 exec --no-startup-id glimpse-0.1;focus
  455.  
  456. # Workspace 7 related
  457. bindsym $mod+F7 exec --no-startup-id google-earth-pro;focus
  458.  
  459. # Workspace 8 related
  460. bindsym control+mod1+b exec --no-startup-id Thunar;focus
  461. bindsym $mod+F10 exec --no-startup-id Cherrytree;focus
  462. bindsym control+mod1+s exec --no-startup-id stacer;focus
  463.  
  464. # Workspace 9 related
  465. bindsym $mod+F9 exec --no-startup-id meld;focus
  466. # bindsym control+mod1+i exec --no-startup-id nitrogen;focus
  467.  
  468. # Workspace 10 related
  469.  
  470. #############################################################
  471. ########### Floating or Tiled ###########
  472. #############################################################
  473.  
  474. ########### Floating enabled / disabled; find class name with xprop; border option ###########
  475.  
  476. for_window [class="Arcolinux-tweak-tool.py"] floating enable
  477. for_window [class="Bleachbit"] floating disable
  478. for_window [class="Brasero"] floating disable
  479. for_window [class="Cherrytree"] floating disable border pixel 8
  480. for_window [class="Create Snapshot"] floating enable
  481. for_window [class="digikam"] floating enable
  482. for_window [class="File-roller"] floating enable
  483. for_window [class="Galculator"] floating enable
  484. for_window [class="Gnome-disks"] floating disable
  485. for_window [class="^Gnome-font-viewer$"] floating enable
  486. for_window [class="^Gpick$"] floating enable
  487. for_window [class="Grub-customizer"] floating enable
  488. for_window [class="Gucharmap"] floating enable
  489. for_window [class="Gufw.py"] floating disable
  490. for_window [class="Hexchat"] floating disable
  491. for_window [class="Imagewriter"] floating enable
  492. for_window [class="Font-manager"] floating enable
  493. # for_window [class="qt5ct|Lxappearance] floating disable
  494. # for_window [class="Nitrogen"] floating enable
  495. for_window [class="Pamac-manager"] floating enable
  496. # for_window [class="Pavucontrol"] floating enable
  497. # for_window [class="Peek"] floating disable
  498. for_window [class="Hefftor_SkelApp.py"] floating enable
  499. for_window [class="stacer"] floating enable
  500. for_window [class="System-config-printer.py"] floating enable
  501. #for_window [class="Termite"] floating enable
  502. for_window [class="Timeshift-gtk"] floating disable
  503. for_window [class="Tilix"] floating enable border pixel 24
  504. for_window [class="Unetbootin.elf"] floating enable
  505. for_window [class="Usb-creator-gtk"] floating enable
  506. #for_window [class="VirtualBox Manager"] floating enable
  507. #for_window [class="VirtualBox Machine"] floating disable
  508. for_window [class="^Vlc$"] floating enable
  509. for_window [class="Xfce4-appfinder"] floating enable
  510. for_window [class="Xfce4-settings-manager"] floating disable
  511. for_window [class="Xfce4-taskmanager"] floating enable
  512. for_window [class="Xscreensaver-demo"] floating disble
  513.  
  514. for_window [class="Termite"] move scratchpad
  515. #for_window [class="Gufw.py"] move absolute position center
  516. #for_window [class="Gufw.py"] move scratchpad
  517. #for_window [class="Timeshift-gtk"] move scratchpad
  518. #for_window [class="Transmission"] move scratchpad
  519. #for_window [class="Xscreensaver-demo"] move scratchpad
  520. for_window [class="VirtualBox Manager"] move scratchpad
  521.  
  522. for_window [instance="gimp"] floating disable
  523. for_window [instance="script-fu"] border normal
  524. for_window [instance="Variety Preferences"] floating enable
  525.  
  526. for_window [title="Copying"] floating enable
  527. for_window [title="Deleting"] floating enable
  528. for_window [title="Moving"] floating enable
  529. for_window [title="^Terminator Preferences$"] floating enable
  530.  
  531. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  532. for_window [window_role="pop-up"] floating enable
  533. for_window [window_role="^Preferences$"] floating enable
  534. for_window [window_role="setup"] floating enable
  535.  
  536. ########### Application Specific Border Settings ###########
  537.  
  538. #for_window [class="Cherrytree"] border pixel 8
  539. #for_window [class="stacer"] border pixel 6
  540. #for_window [cleass="Imagewriter"] border pixel 12
  541. #for_window [class="Termite"] border pixel 12
  542. #for_window [class="vlc"] border pixel 16
  543.  
  544. ##########################################################################
  545. ########### Workspace Switching Functions ############
  546. ##########################################################################
  547.  
  548. # switch to workspace
  549. bindsym $mod+1 workspace $ws1
  550. bindsym $mod+2 workspace $ws2
  551. bindsym $mod+3 workspace $ws3
  552. bindsym $mod+4 workspace $ws4
  553. bindsym $mod+5 workspace $ws5
  554. bindsym $mod+6 workspace $ws6
  555. bindsym $mod+7 workspace $ws7
  556. bindsym $mod+8 workspace $ws8
  557. bindsym $mod+9 workspace $ws9
  558. bindsym $mod+0 workspace $ws10
  559.  
  560. # move focused container to workspace
  561. bindsym $mod+Shift+1 move container to workspace $ws1
  562. bindsym $mod+Shift+2 move container to workspace $ws2
  563. bindsym $mod+Shift+3 move container to workspace $ws3
  564. bindsym $mod+Shift+4 move container to workspace $ws4
  565. bindsym $mod+Shift+5 move container to workspace $ws5
  566. bindsym $mod+Shift+6 move container to workspace $ws6
  567. bindsym $mod+Shift+7 move container to workspace $ws7
  568. bindsym $mod+Shift+8 move container to workspace $ws8
  569. bindsym $mod+Shift+9 move container to workspace $ws9
  570. bindsym $mod+Shift+0 move container to workspace $ws10
  571.  
  572. #################################################################
  573. ########### Navigating Containers ###########
  574. #################################################################
  575.  
  576. # use mouse+$mod to drag floating windows to their new position
  577. floating_modifier $mod
  578.  
  579. # toggle tiling / floating
  580. bindsym $mod+Shift+space floating toggle
  581.  
  582. # change focus
  583. bindsym $mod+$left focus left
  584. bindsym $mod+$down focus down
  585. bindsym $mod+$up focus up
  586. bindsym $mod+$right focus right
  587.  
  588. # alternatively, you can use the cursor keys:
  589. bindsym $mod+Left focus left
  590. bindsym $mod+Down focus down
  591. bindsym $mod+Up focus up
  592. bindsym $mod+Right focus right
  593.  
  594. # move focused window
  595. bindsym $mod+Shift+$left move left
  596. bindsym $mod+Shift+$down move down
  597. bindsym $mod+Shift+$up move up
  598. bindsym $mod+Shift+$right move right
  599.  
  600. # alternatively, you can use the cursor keys:
  601. bindsym $mod+Shift+Left move left
  602. bindsym $mod+Shift+Down move down
  603. bindsym $mod+Shift+Up move up
  604. bindsym $mod+Shift+Right move right
  605.  
  606. #################################################################
  607. ########### Navigating Workspaces ###########
  608. #################################################################
  609.  
  610. # next/previous workspace
  611. bindsym Mod1+Tab workspace next
  612. bindsym Mod1+Shift+Tab workspace prev
  613. bindsym $mod+Tab workspace back_and_forth
  614.  
  615. # navigate workspaces next / previous
  616. bindsym Mod1+Ctrl+Right workspace next
  617. bindsym Mod1+Ctrl+Left workspace prev
  618.  
  619. # switch to workspace with urgent window automatically
  620. for_window [urgent=latest] focus
  621.  
  622. # switch back to previous workspace by pressing
  623. # the same keybinding used to switch from it
  624. workspace_auto_back_and_forth yes
  625.  
  626. # enable urgent workspace message delay to see what window sent it
  627. force_display_urgency_hint 1000 ms
  628.  
  629. #############################################################
  630. ########### Tiling Parameters ###########
  631. #############################################################
  632.  
  633. # workspace_layout default|stacking|tabbed
  634.  
  635. # orientation for new workspaces
  636. default_orientation horizontal
  637.  
  638. # split in horizontal orientation
  639. bindsym $mod+h split h
  640.  
  641. # split in vertical orientation
  642. bindsym $mod+v split v
  643.  
  644. # enter fullscreen mode for the focused container
  645. bindsym $mod+f fullscreen toggle
  646.  
  647. # change container layout (stacked, tabbed, toggle split)
  648. bindsym $mod+s layout stacking
  649. bindsym $mod+z layout tabbed
  650. bindsym $mod+e layout toggle split
  651.  
  652. # change focus between tiling / floating windows
  653. bindsym $mod+space focus mode_toggle
  654.  
  655. # focus the parent container
  656. bindsym $mod+a focus parent
  657.  
  658. # focus the child "HHVH"
  659. #bindsym $mod+d focus child
  660.  
  661. ######################################################################
  662. ########### Give Focus to Applications ###########
  663. ######################################################################
  664.  
  665. for_window [class="Gnome-terminal"] focus
  666. for_window [class="Termite"] focus
  667. for_window [class="Terminator"] focus
  668.  
  669. ##########################################################
  670. ########### Border Control ###########
  671. ##########################################################
  672.  
  673. # default_border normal | none | pixel
  674. default_border pixel 5
  675.  
  676. # default_floating_border normal | none| pixel
  677. default_floating_border pixel 16
  678.  
  679. # hide_edge_borders none|vertical|horizontal|both|smart
  680. hide_edge_borders smart
  681. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  682.  
  683. ########### changing border style ###########
  684. bindsym $mod+t border normal
  685. bindsym $mod+y border 1pixel
  686. bindsym $mod+u border none
  687.  
  688. new_window pixel 12
  689. # new_window normal
  690. # new_window none
  691.  
  692. new_float pixel 22
  693. # new_float normal
  694. # new_float none
  695.  
  696. #############################################################################
  697. ########### Popups Control In Fullscreen Mode ###########
  698. #############################################################################
  699.  
  700. # popup_during_fullscreen smart|ignore|leave_fullscreen
  701. popup_during_fullscreen leave_fullscreen
  702.  
  703. ##########################################################
  704. ########### Resize Windows ###########
  705. ##########################################################
  706.  
  707. # resize window (you can also use the mouse for that)
  708.  
  709. bindsym $mod+r mode "resize"
  710.  
  711. mode "resize" {
  712. # These bindings trigger as soon as you enter the resize mode
  713.  
  714. # Pressing left will shrink the window’s width.
  715. # Pressing right will grow the window’s width.
  716. # Pressing up will shrink the window’s height.
  717. # Pressing down will grow the window’s height.
  718. bindsym $left resize shrink width 3 px or 3 ppt
  719. bindsym $down resize grow height 1 px or 1 ppt
  720. bindsym $up resize shrink height 1 px or 1 ppt
  721. bindsym $right resize grow width 3 px or 3 ppt
  722.  
  723. # same bindings, but for the arrow keys
  724. bindsym Left resize shrink width 3 px or 3 ppt
  725. bindsym Down resize grow height 1 px or 1 ppt
  726. bindsym Up resize shrink height 1 px or 1 ppt
  727. bindsym Right resize grow width 3 px or 3 ppt
  728.  
  729. # back to normal: Enter or Escape
  730. bindsym Return mode "default"
  731. bindsym Escape mode "default"
  732. }
  733.  
  734. ########### Sticky Floating Windows ###########
  735.  
  736. # make a terminal sticky that was started as a notepad
  737. for_window [instance=notepadqq] sticky enable
  738.  
  739. #########################################################
  740. ########### i3 Next Gaps ############
  741. #########################################################
  742.  
  743. # Settings for I3 next gap git
  744. # https://github.com/Airblader/i3/tree/gaps-next
  745. # delete or uncomment the following lines if you do not have it or do not want it
  746.  
  747. for_window [class="^.*"] border pixel 8
  748. gaps inner 7
  749. gaps outer 7
  750. smart_gaps on
  751. smart_borders on
  752.  
  753. ########### i3 gaps resizing ############
  754.  
  755. set $mode_gaps Gaps: (o) outer, (i) inner
  756. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  757. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  758. bindsym $mod+Shift+g mode "$mode_gaps"
  759.  
  760. mode "$mode_gaps" {
  761. bindsym o mode "$mode_gaps_outer"
  762. bindsym i mode "$mode_gaps_inner"
  763. bindsym Return mode "default"
  764. bindsym Escape mode "default"
  765. }
  766.  
  767. mode "$mode_gaps_inner" {
  768. bindsym plus gaps inner current plus 1
  769. bindsym minus gaps inner current minus 1
  770. bindsym 0 gaps inner current set 0
  771.  
  772. bindsym Shift+plus gaps inner all plus 1
  773. bindsym Shift+minus gaps inner all minus 1
  774. bindsym Shift+0 gaps inner all set 0
  775.  
  776. bindsym Return mode "default"
  777. bindsym Escape mode "default"
  778. }
  779. mode "$mode_gaps_outer" {
  780. bindsym plus gaps outer current plus 1
  781. bindsym minus gaps outer current minus 1
  782. bindsym 0 gaps outer current set 0
  783.  
  784. bindsym Shift+plus gaps outer all plus 1
  785. bindsym Shift+minus gaps outer all minus 1
  786. bindsym Shift+0 gaps outer all set 0
  787.  
  788. bindsym Return mode "default"
  789. bindsym Escape mode "default"
  790. }
  791.  
  792. ###################################################################
  793. ########### Variety for Wallpapers ############
  794. ###################################################################
  795.  
  796. #Variety keybindings mod1 = ALT
  797. # trash wallpaper
  798. bindsym mod1+t exec --no-startup-id variety -t
  799. # next wallpaper
  800. bindsym mod1+n exec --no-startup-id variety -n
  801. bindsym mod1+Right exec --no-startup-id variety -n
  802. # previous wallpaper
  803. bindsym mod1+p exec --no-startup-id variety -p
  804. bindsym mod1+Left exec --no-startup-id variety -p
  805. # favorite wallpaper
  806. bindsym mod1+f exec --no-startup-id variety -f
  807. # pause wallpaper
  808. bindsym mod1+Up exec --no-startup-id variety --pause
  809. # resume wallpaper
  810. bindsym mod1+Down exec --no-startup-id variety --resume
  811.  
  812. ########### Variety with Pywal ###########
  813.  
  814. # next wallpaper
  815. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  816. # previous wallpaper
  817. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  818. # trash wallpaper
  819. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  820. # Update Wallpaper
  821. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  822.  
  823. ##########################################################
  824. ########### Audio Settings ###########
  825. ##########################################################
  826.  
  827. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  828. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  829. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  830. #https://github.com/acrisci/playerctl/
  831. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  832. bindsym XF86AudioNext exec --no-startup-id playerctl next
  833. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  834. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  835.  
  836. ###############################################################
  837. ########### System Applications ###########
  838. ###############################################################
  839.  
  840. exec --no-startup-id xfce4-power-manager &
  841. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  842. # IF xfsettingsd is activated you can not change themes
  843. #exec --no-startup-id xfsettingsd &
  844. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  845.  
  846. ######################## The End - Now Start Again ########################
  847. ####################################################################################################################
  848.  
  849. # All these words are empty baskets
  850. # Carried to the market square
  851. # Trading truth and lies in barter
  852. # Warranting warn buyer beware
  853.  
  854. # All these words are reeds I wove
  855. # Taught to hold my pauper’s share
  856. # Show me yours before and after
  857. # Out in the open we may compare
  858.  
  859. # All these words are on the table
  860. # Yoked to folly the shell game starts
  861. # Trick the eye they who are able
  862. # Cunning those the same the heart
  863.  
  864. # All these words are fruits of labour
  865. # Bounty’s grace on harvest’s day
  866. # Test taste and judge the many flavours
  867. # Fill your need be on your way
  868.  
  869. # All these words so meet and proper
  870. # Morning meals served hot or cold
  871. # Savour meaning old sharecropper
  872. # Recall the stories you were told
  873.  
  874. # All these words are open caskets
  875. # Life goes on even nothing’s fair
  876. # Gather seeds for ever after
  877. # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement