Advertisement
poetician

ArcoLinuxB Xtended i3wm [Transparency Update]

Jan 19th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.59 KB | None | 0 0
  1. # PPPPPp
  2. # p p ii ii ii
  3. # p P oOOo eeee TTTTTTT cccc 3333
  4. # pppppP O O e e t II c II A Nn N II 3
  5. # P 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 nN II 3333 W W M M
  10. ###########
  11. # https://thenextpoetician.blogspot.com/ ###########
  12. # https://pastebin.com/u/poetician ###########
  13. # https://www.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w ###########
  14. ###########
  15. # Most of the work was done by Erik Dubois: ###########
  16. # https://arcolinux.info/ ###########
  17. # https://github.com/arcolinux ###########
  18. # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg ###########
  19. ###########
  20. ########### ###########
  21. #######################################################################################################
  22. ########### Preliminary Settings ###########
  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
  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 (k) lock, (l) logout, (r) reboot, (s) shutdown
  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. ########### Bar Toggle ###########
  87.  
  88. # bar toggle, hide or show
  89. bindsym $mod+b bar mode invisible
  90. bindsym $mod+m bar mode dock
  91.  
  92. ########### Scratchpad ###########
  93.  
  94. # move the currently focused window to the scratchpad
  95. bindsym Mod1+Shift+minus move scratchpad
  96.  
  97. # Show the next scratchpad window or hide the focused scratchpad window.
  98. # If there are multiple scratchpad windows, this command cycles through them.
  99. bindsym Mod1+minus scratchpad show
  100.  
  101. ########### Screenshots ############
  102.  
  103. bindsym Print exec --no-startup-id scrot '_-%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  104. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  105.  
  106. ########### Title Font and Alignment ###########
  107.  
  108. # Font for window titles. Will also be used by the bar unless a different font
  109. # is used in the bar {} block below.
  110. font pango: Federation 13
  111. title_align center
  112.  
  113. ########### Wallpaper Settings ###########
  114.  
  115. # Sets wallpaper to load at startup
  116. #exec --no-startup-id feh --bg-fill ~/Pictures/Salon.jpg
  117. exec --no-startup-id variety
  118.  
  119. ########################################################################
  120. ########### Bar and Workspace Appearance ###########
  121. ########################################################################
  122.  
  123. bar {
  124.  
  125. height 33
  126. workspace_buttons yes
  127. font pango:Bahaus 14
  128.  
  129. i3bar_command i3bar --transparency
  130.  
  131. position top
  132. #position bottom
  133.  
  134. #system icons
  135. #tray_output none
  136.  
  137. # OPTION 1 : i3status
  138.  
  139. # type status_command i3status without the config file and
  140. # you will get the standard i3status bar
  141. # Second one is the standard statusbar with my personal settings
  142.  
  143. #status_command i3status
  144. #status_command i3status -c ~/.config/i3/i3status.conf
  145.  
  146. # OPTION 2 : i3blocks
  147.  
  148. # https://github.com/vivien/i3blocks
  149. # another way to provide text in the statusbar
  150. # put hastag in front if not installed
  151.  
  152. #status_command i3blocks
  153. #status_command i3blocks -c ~/.config/i3/i3blocks.conf
  154. #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
  155. #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
  156. #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
  157.  
  158. # OPTION 3 : conky
  159.  
  160. # You can also replace the istatus bar with a conky
  161. # start-conky-i3statusbar.sh is started and conky will follow
  162. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  163. # conky configuration is in conky-i3statusbar
  164.  
  165. status_command ~/.config/i3/start-conky-i3statusbar.sh
  166.  
  167. # OPTION 4 : polybar
  168.  
  169. # polybar is launched elsewhere - search for the word
  170. # from the opening of the "bar {...}" till the end has to go or hashtagged out
  171. # in order for the system trayicons to show up in polybar
  172.  
  173. colors {
  174. background #4D281948
  175. statusline #4D1f3d0c
  176. separator #4D1f3d0c
  177. # border backgr. text
  178. active_workspace #4D6c71c4 #4D6c71c4 #281948
  179. inactive_workspace #4D281948 #4D281948 #281948
  180. urgent_workspace #281948 #11093e #f4cd52
  181. }
  182.  
  183. }
  184.  
  185. #class border backgr. text indicator child-border
  186. client.placeholder #f4cd52 #281948 #242424 #8446d4 #281948
  187. client.background #f4cd52 #281948 #242424 #8446d4 #281948
  188. client.unfocused #281948 #281948 #f4cd52 #8446d4 #281948
  189. client.focused #6c71c4 #6c71c4 #281948 #11093e #6c71c4
  190. client.focused_inactive #281948 #6c71c4 #f4cd52 #11093e #a16b1c
  191. client.urgent #11093e #8446d4 #a16b1c #11093e #8446d4
  192.  
  193. ########### Colour Picker ###########
  194.  
  195. # #222222
  196. # #ffffff #a9a9a9 #c2c2b8
  197. # #760b0b #900000
  198. # #089635 #104022 #054d23 #033317 #02180b
  199. # #281948 #110034 #11093e #261496 #8446d4 #6c71c4
  200. # #a16b1c #FFAF00 #e69722 #f4cd52
  201. # #cd7f32 Bronze
  202. # #c0c0c0 Silver
  203. # #d4af37 Gold
  204. # #899a99 Pewter
  205. # #dc143c Crimson
  206. # #e34234 Vermillion
  207. # #dda0ad Plum
  208. # #568203 Avocado
  209. # #2e5e5b Pine Green
  210. # #1f3d0c Deep Forest Green
  211. # #4f433f Tudor Brown
  212.  
  213. ############################################################################
  214. ########### Workspace Names and Assignments ############
  215. ############################################################################
  216.  
  217. ########### Workspaces named with variables avoids repetition ###########
  218.  
  219. set $ws1 "1 "
  220. set $ws2 "2 𑢰 ꗇ"
  221. #set $ws3 "3 🎞 🎜"
  222. set $ws3 "3 ꪜ ⴽ"
  223. set $ws4 "4 𑣦"
  224. #set $ws5 "5 📽"
  225. set $ws5 "5 𞢐"
  226. set $ws7 "7 "
  227. set $ws8 "8 "
  228. set $ws9 "9 𑣣"
  229. set $ws10 "10 𖭧"
  230.  
  231. ########### Loading Applications in Designated Workspaces ###########
  232.  
  233. assign [class="libreoffice"] $ws4
  234. assign [class="Gucharmap"] $ws4
  235. assign [class="Nemo"] $ws2
  236. assign [class="atom"] $ws2
  237. assign [class="Rhythmbox"] $ws3
  238. assign [class="vlc"] $ws3
  239. assign [class="firefox"] $ws1
  240. assign [class="kdenlive"] $ws5
  241. assign [class="GNU Image Manipulation Program"] $ws6
  242. assign [class="google-earth-pro"] $ws7
  243. assign [class="Cherrytree"] $ws8
  244. assign [class="stacer"] $ws8
  245. assign [class="Meld"] $ws9
  246. assign [class="Notepadqq"] $ws10
  247. assign [class="Gufw.py"] $ws10
  248.  
  249. ########### Loading Applications at Startup ###########
  250.  
  251. ########### Background Applications ###########
  252.  
  253. exec_always compton -c
  254. exec --no-startup-id mousetrap -t 1
  255. exec_always xscreensaver
  256. exec --no-startup-id xscreensaver-demo
  257. # exec nitrogen --restore
  258.  
  259. ########### Typical Applications ###########
  260.  
  261. # exec atom (doesn't load into assigned $ws)
  262. exec cherrytree
  263. exec firefox
  264. # exec gimp (doesn't load into assigned $ws)
  265. # exec google-earth-pro
  266. # exec gucharmap
  267. # exec kdenlive
  268. exec libreoffice
  269. # exec meld
  270. exec nemo
  271. # exec rhythmbox
  272. # exec stacer
  273. exec transmission
  274. exec vlc
  275.  
  276. ########### Tray Applications ###########
  277.  
  278. # Applications that are not installed will not start
  279. # you may see a wheel - hashtag out things you do not want
  280.  
  281. # Authentication dialog
  282. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  283.  
  284. # Dropbox
  285. exec --no-startup-id dropbox start
  286.  
  287. # Megasync
  288. exec megasync
  289.  
  290. # My-Weather-Indicator
  291. exec my-weather-indicator
  292.  
  293. # Network
  294. exec --no-startup-id nm-applet
  295.  
  296. # Num Lock activated
  297. exec_always --no-startup-id numlockx on
  298.  
  299. # Parcellite
  300. exec parcellite
  301.  
  302. # Redshift
  303. exec redshift
  304.  
  305. # Screenkey
  306. # exec screenkey
  307.  
  308. # Updater
  309. exec --no-startup-id pamac-tray
  310.  
  311. # Volume
  312. #exec --no-startup-id pasystray
  313. exec --no-startup-id volumeicon
  314.  
  315. # Workrave
  316. exec workrave
  317.  
  318. # Clipman
  319. # exec --no-startup-id xfce4-clipman
  320.  
  321. # Conky
  322. # exec --no-startup-id conky -c ~/.config/i3/system-overview
  323.  
  324. # Polybar
  325. #exec_always --no-startup-id ~/.config/polybar/launch.sh &
  326.  
  327. ###########################################################################
  328. ########### Applications Keyboard Shortcuts ###########
  329. ###########################################################################
  330.  
  331. ########### 6 Menu Options ###########
  332.  
  333. # Start Rofi drun Mode
  334. bindsym $mod+g exec rofi -show drun -show-icons -theme arthur -lines 12 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  335.  
  336. # Start Rofi Combi Mode
  337. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  338.  
  339. # Start Rofi Window Mode
  340. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons
  341.  
  342. # Start DMenu from .desktop applications only
  343. bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
  344.  
  345. # Start Gmrun
  346. bindsym mod1+F2 exec --no-startup-id gmrun
  347.  
  348. # Start xfce-appfinder
  349. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  350.  
  351. ########### Not Workspace Related ###########
  352.  
  353. # Terminal
  354. bindsym $mod+Return exec --no-startup-id termite;focus
  355. bindsym $mod+KP_Enter exec --no-startup-id termite;focus
  356. bindsym control+mod1+t exec --no-startup-id xfce4-terminal;focus
  357. bindsym control+mod1+Return exec --no-startup-id tilix;focus
  358. bindsym control+mod1+KP_Enter exec --no-startup-id termite;focus
  359.  
  360. # System monitor
  361. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
  362.  
  363. # Settings
  364. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  365.  
  366. # Catfish
  367. bindsym control+mod1+c exec --no-startup-id catfish;focus
  368.  
  369. # Rofi theme selector
  370. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  371.  
  372. # Htop
  373. # arcolinux conflict
  374. # bindsym $mod+h exec --no-startup-id htop;focus
  375.  
  376. # Pavucontrol
  377. # arcolinux conflict
  378. #bindsym control+mod1+u exec --no-startup-id pavucontrol
  379.  
  380. # Start xfce-appfinder
  381. bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
  382.  
  383. # Pamac-manager
  384. bindsym control+mod1+p exec --no-startup-id pamac-manager
  385.  
  386. ########### Workspace Related ###########
  387.  
  388. # Workspace 1 related
  389. bindsym $mod+F1 exec --no-startup-id firefox;focus
  390.  
  391. # Workspace 2 related
  392. bindsym $mod+F2 exec --no-startup-id atom;focus
  393. bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
  394.  
  395. # Workspace 3 related
  396. bindsym $mod+F3 exec --nostartup-id Rhythmbox
  397. bindsym $mod+F8 exec --nostartup-id vlc
  398.  
  399. # Workspace 4 related
  400. bindsym $mod+F4 exec --no-startup-id libreoffice
  401.  
  402. # Workspace 5 related
  403. bindsym $mod+F5 exec --no-startup-id kdenlive
  404.  
  405. # Workspace 6 related
  406. bindsym $mod+F6 exec --no-startup-id gimp;focus
  407.  
  408. # Workspace 7 related
  409. bindsym $mod+F7 exec --no-startup-id google-earth-pro;focus
  410.  
  411. # Workspace 8 related
  412. bindsym control+mod1+b exec --no-startup-id Thunar;focus
  413. bindsym $mod+F10 exec --no-startup-id Cherrytree;focus
  414. bindsym control+mod1+s exec --no-startup-id stacer;focus
  415.  
  416. # Workspace 9 related
  417. bindsym $mod+F9 exec --no-startup-id meld;focus
  418. bindsym control+mod1+i exec --no-startup-id nitrogen;focus
  419.  
  420. # Workspace 10 related
  421.  
  422. #############################################################
  423. ########### Floating or Tiled ###########
  424. #############################################################
  425.  
  426. ########### Floating enabled / disabled; find class name with xprop; border option ###########
  427.  
  428. for_window [class="Bleachbit"] floating disable
  429. for_window [class="Brasero"] floating disable
  430. for_window [class="Cherrytree"] floating disable border pixel 8
  431. for_window [class="Galculator"] floating enable
  432. for_window [class="Gnome-disks"] floating disable
  433. for_window [class="^Gnome-font-viewer$"] floating enable
  434. for_window [class="^Gpick$"] floating enable
  435. for_window [class="Gucharmap"] floating enable
  436. for_window [class="Gufw.py"] floating enable
  437. for_window [class="Hexchat"] floating disable
  438. for_window [class="Imagewriter"] floating enable
  439. for_window [class="Font-manager"] floating enable
  440. # for_window [class="qt5ct|Lxappearance] floating disable
  441. # for_window [class="Nitrogen"] floating enable
  442. # for_window [class="Pavucontrol"] floating enable
  443. # for_window [class="Peek"] floating disable
  444. for_window [class="stacer"] floating enable
  445. for_window [class="System-config-printer.py"] floating enable
  446. for_window [class="Termite"] floating enable
  447. for_window [class="Tilix"] floating enable
  448. for_window [class="Unetbootin.elf"] floating enable
  449. for_window [class="Usb-creator-gtk"] floating enable
  450. for_window [class="^Vlc$"] floating enable
  451. for_window [class="Xfce4-appfinder"] floating enable
  452. for_window [class="Xfce4-settings-manager"] floating disable
  453. for_window [class="Xfce4-taskmanager"] floating enable
  454. for_window [class="Xscreensaver-demo"] floating enable
  455.  
  456. for_window [class="Gufw.py"] move absolute position center
  457. for_window [class="Gufw.py"] move scratchpad
  458. for_window [class="Timeshift-gtk"] move scratchpad
  459. for_window [class="Transmission"] move scratchpad
  460. for_window [class="Xscreensaver-demo"] move scratchpad
  461.  
  462. for_window [instance="gimp"] floating disable
  463. for_window [instance="script-fu"] border normal
  464. for_window [instance="variety"] floating disable
  465.  
  466. for_window [title="Copying"] floating enable
  467. for_window [title="Deleting"] floating enable
  468. for_window [title="Moving"] floating enable
  469. for_window [title="^Terminator Preferences$"] floating enable
  470.  
  471. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  472. for_window [window_role="pop-up"] floating enable
  473. for_window [window_role="^Preferences$"] floating enable
  474. for_window [window_role="setup"] floating enable
  475.  
  476. ########### Application Specific Border Settings ###########
  477.  
  478. #for_window [class="Cherrytree"] border pixel 8
  479. #for_window [class="stacer"] border pixel 6
  480. #for_window [cleass="Imagewriter"] border pixel 12
  481. #for_window [class="Termite"] border pixel 12
  482. #for_window [class="vlc"] border pixel 16
  483.  
  484. ##########################################################################
  485. ########### Workspace Switching Functions ############
  486. ##########################################################################
  487.  
  488. # switch to workspace
  489. bindsym $mod+1 workspace $ws1
  490. bindsym $mod+2 workspace $ws2
  491. bindsym $mod+3 workspace $ws3
  492. bindsym $mod+4 workspace $ws4
  493. bindsym $mod+5 workspace $ws5
  494. bindsym $mod+6 workspace $ws6
  495. bindsym $mod+7 workspace $ws7
  496. bindsym $mod+8 workspace $ws8
  497. bindsym $mod+9 workspace $ws9
  498. bindsym $mod+0 workspace $ws10
  499.  
  500. # move focused container to workspace
  501. bindsym $mod+Shift+1 move container to workspace $ws1
  502. bindsym $mod+Shift+2 move container to workspace $ws2
  503. bindsym $mod+Shift+3 move container to workspace $ws3
  504. bindsym $mod+Shift+4 move container to workspace $ws4
  505. bindsym $mod+Shift+5 move container to workspace $ws5
  506. bindsym $mod+Shift+6 move container to workspace $ws6
  507. bindsym $mod+Shift+7 move container to workspace $ws7
  508. bindsym $mod+Shift+8 move container to workspace $ws8
  509. bindsym $mod+Shift+9 move container to workspace $ws9
  510. bindsym $mod+Shift+0 move container to workspace $ws10
  511.  
  512. #################################################################
  513. ########### Navigating Containers ###########
  514. #################################################################
  515.  
  516. # Use Mouse+$mod to drag floating windows to their new position
  517. floating_modifier $mod
  518.  
  519. # toggle tiling / floating
  520. bindsym $mod+Shift+space floating toggle
  521.  
  522. # change focus
  523. bindsym $mod+$left focus left
  524. bindsym $mod+$down focus down
  525. bindsym $mod+$up focus up
  526. bindsym $mod+$right focus right
  527.  
  528. # alternatively, you can use the cursor keys:
  529. bindsym $mod+Left focus left
  530. bindsym $mod+Down focus down
  531. bindsym $mod+Up focus up
  532. bindsym $mod+Right focus right
  533.  
  534. # move focused window
  535. bindsym $mod+Shift+$left move left
  536. bindsym $mod+Shift+$down move down
  537. bindsym $mod+Shift+$up move up
  538. bindsym $mod+Shift+$right move right
  539.  
  540. # alternatively, you can use the cursor keys:
  541. bindsym $mod+Shift+Left move left
  542. bindsym $mod+Shift+Down move down
  543. bindsym $mod+Shift+Up move up
  544. bindsym $mod+Shift+Right move right
  545.  
  546. #################################################################
  547. ########### Navigating Workspaces ###########
  548. #################################################################
  549.  
  550. # next/previous workspace
  551.  
  552. bindsym Mod1+Tab workspace next
  553. bindsym Mod1+Shift+Tab workspace prev
  554. bindsym $mod+Tab workspace back_and_forth
  555.  
  556. # navigate workspaces next / previous
  557. bindsym Mod1+Ctrl+Right workspace next
  558. bindsym Mod1+Ctrl+Left workspace prev
  559.  
  560. # switch to workspace with urgent window automatically
  561. for_window [urgent=latest] focus
  562.  
  563. # switch back to previous workspace by pressing
  564. # the same keybinding used to switch from it
  565. workspace_auto_back_and_forth yes
  566.  
  567. # enable urgent workspace message delay to see what window sent it
  568. force_display_urgency_hint 500 ms
  569.  
  570. #############################################################
  571. ########### Tiling Parameters ###########
  572. #############################################################
  573.  
  574. # orientation for new workspaces
  575. default_orientation horizontal
  576.  
  577. # split in horizontal orientation
  578. bindsym $mod+h split h
  579.  
  580. # split in vertical orientation
  581. bindsym $mod+v split v
  582.  
  583. # enter fullscreen mode for the focused container
  584. bindsym $mod+f fullscreen toggle
  585.  
  586. # change container layout (stacked, tabbed, toggle split)
  587. bindsym $mod+s layout stacking
  588. bindsym $mod+z layout tabbed
  589. bindsym $mod+e layout toggle split
  590.  
  591. # change focus between tiling / floating windows
  592. bindsym $mod+space focus mode_toggle
  593.  
  594. # focus the parent container
  595. bindsym $mod+a focus parent
  596.  
  597. # focus the child "HHVH"
  598. #bindsym $mod+d focus child
  599.  
  600. ######################################################################
  601. ########### Give Focus to Applications ###########
  602. ######################################################################
  603.  
  604. for_window [class="Gnome-terminal"] focus
  605. for_window [class="Termite"] focus
  606. for_window [class="Terminator"] focus
  607.  
  608. ##########################################################
  609. ########### Border Control ###########
  610. ##########################################################
  611.  
  612. # default_border normal | none | pixel
  613. default_border pixel 7
  614.  
  615. # default_floating_border normal | none| pixel
  616. default_floating_border pixel 16
  617.  
  618. ########### Border control ###########
  619. # hide_edge_borders none|vertical|horizontal|both|smart
  620. hide_edge_borders horizontal
  621. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  622.  
  623. ########### changing border style ###########
  624. bindsym $mod+t border normal
  625. bindsym $mod+y border 1pixel
  626. bindsym $mod+u border none
  627.  
  628. new_window pixel 12
  629. # new_window normal
  630. # new_window none
  631.  
  632. new_float pixel 16
  633. # new_float normal
  634. # new_float none
  635.  
  636. #############################################################################
  637. ########### Popups Control In Fullscreen Mode ###########
  638. #############################################################################
  639.  
  640. # popup_during_fullscreen smart|ignore|leave_fullscreen
  641. popup_during_fullscreen leave_fullscreen
  642.  
  643. ##########################################################
  644. ########### Resize Windows ###########
  645. ##########################################################
  646.  
  647. # resize window (you can also use the mouse for that)
  648.  
  649. bindsym $mod+r mode "resize"
  650.  
  651. mode "resize" {
  652. # These bindings trigger as soon as you enter the resize mode
  653.  
  654. # Pressing left will shrink the window’s width.
  655. # Pressing right will grow the window’s width.
  656. # Pressing up will shrink the window’s height.
  657. # Pressing down will grow the window’s height.
  658. bindsym $left resize shrink width 5 px or 5 ppt
  659. bindsym $down resize grow height 5 px or 5 ppt
  660. bindsym $up resize shrink height 5 px or 5 ppt
  661. bindsym $right resize grow width 5 px or 5 ppt
  662.  
  663. # same bindings, but for the arrow keys
  664. bindsym Left resize shrink width 5 px or 5 ppt
  665. bindsym Down resize grow height 5 px or 5 ppt
  666. bindsym Up resize shrink height 5 px or 5 ppt
  667. bindsym Right resize grow width 5 px or 5 ppt
  668.  
  669. # back to normal: Enter or Escape
  670. bindsym Return mode "default"
  671. bindsym Escape mode "default"
  672. }
  673.  
  674. ########### Sticky Floating Windows ###########
  675.  
  676. # make a terminal sticky that was started as a notepad
  677. for_window [instance=notepad] sticky enable
  678.  
  679. #########################################################
  680. ########### i3 Next Gaps ############
  681. #########################################################
  682.  
  683. # Settings for I3 next gap git
  684. # https://github.com/Airblader/i3/tree/gaps-next
  685. # delete or uncomment the following lines if you do not have it or do not want it
  686.  
  687. for_window [class="^.*"] border pixel 8
  688. gaps inner 4
  689. gaps outer 4
  690. smart_gaps on
  691. smart_borders on
  692.  
  693. ########### i3 gaps resizing ############
  694.  
  695. set $mode_gaps Gaps: (o) outer, (i) inner
  696. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  697. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  698. bindsym $mod+Shift+g mode "$mode_gaps"
  699.  
  700. mode "$mode_gaps" {
  701. bindsym o mode "$mode_gaps_outer"
  702. bindsym i mode "$mode_gaps_inner"
  703. bindsym Return mode "default"
  704. bindsym Escape mode "default"
  705. }
  706.  
  707. mode "$mode_gaps_inner" {
  708. bindsym plus gaps inner current plus 2
  709. bindsym minus gaps inner current minus 2
  710. bindsym 0 gaps inner current set 0
  711.  
  712. bindsym Shift+plus gaps inner all plus 2
  713. bindsym Shift+minus gaps inner all minus 2
  714. bindsym Shift+0 gaps inner all set 0
  715.  
  716. bindsym Return mode "default"
  717. bindsym Escape mode "default"
  718. }
  719. mode "$mode_gaps_outer" {
  720. bindsym plus gaps outer current plus 2
  721. bindsym minus gaps outer current minus 2
  722. bindsym 0 gaps outer current set 0
  723.  
  724. bindsym Shift+plus gaps outer all plus 2
  725. bindsym Shift+minus gaps outer all minus 2
  726. bindsym Shift+0 gaps outer all set 0
  727.  
  728. bindsym Return mode "default"
  729. bindsym Escape mode "default"
  730. }
  731.  
  732. ###################################################################
  733. ########### Variety for Wallpapers ############
  734. ###################################################################
  735.  
  736. #Variety keybindings mod1 = ALT
  737. # trash wallpaper
  738. bindsym mod1+t exec --no-startup-id variety -t
  739. # next wallpaper
  740. bindsym mod1+n exec --no-startup-id variety -n
  741. bindsym mod1+Right exec --no-startup-id variety -n
  742. # previous wallpaper
  743. bindsym mod1+p exec --no-startup-id variety -p
  744. bindsym mod1+Left exec --no-startup-id variety -p
  745. # favorite wallpaper
  746. bindsym mod1+f exec --no-startup-id variety -f
  747. # pause wallpaper
  748. bindsym mod1+Up exec --no-startup-id variety --pause
  749. # resume wallpaper
  750. bindsym mod1+Down exec --no-startup-id variety --resume
  751.  
  752. ########### Variety with Pywal ###########
  753.  
  754. # next wallpaper
  755. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  756. # previous wallpaper
  757. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  758. # trash wallpaper
  759. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  760. # Update Wallpaper
  761. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  762.  
  763. ##########################################################
  764. ########### Audio Settings ###########
  765. ##########################################################
  766.  
  767. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  768. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  769. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  770. #https://github.com/acrisci/playerctl/
  771. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  772. bindsym XF86AudioNext exec --no-startup-id playerctl next
  773. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  774. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  775.  
  776. ###############################################################
  777. ########### System Applications ###########
  778. ###############################################################
  779.  
  780. exec --no-startup-id xfce4-power-manager &
  781. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  782. # IF xfsettingsd is activated you can not change themes
  783. #exec --no-startup-id xfsettingsd &
  784. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  785.  
  786. ######################## THE END ########################
  787. ####################################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement