poetician

i3 ArcoLinux | Polybar Rounded Corners | 0018 Round Suru

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