poetician

i3 ArcoLinux | Polybar Only | Raspberry Plants Theme | Gaps Overhauled

Oct 31st, 2020 (edited)
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.96 KB | None | 0 0
  1. # ㄗ 𑁣 𑁗 ፖ ༑ ᙅ ༑ ₳ ⴄ 𓁿Ꝣᰃ𑊸 ᰜᰜᰜ ⼫𐍈𐔹ⵖЪДⴽ ᕮᗤ𐏒𐌕𐏒𐀏ꤚ ᰜᰜ#
  2. #ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ#
  3.  
  4. # https://thenextpoetician.blogspot.com/ # https://pastebin.com/u/poetician
  5.  
  6. # Developer URL:https://i3wm.org/
  7. # Version: 4.16.1-186-gf3fffbae (2020-03-01, branch "makepkg") © 2009 Michael Stapelberg and contributors.
  8.  
  9. # Derived in part from ArcoLinux default:
  10. # https://arcolinux.info/ # https://github.com/arcolinux # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg
  11.  
  12. #ᰜᰜᰜᰜᰜᰜ Key Names ᰜᰜᰜᰜᰜᰜ#
  13.  
  14. # Mod = Super key / Mod4 # Control = Ctrl key # Mod1 = Alt key
  15. # Shift = Shift key # Return = Enter or Return key # Escape = Escape key
  16. # Pause = Pause key # Print = Print key # Tab = Tab key
  17.  
  18. # Define the $mod variable key
  19. set $mod Mod4
  20.  
  21. #ᰜᰜᰜᰜᰜᰜ Dual Monitor Setup ᰜᰜᰜᰜᰜᰜ#
  22.  
  23. set $Screen1 HDMI-A-0
  24. set $Screen2 DVI-D-0
  25.  
  26. workspace 1 output $Screen1
  27. workspace 2 output $Screen1
  28. workspace 3 output $Screen1
  29. workspace 4 output $Screen1
  30. workspace 5 output $Screen1
  31. workspace 6 output $Screen1
  32. workspace 7 output $Screen1
  33. workspace 8 output $Screen1
  34. workspace 9 output $Screen2
  35. workspace 10 output $Screen2
  36. workspace 11 output $Screen2
  37. workspace 12 output $Screen2
  38. workspace 13 output $Screen2
  39. workspace 14 output $Screen2
  40.  
  41. # Use arandr for the configuration
  42. exec xrandr --no-startup-id --output HDMI-A-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DVI-D-0 -mode 1920x1080 --pos 1920x0 --rotate normal
  43.  
  44. #ᰜᰜᰜᰜᰜᰜ Reload Changed Configuration ᰜᰜᰜᰜᰜᰜ#
  45.  
  46. # Restart i3 in place (preserves the layout/session, can be used to upgrade i3)
  47. bindsym $mod+Shift+r restart
  48.  
  49. # Reload the configuration file
  50. bindsym $mod+Shift+c reload
  51.  
  52. #ᰜᰜᰜᰜᰜᰜ Stop Applications ᰜᰜᰜᰜᰜᰜ#
  53.  
  54. # Kill focused window
  55. bindsym $mod+q kill
  56.  
  57. # Xkill focused window
  58. bindsym --release $mod+Escape exec xkill
  59.  
  60. # Lockscreen, Logout, Reboot, etc ...
  61. bindsym $mod+x exec arcolinux-logout
  62.  
  63. #ᰜᰜᰜᰜᰜᰜ Resize Windows ᰜᰜᰜᰜᰜᰜ#
  64. # Resizing windows with keyboard only: https://unix.stackexchange.com/q/255344/150597
  65.  
  66. # Resizing by 2
  67. bindsym $mod+control+Right resize grow width 2 px or 2 ppt
  68. bindsym $mod+control+Left resize shrink width 2 px or 2 ppt
  69. bindsym $mod+control+Up resize shrink height 2 px or 2 ppt
  70. bindsym $mod+control+Down resize grow height 2 px or 2 ppt
  71.  
  72. #ᰜᰜᰜᰜᰜᰜ i3 Next Gaps ᰜᰜᰜᰜᰜᰜ#
  73. # Settings for I3 next gaps https://github.com/Airblader/i3/tree/gaps-next
  74.  
  75. #for_window [class="^.*"] pixel 4
  76. gaps inner 4
  77. gaps outer 4
  78. smart_gaps on
  79. smart_borders on
  80.  
  81. #ᰜᰜᰜᰜᰜᰜ Resize i3 Gaps ᰜᰜᰜᰜᰜᰜ#
  82. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  83.  
  84. bindsym control+Shift+q gaps left current plus 10
  85. bindsym control+Shift+w gaps left current minus 10
  86. bindsym control+Shift+a gaps right current plus 10
  87. bindsym control+Shift+s gaps right current minus 10
  88. bindsym control+Shift+e gaps top current plus 10
  89. bindsym control+Shift+d gaps bottom current plus 10
  90. bindsym control+Shift+r gaps top current minus 10
  91. bindsym control+Shift+f gaps bottom current minus 10
  92. bindsym control+Shift+t gaps outer current toggle 40
  93. bindsym control+Shift+g gaps outer current plus 10
  94. bindsym control+Shift+b gaps outer current minus 10
  95. bindsym control+Shift+y gaps outer all set 10
  96. bindsym control+Shift+h gaps outer all set 20
  97. bindsym control+Shift+n gaps outer all set 40
  98. bindsym control+Shift+u gaps vertical current set 20
  99. bindsym control+Shift+j gaps outer all set 40
  100. bindsym control+Shift+m gaps outer all set 60
  101. bindsym control+Shift+i gaps inner all set 5; gaps outer all set 5
  102. bindsym control+Shift+k gaps inner all set 15; gaps outer all set 15
  103. bindsym control+Shift+comma gaps inner all set 30; gaps outer all set 30
  104. bindsym control+Shift+o gaps vertical current plus 10
  105. bindsym control+Shift+l gaps vertical current minus 10
  106. bindsym control+Shift+period gaps horizontal current plus 10
  107. bindsym control+Shift+slash gaps horizontal current minus 10
  108. bindsym control+Shift+bracketleft gaps all set minus 10
  109. bindsym control+Shift+bracketright gaps all set plus 10
  110. bindsym control+Shift+semicolon gaps right current plus 10
  111. bindsym control+Shift+apostrophe gaps right current minus 10
  112.  
  113. # popup_during_fullscreen smart|ignore|leave_fullscreen
  114. popup_during_fullscreen leave_fullscreen
  115.  
  116. ####################################################
  117. #ᰜᰜᰜᰜᰜᰜ Polybar and Workspace Appearance ᰜᰜᰜᰜᰜᰜ#
  118.  
  119. # Polybar
  120. exec_always --no-startup-id ~/.config/polybar/launch.sh &
  121.  
  122. ##START THEMING
  123. #Theme name : Raspberry Plants
  124.  
  125. # class border background text indicator child-border
  126. client.placeholder #00000000 #00000000 #4f433f #00000000 #7f2f49
  127. client.background #00000000
  128. client.unfocused #00000000 #00000000 #fcc48a #00000000 #fcc48a
  129. client.focused #00000000 #00000000 #B87333 #00000000 #44283D
  130. client.focused_inactive #00000000 #00000000 #4f433f #00000000 #B2627C
  131. client.urgent #00000000 #00000000 #a16b1c #000000 #ffffff
  132.  
  133. ##STOP THEMING
  134.  
  135. ###################################################
  136. #ᰜᰜᰜᰜᰜᰜ Applications and Directives ᰜᰜᰜᰜᰜᰜ#
  137.  
  138. set $ws1 "1"
  139. assign [class="firefox|Opera"] $ws1
  140. for_window [class="firefox|Opera"]focus
  141. exec --no-startup-id firefox
  142. bindsym $mod+F1 exec firefox
  143.  
  144. set $ws2 "2"
  145. assign [class="Atom|Nemo"] $ws2
  146. for_window [class="Atom|Nemo"]focus
  147. for_window [class="Nemo-terminal-prefs"]focus, floating enable
  148. bindsym $mod+F2 exec "atom ~/.config/i3/config && ~/.config/polybar/config && ~/.config/jgmenu/jgmenurc"
  149. exec --no-startup-id nemo
  150. bindsym $mod+Shift+Return exec nemo
  151.  
  152. set $ws3 "3"
  153. assign [class="Cherrytree|Xfce4-dict"] $ws3
  154. for_window [class="Cherrytree"]focus, floating enable, resize set 1100 980, move position 20 50
  155. exec --no-startup-id cherrytree
  156. bindsym $mod+control+t exec cherrytree
  157. for_window [class="Xfce4-dict"]focus, floating enable, resize set 480 980, move position 1180 50
  158. bindsym $mod+control+d exec xfce4-dict
  159.  
  160. set $ws4 "4"
  161. assign [class="libreoffice"] $ws4
  162. exec --no-startup-id libreoffice
  163. bindsym $mod+F4 exec libreoffice
  164.  
  165. set $ws5 "5"
  166. assign [class="kdenlive"] $ws5
  167. for_window [class="kdenlive"]focus
  168. bindsym $mod+F5 exec kdenlive
  169.  
  170. set $ws6 "6"
  171. assign [class="Gimp-2.10"] $ws6
  172. for_window [class="Gimp-2.10"]focus
  173. bindsym $mod+F6 exec gimp-2.10
  174. for_window [instance="script-fu"] border normal
  175. for_window [title="Copying"] floating enable
  176. for_window [title="Deleting"] floating enable
  177. for_window [title="Moving"] floating enable
  178. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  179. for_window [window_role="pop-up"] floating enable
  180. for_window [window_role="^Preferences$"] floating enable
  181. for_window [window_role="setup"] floating enable
  182.  
  183. set $ws7 "7"
  184. assign [class="Google Earth Pro"] $ws7
  185. for_window [class="Google Earth Pro"]focus
  186. bindsym $mod+F7 exec google-earth-pro
  187.  
  188. set $ws8 "8"
  189. assign [class="Audio Recorder|obs"] $ws8
  190. for_window [class="Audio Recorder"] floating enable, move position 2860 40
  191. for_window [class="obs"]focus
  192. bindsym $mod+F8 exec obs
  193.  
  194. set $ws9 "9"
  195. assign [class="Meld"] $ws9
  196. for_window [class="Meld"]focus, floating enable, resize set 1912 1008, move position 1924 36
  197. exec --no-startup-id meld
  198. bindsym $mod+F9 exec meld
  199.  
  200. set $ws10 "10"
  201. assign [class="VirtualBox|VirtualBox Manager|VirtualBox Machine"] $ws10
  202. for_window [class="VirtualBox Machine|VirtualBox Manager"]focus, floating disable
  203. for_window [class="VirtualBox"] move position 1920 480
  204. exec --no-startup-id virtualbox manager
  205. bindsym $mod+F10 exec virtualbox manager
  206.  
  207. set $ws11 "11"
  208. assign [class="Arcolinux-tweak-tool.py|Blender"] $ws11
  209. for_window [class="Arcolinux-tweak-tool.py"]focus, floating enable, resize set 800 800, move position 2480 140
  210. bindsym $mod+control+e exec arcolinux-tweak-tool
  211. bindsym $mod+control+b exec blender
  212.  
  213. set $ws12 "12"
  214. assign [class="qBittorrent|Timeshift-gtk|Transmission-gtk"] $ws12
  215. for_window [class="Timeshift-gtk"] floating enable, move position 1940 60, resize set 800 950
  216. for_window [class="Transmission-gtk"] floating enable, move position 2820 60, resize set 900 480
  217. for_window [class="qBittorrent"] floating enable, move position 2780 60, resize set 1040 950
  218. bindsym $mod+F11 exec timeshift-launcher
  219. bindsym $mod+F12 exec qbittorrent
  220. exec --no-startup-id qbittorrent
  221.  
  222. set $ws13 "13"
  223. assign [class="vlc|Xscreensaver-demo"] $ws13
  224. for_window [class="Xscreensaver-demo"] floating enable, resize set 1420 800, move position 2170 60
  225. exec_always --no-startup-id xscreensaver
  226. exec --no-startup-id xscreensaver-demo
  227. bindsym $mod+control+x exec xscreensaver-demo
  228. for_window [class="vlc"] floating enable, move position 2170 900, resize set 1420 120
  229. exec --no-startup-id vlc
  230. bindsym $mod+F3 exec vlc
  231.  
  232. set $ws14 "14"
  233. assign [class="Virt-manager|Oomox|__main__.py"] $ws14
  234. for_window [class="Virt-machine"]focus, floating disable
  235. for_window [class="Oomox"]focus, floating enable, resize set 1405 970, move position 1930 50
  236. for_window [class="Lxappearance"]focus, floating enable, move position 3050 95, resize set 785 720
  237. bindsym $mod+l exec lxappearance
  238. bindsym $mod+o exec oomox-gui
  239. bindsym $mod+control+v exec virt-manager
  240.  
  241. #############################################
  242. #ᰜᰜᰜᰜᰜᰜ Application Launching ᰜᰜᰜᰜᰜᰜ#
  243.  
  244. # Start drun Mode
  245. bindsym $mod+g exec --no-startup-id rofi -show drun -show-icons -lines 8 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  246. # Start Rofi Combi Mode
  247. bindsym $mod+control+z exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  248. # Start Rofi Window Mode
  249. bindsym $mod+control+w exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
  250. # Start Rofi with Rofi-Shortcuts
  251. bindsym $mod+control+r exec ~/.config/rofi/rofi-shortcuts/rofi-shortcuts.sh
  252. # Start Rofi Theme Selector
  253. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  254.  
  255. # Pamac-Manager
  256. for_window [class="Pamac-manager"] floating enable, move position 510 80, resize set 800 700
  257. bindsym control+mod1+g exec --no-startup-id pamac-manager
  258. # Settings
  259. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  260. # System Monitor
  261. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager, focus
  262.  
  263. for_window [class="Alacritty"] floating enable, resize set 760 700, move position 1120 360
  264. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  265. bindsym $mod+Return exec alacritty
  266. for_window [class="Arcolinux-welcome-app.py"] floating enable
  267. bindsym $mod+w exec arcolinux-welcome-app
  268. bindsym $mod+control+f exec catfish; focus
  269. bindsym $mod+r exec flameshot
  270. for_window [class="Gnome-calendar"] resize set 844 800, move position 24 54
  271. bindsym $mod+control+a exec gnome-calendar
  272. for_window [class="Gucharmap"] move scratchpad, move position 10 430, set 640 640
  273. bindsym Mod1+period [class="Gucharmap"] scratchpad show
  274. bindsym control+Mod1+period exec gucharmap
  275. for_window [class="Kvantum Manager"] floating enable
  276. bindsym $mod+k exec kvantummanager
  277. bindsym $mod+n exec nitrogen
  278. for_window [class="Nitrogen"] floating enable, move position 1040 110, resize set 800 880
  279. bindsym $mod+p exec peek
  280. for_window [class="qt5ct"] floating enable, move position 510 160, resize set 900 720
  281. bindsym $mod+control+q exec qt5ct
  282. for_window [class="Shutter"] floating enable
  283. bindsym $mod+control+s exec shutter
  284. bindsym Print exec --no-startup-id scrot ' -%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  285. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  286. for_window [class="Xfce4-appfinder"] floating enable
  287. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  288.  
  289. #########################################
  290. #ᰜᰜᰜᰜᰜᰜ Floating or Tiled ᰜᰜᰜᰜᰜᰜ#
  291.  
  292. for_window [class="Engrampa"] floating enable
  293. for_window [class="File-roller"] floating enable
  294. for_window [class="Font-manager"] floating enable
  295. for_window [class="Galculator"] floating enable
  296. for_window [class="Gnome-calendar|Gnome-disks|^Gnome-font-viewer$"] floating enable
  297. for_window [class="GParted"] floating enable
  298. for_window [class="^Gpick$"] floating enable
  299. for_window [class="Grub-customizer"] floating enable
  300. for_window [class="Imagewriter|Usb-creator-gtk"] floating enable
  301. for_window [class="System-config-printer.py"] floating enable
  302. for_window [class="Xfce4-settings-manager|Xfce4-taskmanager"] floating enable
  303.  
  304. #ᰜᰜᰜᰜᰜᰜ Loading Applications at Startup ᰜᰜᰜᰜᰜᰜ#
  305.  
  306. # Authentication dialog
  307. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  308. exec_always --no-startup-id mousetrap -t 2
  309. exec nitrogen --restore
  310. exec_always --no-startup-id numlockx on
  311. exec killall picom &&
  312. exec_always --no-startup-id picom -b
  313. exec --no-startup-id python3 $HOME/.config/i3/i3-swallow.py
  314. exec --no-startup-id xfce4-power-manager &
  315. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  316.  
  317. #ᰜᰜᰜᰜᰜᰜ Tray Applications ᰜᰜᰜᰜᰜᰜ#
  318.  
  319. # Network
  320. exec --no-startup-id nm-applet
  321. # Parcellite
  322. exec --no-startup-id parcellite
  323. # Workrave
  324. exec --no-startup-id workrave
  325. # Volume
  326. exec --no-startup-id volumeicon
  327. # Updater
  328. exec --no-startup-id pamac-tray
  329. # Dropbox
  330. exec --no-startup-id dropbox start
  331. #Stopwatch
  332. for_window [class="Stopwatch"] floating enable
  333. for_window [class="Stopwatch"] move scratchpad, resize set 360 240, move position 900 600
  334. bindsym Mod1+semicolon [class="Stopwatch"] scratchpad show
  335. exec --no-startup-id stopwatch
  336.  
  337. #ᰜᰜᰜᰜᰜᰜ Scratchpad ᰜᰜᰜᰜᰜᰜ#
  338.  
  339. # move the currently focused window to the scratchpad
  340. bindsym Mod1+Shift+slash move scratchpad
  341. bindsym Mod1+slash scratchpad show
  342.  
  343. #############################################
  344. #ᰜᰜᰜᰜᰜᰜ Navigating Containers ᰜᰜᰜᰜᰜᰜ#
  345.  
  346. # Use mouse+$mod to drag floating windows to their new position
  347. floating_modifier $mod
  348.  
  349. # Toggle Tiling / Floating
  350. bindsym control+space floating toggle
  351.  
  352. # Change Focus
  353. bindsym $mod+Left focus left
  354. bindsym $mod+Down focus down
  355. bindsym $mod+Up focus up
  356. bindsym $mod+Right focus right
  357.  
  358. # Move Focused Window
  359. bindsym $mod+Shift+Left move left
  360. bindsym $mod+Shift+Down move down
  361. bindsym $mod+Shift+Up move up
  362. bindsym $mod+Shift+Right move right
  363.  
  364. # Open next workspace in order / Move container to next workspace
  365. bindsym $mod+Shift+n exec --no-startup-id ~/Data/i3-next-available-workspace/next_available_ws.sh
  366. bindsym $mod+Shift+m exec --no-startup-id ~/Data/i3-next-available-workspace/next_available_ws.sh -m # move container to new window
  367.  
  368. #############################################
  369. #ᰜᰜᰜᰜᰜᰜ Navigating Workspaces ᰜᰜᰜᰜᰜᰜ#
  370.  
  371. # Navigate to Next / Previous Workspace
  372. bindsym Mod1+Shift+Tab workspace prev
  373. bindsym Mod1+Tab workspace next
  374. bindsym Mod1+Ctrl+Left workspace prev
  375. bindsym Mod1+Ctrl+Right workspace next
  376. bindsym $mod+Tab workspace back_and_forth
  377.  
  378. # Switch to workspace with urgent window automatically
  379. for_window [urgent=latest] focus
  380.  
  381. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  382. workspace_auto_back_and_forth yes
  383.  
  384. #########################################
  385. #ᰜᰜᰜᰜᰜᰜ Tiling Parameters ᰜᰜᰜᰜᰜᰜ#
  386.  
  387. # workspace_layout default|stacking|tabbed
  388. workspace_layout default
  389.  
  390. # orientation for new workspaces
  391. default_orientation horizontal
  392. # split in horizontal orientation
  393. bindsym $mod+h split h
  394. # split in vertical orientation
  395. bindsym $mod+v split v
  396.  
  397. # enter fullscreen mode for the focused container
  398. bindsym $mod+f fullscreen toggle
  399.  
  400. # change container layout (stacked, tabbed, toggle split)
  401. bindsym $mod+s layout stacking
  402. bindsym $mod+z layout tabbed
  403. bindsym $mod+e layout toggle split
  404.  
  405. # change focus between tiling / floating windows
  406. bindsym $mod+space focus mode_toggle
  407.  
  408. # focus the parent container
  409. bindsym $mod+a focus parent
  410. # focus the child "HHVH"
  411. bindsym $mod+d focus child
  412.  
  413. ##########################################
  414. #ᰜᰜᰜᰜᰜᰜ Application focus ᰜᰜ ᰜᰜᰜᰜ#
  415.  
  416. focus_on_window_activation smart
  417.  
  418. #####################################################
  419. #ᰜᰜᰜᰜᰜᰜ Workspace Switching Functions ᰜᰜᰜᰜᰜᰜ#
  420.  
  421. # Switch to workspace
  422. bindsym $mod+1 workspace $ws1
  423. bindsym $mod+2 workspace $ws2
  424. bindsym $mod+3 workspace $ws3
  425. bindsym $mod+4 workspace $ws4
  426. bindsym $mod+5 workspace $ws5
  427. bindsym $mod+6 workspace $ws6
  428. bindsym $mod+7 workspace $ws7
  429. bindsym $mod+8 workspace $ws8
  430. bindsym $mod+9 workspace $ws9
  431. bindsym $mod+0 workspace $ws10
  432. bindsym $mod+minus workspace $ws11
  433. bindsym $mod+equal workspace $ws12
  434. bindsym $mod+bracketleft workspace $ws13
  435. bindsym $mod+bracketright workspace $ws14
  436.  
  437. # Move focused container to workspace
  438. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  439. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  440. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  441. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  442. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  443. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  444. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  445. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  446. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  447. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  448. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  449. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  450. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  451. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  452.  
  453. ######################################
  454. #ᰜᰜᰜᰜᰜᰜ Border Control ᰜᰜᰜᰜᰜᰜ#
  455.  
  456. # default_border normal | none | pixel
  457. default_border pixel 4
  458. # default_floating_border normal | none| pixel
  459. default_floating_border pixel 6
  460.  
  461. # hide_edge_borders none|vertical|horizontal|both|smart
  462. hide_edge_borders none
  463. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  464.  
  465. # changing border style
  466. bindsym $mod+t border normal
  467. bindsym $mod+y border 1pixel
  468. bindsym $mod+u border none
  469.  
  470. new_window pixel 4
  471. # new_window normal | new_window none
  472.  
  473. new_float pixel 6
  474. # new_float normal | none
  475.  
  476. ##### i3-gaps ##############
  477. for_window [class=".*"] border pixel 6
  478. gaps inner 6
  479. gaps outer 6
  480. #gaps horizontal 2
  481.  
  482. ################# i3-radius #######################
  483. smart_borders on
  484. smart_borders no_gaps
  485. border_radius 7
  486.  
  487. ##############################################
  488. #ᰜᰜᰜᰜᰜᰜ Variety for Wallpapers ᰜᰜᰜᰜᰜᰜ#
  489.  
  490. # exec --no-startup-id variety
  491. for_window [class="Variety"] floating enable
  492. for_window [instance="Variety Preferences"] floating enable
  493.  
  494. # trash wallpaper
  495. bindsym mod1+t exec --no-startup-id variety -t
  496. # next wallpaper
  497. bindsym mod1+n exec --no-startup-id variety -n
  498. bindsym mod1+Right exec --no-startup-id variety -n
  499. # previous wallpaper
  500. bindsym mod1+p exec --no-startup-id variety -p
  501. bindsym mod1+Left exec --no-startup-id variety -p
  502. # favorite wallpaper
  503. bindsym mod1+f exec --no-startup-id variety -f
  504. # pause wallpaper
  505. bindsym mod1+Up exec --no-startup-id variety --pause
  506. # resume wallpaper
  507. bindsym mod1+Down exec --no-startup-id variety --resume
  508.  
  509. #ᰜᰜᰜᰜᰜᰜ Variety with Pywal ᰜᰜᰜᰜᰜᰜ#
  510.  
  511. # next wallpaper
  512. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  513. # previous wallpaper
  514. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  515. # trash wallpaper
  516. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  517. # update wallpaper
  518. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  519.  
  520. #ᰜᰜᰜᰜᰜᰜ The End - Now Start Again ᰜᰜᰜᰜᰜᰜ#
  521. #########################################################################################
  522.  
  523. # All these words are empty baskets
  524. # Carried to the market square
  525. # Trading truth and lies in barter
  526. # Warranting warn buyer beware
  527.  
  528. # All these words are reeds I wove
  529. # Taught to hold my pauper’s share
  530. # Show me yours before and after
  531. # Out in the open we may compare
  532.  
  533. # All these words are on the table
  534. # Yoked to folly the shell game starts
  535. # Trick the eye they who are able
  536. # Cunning those the same the heart
  537.  
  538. # All these words are fruits of labour
  539. # Bounty’s grace on harvest’s day
  540. # Test taste and judge the many flavours
  541. # Fill your need be on your way
  542.  
  543. # All these words so meet and proper
  544. # Morning meals served hot or cold
  545. # Savour meaning old sharecropper
  546. # Recall the stories you were told
  547.  
  548. # All these words are open caskets
  549. # Life goes on even nothing’s fair
  550. # Gather seeds for ever after
  551. # Till the breach sow to repair
  552.  
Advertisement
Add Comment
Please, Sign In to add comment