poetician

i3 ArcoLinux | Polybar | Focus Directive Cleanup

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