Advertisement
poetician

ArcoLinuxB i3wm Transparency in Titles

Feb 7th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.96 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 13
  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:Bauhaus 14
  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 #806c71c4
  183. statusline #806c71c4
  184. separator #806c71c4
  185. # border backgr. text
  186. active_workspace #806c71c4 #806c71c4 #f4cd52
  187. inactive_workspace #806c71c4 #806c71c4 #f4cd52
  188. urgent_workspace #80281948 #8011093e #f4cd52
  189. }
  190.  
  191. }
  192.  
  193. # class border backgr. text indicator child-border
  194. client.placeholder #f4cd52 #80281948 #242424 #8446d4 #a16b1c
  195. client.background #f4cd52 #80281948 #242424 #8446d4 #a16b1c
  196. client.unfocused #281948 #BF281948 #f4cd52 #8446d4 #281948
  197. client.focused #6c71c4 #806c71c4 #281948 #11093e #6c71c4
  198. client.focused_inactive #281948 #BF281948 #281948 #11093e #a16b1c
  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="GNU Image Manipulation Program"] $ws6
  281. assign [class="Google Earth Pro"] $ws7
  282. assign [class="Cherrytree"] $ws8
  283. assign [class="stacer"] $ws8
  284. assign [class="Arcolinux-tweak-tool.py"] $ws8
  285. assign [class="Meld"] $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 gimp (doesn't load into assigned $ws)
  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="Pavucontrol"] floating enable
  496. # for_window [class="Peek"] floating disable
  497. for_window [class="Hefftor_SkelApp.py"] floating enable
  498. for_window [class="stacer"] floating enable
  499. for_window [class="System-config-printer.py"] floating enable
  500. #for_window [class="Termite"] floating enable
  501. for_window [class="Timeshift-gtk"] floating disable
  502. for_window [class="Tilix"] floating enable border pixel 24
  503. for_window [class="Unetbootin.elf"] floating enable
  504. for_window [class="Usb-creator-gtk"] floating enable
  505. for_window [class="^Vlc$"] floating enable
  506. for_window [class="Xfce4-appfinder"] floating enable
  507. for_window [class="Xfce4-settings-manager"] floating disable
  508. for_window [class="Xfce4-taskmanager"] floating enable
  509. for_window [class="Xscreensaver-demo"] floating disble
  510.  
  511. for_window [class="Termite"] move scratchpad
  512. #for_window [class="Gufw.py"] move absolute position center
  513. #for_window [class="Gufw.py"] move scratchpad
  514. #for_window [class="Timeshift-gtk"] move scratchpad
  515. #for_window [class="Transmission"] move scratchpad
  516. #for_window [class="Xscreensaver-demo"] move scratchpad
  517.  
  518. for_window [instance="gimp"] floating disable
  519. for_window [instance="script-fu"] border normal
  520. for_window [instance="Variety Preferences"] floating enable
  521.  
  522. for_window [title="Copying"] floating enable
  523. for_window [title="Deleting"] floating enable
  524. for_window [title="Moving"] floating enable
  525. for_window [title="^Terminator Preferences$"] floating enable
  526.  
  527. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  528. for_window [window_role="pop-up"] floating enable
  529. for_window [window_role="^Preferences$"] floating enable
  530. for_window [window_role="setup"] floating enable
  531.  
  532. ########### Application Specific Border Settings ###########
  533.  
  534. #for_window [class="Cherrytree"] border pixel 8
  535. #for_window [class="stacer"] border pixel 6
  536. #for_window [cleass="Imagewriter"] border pixel 12
  537. #for_window [class="Termite"] border pixel 12
  538. #for_window [class="vlc"] border pixel 16
  539.  
  540. ##########################################################################
  541. ########### Workspace Switching Functions ############
  542. ##########################################################################
  543.  
  544. # switch to workspace
  545. bindsym $mod+1 workspace $ws1
  546. bindsym $mod+2 workspace $ws2
  547. bindsym $mod+3 workspace $ws3
  548. bindsym $mod+4 workspace $ws4
  549. bindsym $mod+5 workspace $ws5
  550. bindsym $mod+6 workspace $ws6
  551. bindsym $mod+7 workspace $ws7
  552. bindsym $mod+8 workspace $ws8
  553. bindsym $mod+9 workspace $ws9
  554. bindsym $mod+0 workspace $ws10
  555.  
  556. # move focused container to workspace
  557. bindsym $mod+Shift+1 move container to workspace $ws1
  558. bindsym $mod+Shift+2 move container to workspace $ws2
  559. bindsym $mod+Shift+3 move container to workspace $ws3
  560. bindsym $mod+Shift+4 move container to workspace $ws4
  561. bindsym $mod+Shift+5 move container to workspace $ws5
  562. bindsym $mod+Shift+6 move container to workspace $ws6
  563. bindsym $mod+Shift+7 move container to workspace $ws7
  564. bindsym $mod+Shift+8 move container to workspace $ws8
  565. bindsym $mod+Shift+9 move container to workspace $ws9
  566. bindsym $mod+Shift+0 move container to workspace $ws10
  567.  
  568. #################################################################
  569. ########### Navigating Containers ###########
  570. #################################################################
  571.  
  572. # use mouse+$mod to drag floating windows to their new position
  573. floating_modifier $mod
  574.  
  575. # toggle tiling / floating
  576. bindsym $mod+Shift+space floating toggle
  577.  
  578. # change focus
  579. bindsym $mod+$left focus left
  580. bindsym $mod+$down focus down
  581. bindsym $mod+$up focus up
  582. bindsym $mod+$right focus right
  583.  
  584. # alternatively, you can use the cursor keys:
  585. bindsym $mod+Left focus left
  586. bindsym $mod+Down focus down
  587. bindsym $mod+Up focus up
  588. bindsym $mod+Right focus right
  589.  
  590. # move focused window
  591. bindsym $mod+Shift+$left move left
  592. bindsym $mod+Shift+$down move down
  593. bindsym $mod+Shift+$up move up
  594. bindsym $mod+Shift+$right move right
  595.  
  596. # alternatively, you can use the cursor keys:
  597. bindsym $mod+Shift+Left move left
  598. bindsym $mod+Shift+Down move down
  599. bindsym $mod+Shift+Up move up
  600. bindsym $mod+Shift+Right move right
  601.  
  602. #################################################################
  603. ########### Navigating Workspaces ###########
  604. #################################################################
  605.  
  606. # next/previous workspace
  607. bindsym Mod1+Tab workspace next
  608. bindsym Mod1+Shift+Tab workspace prev
  609. bindsym $mod+Tab workspace back_and_forth
  610.  
  611. # navigate workspaces next / previous
  612. bindsym Mod1+Ctrl+Right workspace next
  613. bindsym Mod1+Ctrl+Left workspace prev
  614.  
  615. # switch to workspace with urgent window automatically
  616. for_window [urgent=latest] focus
  617.  
  618. # switch back to previous workspace by pressing
  619. # the same keybinding used to switch from it
  620. workspace_auto_back_and_forth yes
  621.  
  622. # enable urgent workspace message delay to see what window sent it
  623. force_display_urgency_hint 1000 ms
  624.  
  625. #############################################################
  626. ########### Tiling Parameters ###########
  627. #############################################################
  628.  
  629. # workspace_layout default|stacking|tabbed
  630.  
  631. # orientation for new workspaces
  632. default_orientation horizontal
  633.  
  634. # split in horizontal orientation
  635. bindsym $mod+h split h
  636.  
  637. # split in vertical orientation
  638. bindsym $mod+v split v
  639.  
  640. # enter fullscreen mode for the focused container
  641. bindsym $mod+f fullscreen toggle
  642.  
  643. # change container layout (stacked, tabbed, toggle split)
  644. bindsym $mod+s layout stacking
  645. bindsym $mod+z layout tabbed
  646. bindsym $mod+e layout toggle split
  647.  
  648. # change focus between tiling / floating windows
  649. bindsym $mod+space focus mode_toggle
  650.  
  651. # focus the parent container
  652. bindsym $mod+a focus parent
  653.  
  654. # focus the child "HHVH"
  655. #bindsym $mod+d focus child
  656.  
  657. ######################################################################
  658. ########### Give Focus to Applications ###########
  659. ######################################################################
  660.  
  661. for_window [class="Gnome-terminal"] focus
  662. for_window [class="Termite"] focus
  663. for_window [class="Terminator"] focus
  664.  
  665. ##########################################################
  666. ########### Border Control ###########
  667. ##########################################################
  668.  
  669. # default_border normal | none | pixel
  670. default_border pixel 5
  671.  
  672. # default_floating_border normal | none| pixel
  673. default_floating_border pixel 16
  674.  
  675. # hide_edge_borders none|vertical|horizontal|both|smart
  676. hide_edge_borders smart
  677. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  678.  
  679. ########### changing border style ###########
  680. bindsym $mod+t border normal
  681. bindsym $mod+y border 1pixel
  682. bindsym $mod+u border none
  683.  
  684. new_window pixel 12
  685. # new_window normal
  686. # new_window none
  687.  
  688. new_float pixel 22
  689. # new_float normal
  690. # new_float none
  691.  
  692. #############################################################################
  693. ########### Popups Control In Fullscreen Mode ###########
  694. #############################################################################
  695.  
  696. # popup_during_fullscreen smart|ignore|leave_fullscreen
  697. popup_during_fullscreen leave_fullscreen
  698.  
  699. ##########################################################
  700. ########### Resize Windows ###########
  701. ##########################################################
  702.  
  703. # resize window (you can also use the mouse for that)
  704.  
  705. bindsym $mod+r mode "resize"
  706.  
  707. mode "resize" {
  708. # These bindings trigger as soon as you enter the resize mode
  709.  
  710. # Pressing left will shrink the window’s width.
  711. # Pressing right will grow the window’s width.
  712. # Pressing up will shrink the window’s height.
  713. # Pressing down will grow the window’s height.
  714. bindsym $left resize shrink width 3 px or 3 ppt
  715. bindsym $down resize grow height 1 px or 1 ppt
  716. bindsym $up resize shrink height 1 px or 1 ppt
  717. bindsym $right resize grow width 3 px or 3 ppt
  718.  
  719. # same bindings, but for the arrow keys
  720. bindsym Left resize shrink width 3 px or 3 ppt
  721. bindsym Down resize grow height 1 px or 1 ppt
  722. bindsym Up resize shrink height 1 px or 1 ppt
  723. bindsym Right resize grow width 3 px or 3 ppt
  724.  
  725. # back to normal: Enter or Escape
  726. bindsym Return mode "default"
  727. bindsym Escape mode "default"
  728. }
  729.  
  730. ########### Sticky Floating Windows ###########
  731.  
  732. # make a terminal sticky that was started as a notepad
  733. for_window [instance=notepadqq] sticky enable
  734.  
  735. #########################################################
  736. ########### i3 Next Gaps ############
  737. #########################################################
  738.  
  739. # Settings for I3 next gap git
  740. # https://github.com/Airblader/i3/tree/gaps-next
  741. # delete or uncomment the following lines if you do not have it or do not want it
  742.  
  743. for_window [class="^.*"] border pixel 8
  744. gaps inner 7
  745. gaps outer 7
  746. smart_gaps on
  747. smart_borders on
  748.  
  749. ########### i3 gaps resizing ############
  750.  
  751. set $mode_gaps Gaps: (o) outer, (i) inner
  752. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  753. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  754. bindsym $mod+Shift+g mode "$mode_gaps"
  755.  
  756. mode "$mode_gaps" {
  757. bindsym o mode "$mode_gaps_outer"
  758. bindsym i mode "$mode_gaps_inner"
  759. bindsym Return mode "default"
  760. bindsym Escape mode "default"
  761. }
  762.  
  763. mode "$mode_gaps_inner" {
  764. bindsym plus gaps inner current plus 1
  765. bindsym minus gaps inner current minus 1
  766. bindsym 0 gaps inner current set 0
  767.  
  768. bindsym Shift+plus gaps inner all plus 1
  769. bindsym Shift+minus gaps inner all minus 1
  770. bindsym Shift+0 gaps inner all set 0
  771.  
  772. bindsym Return mode "default"
  773. bindsym Escape mode "default"
  774. }
  775. mode "$mode_gaps_outer" {
  776. bindsym plus gaps outer current plus 1
  777. bindsym minus gaps outer current minus 1
  778. bindsym 0 gaps outer current set 0
  779.  
  780. bindsym Shift+plus gaps outer all plus 1
  781. bindsym Shift+minus gaps outer all minus 1
  782. bindsym Shift+0 gaps outer all set 0
  783.  
  784. bindsym Return mode "default"
  785. bindsym Escape mode "default"
  786. }
  787.  
  788. ###################################################################
  789. ########### Variety for Wallpapers ############
  790. ###################################################################
  791.  
  792. #Variety keybindings mod1 = ALT
  793. # trash wallpaper
  794. bindsym mod1+t exec --no-startup-id variety -t
  795. # next wallpaper
  796. bindsym mod1+n exec --no-startup-id variety -n
  797. bindsym mod1+Right exec --no-startup-id variety -n
  798. # previous wallpaper
  799. bindsym mod1+p exec --no-startup-id variety -p
  800. bindsym mod1+Left exec --no-startup-id variety -p
  801. # favorite wallpaper
  802. bindsym mod1+f exec --no-startup-id variety -f
  803. # pause wallpaper
  804. bindsym mod1+Up exec --no-startup-id variety --pause
  805. # resume wallpaper
  806. bindsym mod1+Down exec --no-startup-id variety --resume
  807.  
  808. ########### Variety with Pywal ###########
  809.  
  810. # next wallpaper
  811. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  812. # previous wallpaper
  813. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  814. # trash wallpaper
  815. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  816. # Update Wallpaper
  817. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  818.  
  819. ##########################################################
  820. ########### Audio Settings ###########
  821. ##########################################################
  822.  
  823. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  824. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  825. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  826. #https://github.com/acrisci/playerctl/
  827. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  828. bindsym XF86AudioNext exec --no-startup-id playerctl next
  829. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  830. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  831.  
  832. ###############################################################
  833. ########### System Applications ###########
  834. ###############################################################
  835.  
  836. exec --no-startup-id xfce4-power-manager &
  837. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  838. # IF xfsettingsd is activated you can not change themes
  839. #exec --no-startup-id xfsettingsd &
  840. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  841.  
  842. ######################## The End - Now Start Again ########################
  843. ####################################################################################################################
  844.  
  845. # All these words are empty baskets
  846. # Carried to the market square
  847. # Trading truth and lies in barter
  848. # Warranting warn buyer beware
  849.  
  850. # All these words are reeds I wove
  851. # Taught to hold my pauper’s share
  852. # Show me yours before and after
  853. # Out in the open we may compare
  854.  
  855. # All these words are on the table
  856. # Yoked to folly the shell game starts
  857. # Trick the eye they who are able
  858. # Cunning those the same the heart
  859.  
  860. # All these words are fruits of labour
  861. # Bounty’s grace on harvest’s day
  862. # Test taste and judge the many flavours
  863. # Fill your need be on your way
  864.  
  865. # All these words so meet and proper
  866. # Morning meals served hot or cold
  867. # Savour meaning old sharecropper
  868. # Recall the stories you were told
  869.  
  870. # All these words are open caskets
  871. # Life goes on even nothing’s fair
  872. # Gather seeds for ever after
  873. # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement