poetician

i3 in ArcoLinux | Conky-statusbar (minor tweaks)

Sep 30th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.60 KB | None | 0 0
  1. # ㄗ 𑁣 𑁗 ፖ ༑ ᙅ ༑ ₳ ⴄ 𓁿Ꝣᰃ𑊸
  2. #ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ#
  3.  
  4. # All the world's problems can be solved in a garden - Geoff Lawton
  5. # https://thenextpoetician.blogspot.com/ # https://pastebin.com/u/poetician
  6.  
  7. # Developer URL:https://i3wm.org/
  8. # Version: 4.16.1-186-gf3fffbae (2020-03-01, branch "makepkg") © 2009 Michael Stapelberg and contributors.
  9.  
  10. # Base config by Erik Dubois:
  11. # https://arcolinux.info/ # https://github.com/arcolinux
  12. # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg
  13.  
  14. #ᰜᰜᰜᰜᰜᰜ Key Names ᰜᰜᰜᰜᰜᰜ#
  15.  
  16. # Mod = Super key / Mod4 # Control = Ctrl key # Mod1 = Alt key
  17. # Shift = Shift key # Return = Enter or Return key # Escape = Escape key
  18. # Pause = Pause key # Print = Print key # Tab = Tab key
  19.  
  20. # Define the $mod variable key
  21. set $mod Mod4
  22.  
  23. # Define the movement keys
  24. set $up l
  25. set $down k
  26. set $left j
  27. set $right semicolon
  28.  
  29. #ᰜᰜᰜᰜᰜᰜ Dual Monitor Setup ᰜᰜᰜᰜᰜᰜ#
  30.  
  31. set $FirstMonitor HDMI-A-0
  32. set $SecondMonitor DVI-D-0
  33.  
  34. workspace 1 output $FirstMonitor
  35. workspace 2 output $FirstMonitor
  36. workspace 3 output $FirstMonitor
  37. workspace 4 output $FirstMonitor
  38. workspace 5 output $FirstMonitor
  39. workspace 6 output $FirstMonitor
  40. workspace 7 output $FirstMonitor
  41. workspace 8 output $FirstMonitor
  42. workspace 9 output $SecondMonitor
  43. workspace 10 output $SecondMonitor
  44. workspace 11 output $SecondMonitor
  45. workspace 12 output $SecondMonitor
  46. workspace 13 output $SecondMonitor
  47. workspace 14 output $SecondMonitor
  48.  
  49. # Use arandr for the configuration
  50. 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
  51.  
  52. #ᰜᰜᰜᰜᰜᰜ Reload Changed Configuration ᰜᰜᰜᰜᰜᰜ#
  53.  
  54. # Restart i3 in place (preserves the layout/session, can be used to upgrade i3)
  55. bindsym $mod+Shift+r restart
  56.  
  57. # Reload the configuration file
  58. bindsym $mod+Shift+c reload
  59.  
  60. #ᰜᰜᰜᰜᰜᰜ Stop Applications ᰜᰜᰜᰜᰜᰜ#
  61.  
  62. # Kill focused window
  63. bindsym $mod+q kill
  64.  
  65. # Xkill focused window
  66. bindsym --release $mod+Escape exec xkill
  67.  
  68. # Lockscreen, Logout, Reboot, etc ...
  69.  
  70. bindsym $mod+x exec arcolinux-logout
  71.  
  72. #ᰜᰜᰜᰜᰜᰜ Resize Windows ᰜᰜᰜᰜᰜᰜ#
  73.  
  74. # Resizing windows with keyboard only: https://unix.stackexchange.com/q/255344/150597
  75.  
  76. # Resizing by 1
  77. bindsym $mod+Ctrl+Right resize grow width 1 px or 1 ppt
  78. bindsym $mod+Ctrl+Up resize shrink height 1 px or 1 ppt
  79. bindsym $mod+Ctrl+Down resize grow height 1 px or 1 ppt
  80. bindsym $mod+Ctrl+Left resize shrink width 1 px or 1 ppt
  81.  
  82. # Resizing by 10
  83. bindsym $mod+Ctrl+comma resize shrink width 10 px or 10 ppt
  84. bindsym $mod+Ctrl+apostrophe resize grow height 10 px or 10 ppt
  85. bindsym $mod+Ctrl+slash resize shrink height 10 px or 10 ppt
  86. bindsym $mod+Ctrl+period resize grow width 10 px or 10 ppt
  87.  
  88. #ᰜᰜᰜᰜᰜᰜ i3 Next Gaps ᰜᰜᰜᰜᰜᰜ#
  89.  
  90. # Settings for I3 next gaps https://github.com/Airblader/i3/tree/gaps-next
  91.  
  92. for_window [class="^.*"] pixel 4
  93. gaps inner 4
  94. gaps outer 4
  95. smart_gaps on
  96. smart_borders on
  97.  
  98. #ᰜᰜᰜᰜᰜᰜ Resize i3 Gaps ᰜᰜᰜᰜᰜᰜ#
  99.  
  100. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  101.  
  102. bindsym $mod+Shift+f gaps inner all set 0; gaps outer all set 0
  103. bindsym $mod+Shift+s gaps inner all set 5; gaps outer all set 5
  104. bindsym $mod+Shift+t gaps inner all set 40; gaps outer all set 0
  105. bindsym $mod+Shift+a gaps inner all set 0; gaps outer all set 40
  106. bindsym $mod+Shift+w gaps inner all set 10; gaps outer all set 30
  107. bindsym control+Shift+minus gaps inner current minus 5
  108. bindsym control+Shift+o gaps outer current plus 10
  109. bindsym control+Shift+i gaps inner current plus 10
  110. bindsym control+Shift+plus gaps outer current minus 5
  111. bindsym control+Shift+l gaps vertical current plus 10
  112. bindsym control+Shift+comma gaps vertical current minus 5
  113. bindsym control+Shift+bracketright gaps horizontal current plus 10
  114. bindsym control+Shift+bracketleft gaps horizontal current minus 5
  115. bindsym control+Shift+semicolon gaps right current plus 10
  116. bindsym control+Shift+apostrophe gaps right current minus 10
  117. bindsym control+Shift+j gaps left current plus 10
  118. bindsym control+Shift+k gaps left current minus 10
  119. bindsym control+Shift+backslash gaps outer current toggle 40
  120. bindsym control+Shift+y gaps top current minus 20; gaps horizontal current minus 20
  121. bindsym control+Shift+u gaps top current plus 20; gaps horizontal all plus 20
  122.  
  123. # popup_during_fullscreen smart|ignore|leave_fullscreen
  124. popup_during_fullscreen leave_fullscreen
  125.  
  126. ####################################################
  127. #ᰜᰜᰜᰜᰜᰜ Bar and Workspace Appearance ᰜᰜᰜᰜᰜᰜ#
  128.  
  129. #ᰜᰜᰜᰜᰜᰜ Bar Toggle ᰜᰜᰜᰜᰜᰜ#
  130.  
  131. # Bar toggle, hide or show
  132. bindsym $mod+b bar mode invisible
  133. bindsym $mod+m bar mode dock
  134.  
  135. # Title font and alignment also used by the bar unless a different font is named in the bar {} block below.
  136. font pango: Federation italic 12
  137. title_align center
  138.  
  139. # Option 1: Polybar
  140. # Comment out conky and remove hashtag in the next line to load Polybar; log back in to see the change.
  141. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  142.  
  143. bar {
  144.  
  145. height 28
  146. workspace_buttons yes
  147. font pango:Federation italic 10
  148. i3bar_command i3bar -t
  149. tray_output HDMI-A-0
  150. position top
  151.  
  152. # Option 2 : Conky
  153.  
  154. # start-conky-i3statusbar.sh is started and conky will follow
  155. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  156. # conky configuration is in conky-i3statusbar
  157.  
  158. status_command ~/.config/i3/start-conky-i3statusbar.sh
  159.  
  160. colors {
  161. background #4f433f1a
  162. statusline #1a000000
  163. separator #1a000000
  164. # border backgr. text
  165. focused_workspace #1a000000 #0000001a #ffffff
  166. inactive_workspace #1a000000 #4f433f1a #FAEBD7
  167. active_workspace #1a000000 #1a000040 #d1bea8
  168. urgent_workspace #1a0000 #1a000040 #b6b9e1
  169. binding_mode #281948 #00000040 #FAEBD7
  170. }
  171. }
  172.  
  173. ##START THEMING
  174. #Theme name : Transparent Gold
  175.  
  176. # class border backgr. text indicator child-border
  177. client.placeholder #1a0000 #00000000 #281948 #000000 #281948
  178. client.background #000000
  179. client.unfocused #1a000000 #1a000000 #FFD700 #00000000 #7C0A02
  180. client.focused #1a000000 #1a000000 #B87333 #00000000 #560319
  181. client.focused_inactive #1a000000 #00000000 #4f433f #00000000 #cb410b
  182. client.urgent #11093e #000000 #a16b1c #000000 #8446d4
  183.  
  184. ##STOP THEMING
  185.  
  186. # #4f433f Tudor Brown #704214 Sepia #d1bea8 Dark Vanilla #FAEBD7 Antique White
  187. # #c0c0c0 Silver #899a99 Pewter #b2beb5 Ash Grey
  188. # #7C0A02 Barn Red #cb410b Sinopia #ffa500 Orange #ffbf00 Amber
  189. # #cd7f32 Bronze #B87333 Copper #FFD700 Gold # #ffc87c Topaz
  190. # #568203 Avocado #2e5e5b Pine #1f3d0c Deep Forest
  191. # #556b2f Dark Olive #013220 Dark Green #006600 Pakistan
  192. # #ee82ee Violet #673147 Old Mauve #560319 Dark Scarlet
  193. # #000f89 Phthalo Blue#4c2882 Spanish Violet#6a5acd Slate Blue #4b0082 Indigo
  194. # #089635 #104022 #033317 #a16b1c #e69722 #f4cd52 #8446d4 #b6b9e1
  195.  
  196. ###################################################
  197. #ᰜᰜᰜᰜᰜᰜ Applications and Directives ᰜᰜᰜᰜᰜᰜ#
  198.  
  199. set $ws1 "1 "
  200. assign [class="firefox|Opera"] $ws1
  201. #for_window [class="firefox"] focus
  202. exec --no-startup-id firefox
  203. bindsym $mod+F1 exec firefox
  204.  
  205. set $ws2 "2 𑢰ᨊ"
  206. assign [class="Atom|Electron4|Nemo"] $ws2
  207. bindsym $mod+F2 exec atom; focus
  208. exec --no-startup-id nemo
  209. bindsym $mod+Shift+Return exec nemo
  210.  
  211. set $ws3 "3 ℂㆤ"
  212. assign [class="Cherrytree|Xfce4-dict"] $ws3
  213. for_window [class="Cherrytree"] floating enable, resize set 1340 1035, move position 10 35
  214. exec --no-startup-id cherrytree
  215. bindsym $mod+control+t exec cherrytree
  216. for_window [class="Xfce4-dict"] floating enable, resize set 515 950, move position 1385 70
  217. bindsym Mod1+bracketright [class="Xfce4-dict"] scratchpad show
  218. bindsym $mod+Ctrl+y exec xfce4-dict; focus
  219.  
  220. set $ws4 "4 ㉡𐍈"
  221. assign [class="libreoffice"] $ws4
  222. exec --no-startup-id libreoffice
  223. bindsym $mod+F4 exec libreoffice
  224.  
  225. set $ws5 "5 𐎩"
  226. assign [class="kdenlive"] $ws5
  227. bindsym $mod+F5 exec kdenlive
  228. assign [class="Shotcut"] $ws5
  229.  
  230. set $ws6 "6 ᮱"
  231. assign [class="Gimp-2.10"] $ws6
  232. for_window [class="Gimp-2.10"] focus
  233. bindsym $mod+F6 exec gimp-2.10
  234. for_window [instance="script-fu"] border normal
  235. for_window [title="Copying"] floating enable
  236. for_window [title="Deleting"] floating enable
  237. for_window [title="Moving"] floating enable
  238. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  239. for_window [window_role="pop-up"] floating enable
  240. for_window [window_role="^Preferences$"] floating enable
  241. for_window [window_role="setup"] floating enable
  242.  
  243. set $ws7 "7 "
  244. assign [class="Google Earth Pro"] $ws7
  245. for_window [class="Google Earth Pro"] focus
  246. bindsym $mod+F7 exec google-earth-pro
  247.  
  248. set $ws8 "8 "
  249. assign [class="obs"] $ws8
  250. for_window [class="obs"] focus
  251. bindsym $mod+F8 exec obs
  252.  
  253. set $ws9 "9 𑣣"
  254. assign [class="Meld"] $ws9
  255. for_window [class="Meld"] focus
  256. exec --no-startup-id meld
  257. bindsym $mod+F9 exec meld
  258.  
  259. set $ws10 "10 ᶌɓ"
  260. assign [class="VirtualBox|VirtualBox Manager|Blender"] $ws10
  261. for_window [class="VirtualBox Manager"] floating disable
  262. bindsym $mod+F10 exec virtualbox manager; focus
  263. exec --no-startup-id virtualbox manager; focus
  264.  
  265. set $ws11 "11 էԵ 𑄟ᥴ"
  266. assign [class="Arcolinux-tweak-tool.py|Hefftor-twm-wallpaper-changer.py"] $ws11
  267. for_window [class="Arcolinux-tweak-tool.py"] floating enable, move position 2000 60, resize set 840 680
  268. bindsym Mod1+8 [class="Arcolinux-tweak-tool.py"] scratchpad show
  269. bindsym control+Shift+t exec arcolinux-tweak-tool, focus
  270. for_window [class="Hefftor-twm-wallpaper-changer.py"] floating enable, move position 3050 60, resize set 700 960
  271. #exec --no-startup-id hefftor-twm-wallpaper-changer
  272. bindsym Mod1+i exec hefftor-twm-wallpaper-changer
  273.  
  274. set $ws12 "12 ꚬᙦ ꚬ𐔣"
  275. assign [class="Audio Recorder|Hefftor_polybar_switcher.py|Hefftor-polybar-editor.py|Hefftor-slick-greeter-gui.py"] $ws12
  276. for_window [class="Audio Recorder"] floating enable, move position 3170 40
  277. for_window [class="Hefftor_polybar_switcher.py"] floating enable, move position 3150 40
  278. bindsym $mod+Mod1+y exec hefftor-polybar-switcher
  279. for_window [class="Hefftor-polybar-editor.py"] floating enable, move position 1940 40
  280. bindsym control+Shift+p exec hefftor-polybar-editor; focus
  281. for_window [class="Hefftor_slick_greeter_gui"] floating enable, move position 3100 685
  282.  
  283. set $ws13 "13 𐕅Ꭶ ઙᎯ"
  284. assign [class="Timeshift-gtk|Hefftor-maintenance-app.py|Hefftor_skelapp"] $ws13
  285. for_window [class="Timeshift-gtk"] floating enable, move position 1940 40, resize set 650 1020
  286. for_window [class="Hefftor-maintenance-app.py"] floating enable, move position 2613 90, resize set 500 750
  287. for_window [class="Hefftor_skelapp"] floating enable, move position 3265 140, resize set 550 700
  288. bindsym $mod+Shift+n exec hefftor-maintenance-app
  289. bindsym Mod1+Shift+h exec hefftor-skelapp
  290. bindsym Mod1+q exec --no-startup-id timeshift-gtk
  291. bindsym Mod1+bracketleft [class="Timeshift-gtk"] scratchpad show
  292.  
  293. set $ws14 "14 ᱧ𐌜 ⴝⴝ"
  294. assign [class="vlc|Xscreensaver-demo|transmission"] $ws14
  295. for_window [class="transmission"] floating enable, move position 1930 40, resize set 1040 880
  296. exec --no-startup-id transmission-qt
  297. exec_always --no-startup-id xscreensaver
  298. exec --no-startup-id xscreensaver-demo
  299. for_window [class="Xscreensaver-demo"] floating enable, move position 2985 40, resize set 842 880
  300. for_window [class="vlc"] floating enable, move position 1930 940, resize set 1900 120
  301. exec --no-startup-id vlc
  302. bindsym $mod+F3 exec vlc
  303.  
  304. #############################################
  305. #ᰜᰜᰜᰜᰜᰜ Application Launching ᰜᰜᰜᰜᰜᰜ#
  306.  
  307. # Start drun Mode
  308. bindsym $mod+g exec --no-startup-id rofi -show drun -show-icons -lines 8 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  309. # Start Rofi Combi Mode
  310. bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  311. # Start Rofi Window Mode
  312. bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
  313.  
  314. exec --no-startup-id python3 $HOME/.config/i3/i3-swallow.py
  315.  
  316. for_window [class="Alacritty"] move scratchpad, move position 1030 405
  317. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  318. bindsym $mod+Return exec alacritty
  319.  
  320. for_window [class="Hefftor-slick-greeter-gui.py"] floating enable
  321. for_window [class="Engrampa"] floating enable
  322. for_window [class="GParted"] floating enable
  323.  
  324. for_window [class="Gucharmap"] move scratchpad, move position 10 430, set 640 640
  325. bindsym Mod1+period [class="Gucharmap"] scratchpad show
  326. bindsym control+Mod1+period exec gucharmap
  327.  
  328. exec --no-startup-id pystopwatch
  329. for_window [class="Pystopwatch"] floating enable, resize set 340 130
  330.  
  331. # Pamac-Manager
  332. bindsym control+mod1+g exec --no-startup-id pamac-manager
  333. # Rofi Theme Selector
  334. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  335. # Screenshots
  336. bindsym Print exec --no-startup-id scrot ' -%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  337. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  338. # Settings
  339. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  340. # Start Xfce-appfinder
  341. for_window [class="Xfce4-appfinder"] floating enable
  342. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  343. # System Monitor
  344. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager, focus
  345.  
  346. #########################################
  347. #ᰜᰜᰜᰜᰜᰜ Floating or Tiled ᰜᰜᰜᰜᰜᰜ#
  348.  
  349. for_window [class="Create Snapshot"] floating enable
  350. for_window [class="File-roller"] floating enable
  351. for_window [class="Font-manager"] floating enable
  352. for_window [class="Galculator"] floating enable
  353. for_window [class="Gnome-disks"] floating disable
  354. for_window [class="^Gnome-font-viewer$"] floating enable
  355. for_window [class="^Gpick$"] floating enable
  356. for_window [class="Grub-customizer"] floating enable
  357. for_window [class="qt5ct|Lxappearance"] floating enable
  358. for_window [class="Pamac-manager"] floating enable
  359. for_window [class="radeon-profile"] floating enable, move position 480 80, resize set 640 900
  360. for_window [class="Usb-creator-gtk"] floating enable
  361. for_window [class="Xfce4-settings-manager"] floating enable
  362. for_window [class="Xfce4-taskmanager"] floating enable
  363.  
  364. #ᰜᰜᰜᰜᰜᰜ Loading Applications at Startup ᰜᰜᰜᰜᰜᰜ#
  365.  
  366. # Authentication dialog
  367. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  368. # Num Lock activated
  369. exec_always --no-startup-id numlockx on
  370. exec killall picom &&
  371. exec_always --no-startup-id picom -b
  372. exec_always --no-startup-id mousetrap -t 2
  373. exec nitrogen --restore
  374.  
  375. #ᰜᰜᰜᰜᰜᰜ Scratchpad ᰜᰜᰜᰜᰜᰜ#
  376.  
  377. # move the currently focused window to the scratchpad
  378. bindsym Mod1+Shift+slash move scratchpad
  379. bindsym Mod1+slash scratchpad show
  380.  
  381. #ᰜᰜᰜᰜᰜᰜ System Applications ᰜᰜᰜᰜᰜᰜ#
  382.  
  383. exec --no-startup-id xfce4-power-manager &
  384. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  385.  
  386. #ᰜᰜᰜᰜᰜᰜ Tray Applications ᰜᰜᰜᰜᰜᰜ#
  387.  
  388. # Network
  389. exec --no-startup-id nm-applet
  390. # Parcellite
  391. exec --no-startup-id parcellite
  392. # Radeon Profile
  393. #exec --no-startup-id radeon-profile
  394. # Workrave
  395. exec --no-startup-id workrave
  396. # Volume
  397. # exec --no-startup-id pasystray
  398. exec --no-startup-id volumeicon
  399. # Updater
  400. exec --no-startup-id pamac-tray
  401. # Dropbox
  402. exec --no-startup-id dropbox start
  403. # Megasync
  404. exec --no-startup-id megasync
  405.  
  406. #############################################
  407. #ᰜᰜᰜᰜᰜᰜ Navigating Containers ᰜᰜᰜᰜᰜᰜ#
  408.  
  409. # Use mouse+$mod to drag floating windows to their new position
  410. floating_modifier $mod
  411.  
  412. # Toggle Tiling / Floating
  413. bindsym control+space floating toggle
  414.  
  415. # Change Focus
  416. bindsym $mod+$left focus left
  417. bindsym $mod+Left focus left
  418. bindsym $mod+$down focus down
  419. bindsym $mod+Down focus down
  420. bindsym $mod+$up focus up
  421. bindsym $mod+Up focus up
  422. bindsym $mod+$right focus right
  423. bindsym $mod+Right focus right
  424.  
  425. # Move Focused Window
  426. bindsym $mod+Shift+$left move left
  427. bindsym $mod+Shift+Left move left
  428. bindsym $mod+Shift+$down move down
  429. bindsym $mod+Shift+Down move down
  430. bindsym $mod+Shift+$up move up
  431. bindsym $mod+Shift+Up move up
  432. bindsym $mod+Shift+$right move right
  433. bindsym $mod+Shift+Right move right
  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. # enter fullscreen mode for the focused container
  458. bindsym $mod+f fullscreen toggle
  459.  
  460. # orientation for new workspaces
  461. default_orientation horizontal
  462. # split in horizontal orientation
  463. bindsym $mod+h split h
  464. # split in vertical orientation
  465. bindsym $mod+v split v
  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. #####################################################
  481. #ᰜᰜᰜᰜᰜᰜ Workspace Switching Functions ᰜᰜᰜᰜᰜᰜ#
  482.  
  483. # Switch to workspace
  484. bindsym $mod+1 workspace $ws1
  485. bindsym $mod+2 workspace $ws2
  486. bindsym $mod+3 workspace $ws3
  487. bindsym $mod+4 workspace $ws4
  488. bindsym $mod+5 workspace $ws5
  489. bindsym $mod+6 workspace $ws6
  490. bindsym $mod+7 workspace $ws7
  491. bindsym $mod+8 workspace $ws8
  492. bindsym $mod+9 workspace $ws9
  493. bindsym $mod+0 workspace $ws10
  494. bindsym $mod+minus workspace $ws11
  495. bindsym $mod+equal workspace $ws12
  496. bindsym $mod+bracketleft workspace $ws13
  497. bindsym $mod+bracketright workspace $ws14
  498.  
  499. # Move focused container to workspace
  500. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  501. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  502. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  503. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  504. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  505. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  506. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  507. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  508. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  509. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  510. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  511. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  512. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  513. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  514.  
  515. ##########################################
  516. #ᰜᰜᰜᰜᰜᰜ Application focus ᰜᰜ ᰜᰜᰜᰜ#
  517.  
  518. focus_on_window_activation smart
  519.  
  520. ######################################
  521. #ᰜᰜᰜᰜᰜᰜ Border Control ᰜᰜᰜᰜᰜᰜ#
  522.  
  523. border_radius 7
  524.  
  525. # default_border normal | none | pixel
  526. default_border pixel 7
  527. # default_floating_border normal | none| pixel
  528. default_floating_border pixel 7
  529.  
  530. # hide_edge_borders none|vertical|horizontal|both|smart
  531. hide_edge_borders none
  532. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  533.  
  534. # changing border style
  535. bindsym $mod+t border normal
  536. bindsym $mod+y border 1pixel
  537. bindsym $mod+u border none
  538.  
  539. # new_window normal | none
  540. new_window pixel 7
  541.  
  542. # new_float normal | none
  543. new_float pixel 7
  544.  
  545. ##############################################
  546. #ᰜᰜᰜᰜᰜᰜ Variety for Wallpapers ᰜᰜᰜᰜᰜᰜ#
  547.  
  548. # exec --no-startup-id variety
  549. for_window [class="Variety"] floating enable
  550. for_window [instance="Variety Preferences"] floating enable
  551.  
  552. # trash wallpaper
  553. bindsym mod1+t exec --no-startup-id variety -t
  554. # next wallpaper
  555. bindsym mod1+n exec --no-startup-id variety -n
  556. bindsym mod1+Right exec --no-startup-id variety -n
  557. # previous wallpaper
  558. bindsym mod1+p exec --no-startup-id variety -p
  559. bindsym mod1+Left exec --no-startup-id variety -p
  560. # favorite wallpaper
  561. bindsym mod1+f exec --no-startup-id variety -f
  562. # pause wallpaper
  563. bindsym mod1+Up exec --no-startup-id variety --pause
  564. # resume wallpaper
  565. bindsym mod1+Down exec --no-startup-id variety --resume
  566.  
  567. #ᰜᰜᰜᰜᰜᰜ Variety with Pywal ᰜᰜᰜᰜᰜᰜ#
  568.  
  569. # next wallpaper
  570. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  571. # previous wallpaper
  572. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  573. # trash wallpaper
  574. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  575. # update wallpaper
  576. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  577.  
  578. #ᰜᰜᰜᰜᰜᰜ The End - Now Start Again ᰜᰜᰜᰜᰜᰜ#
  579. #########################################################################################
  580.  
  581. # All these words are empty baskets
  582. # Carried to the market square
  583. # Trading truth and lies in barter
  584. # Warranting warn buyer beware
  585.  
  586. # All these words are reeds I wove
  587. # Taught to hold my pauper’s share
  588. # Show me yours before and after
  589. # Out in the open we may compare
  590.  
  591. # All these words are on the table
  592. # Yoked to folly the shell game starts
  593. # Trick the eye they who are able
  594. # Cunning those the same the heart
  595.  
  596. # All these words are fruits of labour
  597. # Bounty’s grace on harvest’s day
  598. # Test taste and judge the many flavours
  599. # Fill your need be on your way
  600.  
  601. # All these words so meet and proper
  602. # Morning meals served hot or cold
  603. # Savour meaning old sharecropper
  604. # Recall the stories you were told
  605.  
  606. # All these words are open caskets
  607. # Life goes on even nothing’s fair
  608. # Gather seeds for ever after
  609. # Till the breach sow to repair
  610.  
Advertisement
Add Comment
Please, Sign In to add comment