poetician

i3 in ArcoLinux | Polybar | Reorganized 552 Lines

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