poetician

i3 in ArcoLinux | Polybar | PW15 Theme

Oct 13th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.16 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+bracketleft gaps horizontal current minus 5
  97. bindsym control+Shift+bracketright gaps horizontal current plus 10
  98. bindsym control+Shift+semicolon gaps right current plus 10
  99. bindsym control+Shift+apostrophe gaps right current minus 10
  100. bindsym control+Shift+backslash gaps outer current toggle 40
  101. bindsym control+Shift+u gaps top current plus 20; gaps horizontal all plus 20
  102. bindsym control+Shift+w gaps inner all set 20; gaps outer all set 30
  103. bindsym control+Shift+y gaps top current minus 20; gaps horizontal current minus 20
  104.  
  105. # popup_during_fullscreen smart|ignore|leave_fullscreen
  106. popup_during_fullscreen leave_fullscreen
  107.  
  108. ####################################################
  109. #ᰜᰜᰜᰜᰜᰜ Bar and Workspace Appearance ᰜᰜᰜᰜᰜᰜ#
  110.  
  111. #ᰜᰜᰜᰜᰜᰜ Bar Toggle ᰜᰜᰜᰜᰜᰜ#
  112. # Bar toggle, hide or show
  113. bindsym $mod+b bar mode invisible
  114. bindsym $mod+m bar mode dock
  115.  
  116. # Title font and alignment also used by the bar unless a different font is named in the bar {} block below.
  117. font pango: Federation italic 12
  118. title_align center
  119.  
  120. # Option 1: Polybar
  121. # Comment out the Bar section and conky, and remove hashtag in the next line to load Polybar; log back in to see the change.
  122. exec_always --no-startup-id ~/.config/polybar/launch.sh &
  123.  
  124. #bar {
  125.  
  126. # Option 2 : Conky
  127. # start-conky-i3statusbar.sh is started and conky will follow
  128. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  129. # the conky configuration is in conky-i3statusbar
  130.  
  131. # status_command ~/.config/i3/start-conky-i3statusbar.sh
  132.  
  133. # height 28
  134. # workspace_buttons yes
  135. # font pango:Federation italic 10
  136. # i3bar_command i3bar -t
  137. # tray_output HDMI-A-0
  138. # position top
  139.  
  140. # colors {
  141. # background #1a000000
  142. # statusline #1a000000
  143. # separator #1a000000
  144. # border backgr. text
  145. # focused_workspace #1a000000 #1a000000 #FFD700
  146. # inactive_workspace #1a000000 #1a000000 #FAEBD7
  147. # active_workspace #1a000000 #1a000000 #d1bea8
  148. # urgent_workspace #1a000000 #1a000000 #b6b9e1
  149. # binding_mode #281948 #000000 #FAEBD7
  150. # }
  151. # }
  152.  
  153. ##START THEMING
  154. #Theme name : Transparent Gold
  155.  
  156. # class border background text indicator child-border
  157. client.placeholder #1a000000 #000000 #281948 #00000000 #7f2f49
  158. client.background #000000
  159. client.unfocused #1a000000 #000000 #FFD700 #00000000 #3A0076
  160. client.focused #1a000000 #000000 #B87333 #00000000 #8307ef
  161. client.focused_inactive #1a000000 #000000 #4f433f #00000000 #fdb739
  162. client.urgent #11093e #000000 #a16b1c #000000 #8166E8
  163.  
  164. ##STOP THEMING
  165.  
  166. # #4f433f Tudor Brown #704214 Sepia #d1bea8 Dark Vanilla #FAEBD7 Antique White
  167. # #899a99 Pewter #c0c0c0 Silver #b2beb5 Ash Grey #b6b9e1
  168. # #7C0A02 Barn Red #cb410b Sinopia #ffa500 Orange #ffbf00 Amber #AF3F05 #980E00
  169. # #cd7f32 Bronze #B87333 Copper #FFD700 Gold # #ffc87c Topaz
  170. # #568203 Avocado #2e5e5b Pine #1f3d0c Deep Forest
  171. # #556b2f Dark Olive #013220 Dark Green #006600 Pakistan
  172. # #ee82ee Violet #673147 Old Mauve #560319 Dark Scarlet
  173. # #000f89 Phthalo Blue #4c2882 Spanish Violet #6a5acd Slate Blue #4b0082 Indigo #320069 #8166E8
  174.  
  175. ###################################################
  176. #ᰜᰜᰜᰜᰜᰜ Applications and Directives ᰜᰜᰜᰜᰜᰜ#
  177.  
  178. set $ws1 "1"
  179. assign [class="firefox|Opera"] $ws1
  180. for_window [class="firefox|Opera"] focus
  181. exec --no-startup-id firefox
  182. bindsym $mod+F1 exec firefox
  183. bindsym control+Mod1+o exec opera
  184. bindsym $mod+o exec opera
  185.  
  186. set $ws2 "2"
  187. assign [class="Atom|Electron4|Nemo"] $ws2
  188. for_window [class="Nemo-terminal-prefs"] floating enable, focus
  189. bindsym $mod+F2 exec atom; focus
  190. exec --no-startup-id nemo; focus
  191. bindsym $mod+Shift+Return exec nemo
  192.  
  193. set $ws3 "3"
  194. assign [class="Cherrytree|Xfce4-dict"] $ws3
  195. for_window [class="Cherrytree"] floating enable, resize set 1100 980, move position 20 50
  196. exec --no-startup-id cherrytree
  197. bindsym $mod+control+t exec cherrytree
  198. for_window [class="Xfce4-dict"] floating enable, resize set 480 980, move position 1180 50
  199. bindsym Mod1+bracketright [class="Xfce4-dict"] scratchpad show
  200. bindsym $mod+contrl+d exec xfce4-dict; focus
  201.  
  202. set $ws4 "4"
  203. assign [class="libreoffice"] $ws4
  204. exec --no-startup-id libreoffice
  205. bindsym $mod+F4 exec libreoffice
  206.  
  207. set $ws5 "5"
  208. assign [class="kdenlive"] $ws5
  209. bindsym $mod+F5 exec kdenlive
  210.  
  211. set $ws6 "6"
  212. assign [class="Gimp-2.10"] $ws6
  213. for_window [class="Gimp-2.10"] focus
  214. bindsym $mod+F6 exec gimp-2.10
  215. for_window [instance="script-fu"] border normal
  216. for_window [title="Copying"] floating enable
  217. for_window [title="Deleting"] floating enable
  218. for_window [title="Moving"] floating enable
  219. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  220. for_window [window_role="pop-up"] floating enable
  221. for_window [window_role="^Preferences$"] floating enable
  222. for_window [window_role="setup"] floating enable
  223.  
  224. set $ws7 "7"
  225. assign [class="Google Earth Pro"] $ws7
  226. for_window [class="Google Earth Pro"] focus
  227. bindsym $mod+F7 exec google-earth-pro
  228.  
  229. set $ws8 "8"
  230. assign [class="Audio Recorder|obs|Oomox"] $ws8
  231. for_window [class="Audio Recorder"] floating enable, move position 2860 40
  232. for_window [class="obs"] focus
  233. bindsym $mod+F8 exec obs
  234. bindsym $mod+control+o exec oomox-gui
  235.  
  236. set $ws9 "9"
  237. assign [class="Meld"] $ws9
  238. for_window [class="Meld"] focus, floating enable, resize set 1912 1010, move position 1924 37
  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="VirtualBox Machine|VirtualBox Manager"] floating disable
  245. exec --no-startup-id virtualbox manager
  246. bindsym $mod+F10 exec virtualbox manager; focus
  247.  
  248. set $ws11 "11"
  249. assign [class="Arcolinux-tweak-tool.py|Blender"] $ws11
  250. for_window [class="Arcolinux-tweak-tool.py"] floating enable, resize set 800 800, move position 2480 140
  251. bindsym control+Shift+t exec arcolinux-tweak-tool, focus
  252. bindsym $mod+control+b exec blender
  253.  
  254. set $ws12 "12"
  255. assign [class="qBittorrent|Timeshift-gtk|Transmission-gtk"] $ws12
  256. for_window [class="Timeshift-gtk"] floating enable, move position 1940 60, resize set 800 950
  257. for_window [class="Transmission-gtk"] floating enable, move position 2820 60, resize set 900 480
  258. for_window [class="qBittorrent"] floating enable, move position 2780 60, resize set 1040 950
  259. bindsym Mod1+q exec --no-startup-id sudo timeshift-gtk
  260. exec --no-startup-id qbittorrent
  261.  
  262. set $ws13 "13"
  263. assign [class="vlc|Xscreensaver-demo"] $ws13
  264. for_window [class="Xscreensaver-demo"] floating enable, resize set 1420 800, move position 2170 60
  265. exec_always --no-startup-id xscreensaver
  266. exec --no-startup-id xscreensaver-demo
  267. bindsym $mod+control+x exec xscreensaver-demo
  268. for_window [class="vlc"] floating enable, move position 2170 900, resize set 1420 120
  269. exec --no-startup-id vlc
  270. bindsym $mod+F3 exec vlc
  271.  
  272. set $ws14 "14"
  273. assign [class="Virt-manager"] $ws14
  274. for_window [class="Virt-machine"] floating disable; focus
  275. bindsym $mod+control+v exec virt-manager
  276.  
  277. #############################################
  278. #ᰜᰜᰜᰜᰜᰜ Application Launching ᰜᰜᰜᰜᰜᰜ#
  279.  
  280. # Start drun Mode
  281. bindsym $mod+g exec --no-startup-id rofi -show drun -show-icons -lines 8 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
  282. # Start Rofi Combi Mode
  283. bindsym $mod+control+z exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
  284. # Start Rofi Window Mode
  285. bindsym $mod+control+w exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
  286. # Start Rofi with Rofi-Shortcuts
  287. bindsym $mod+control+r exec ~/.config/rofi/rofi-shortcuts/rofi-shortcuts.sh
  288. # Start Rofi Theme Selector
  289. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  290.  
  291. # Pamac-Manager
  292. for_window [class="Pamac-manager"] floating enable, move position 510 80, resize set 900 600
  293. bindsym control+mod1+g exec --no-startup-id pamac-manager
  294. # Settings
  295. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  296. # System Monitor
  297. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager, focus
  298.  
  299. for_window [class="Alacritty"] floating enable, resize set 760 700, move position 1100 340
  300. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  301. bindsym $mod+Return exec alacritty
  302. for_window [class="Arcolinux-welcome-app.py"] floating enable
  303. bindsym $mod+w exec arcolinux-welcome-app
  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+l exec lxappearance
  313. bindsym $mod+n exec nitrogen
  314. for_window [class="Nitrogen"] floating enable, move position 990 110, resize set 920 820
  315. bindsym $mod+p exec peek
  316. for_window [class="Shutter"] floating enable
  317. bindsym $mod+control+s exec shutter
  318. bindsym Print exec --no-startup-id scrot ' -%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  319. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  320. for_window [class="Xfce4-appfinder"] floating enable
  321. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  322.  
  323. #########################################
  324. #ᰜᰜᰜᰜᰜᰜ Floating or Tiled ᰜᰜᰜᰜᰜᰜ#
  325.  
  326. for_window [class="Create Snapshot"] floating enable
  327. for_window [class="Engrampa"] floating enable
  328. for_window [class="File-roller"] floating enable
  329. for_window [class="Font-manager"] floating enable
  330. for_window [class="FSlint"] floating enable
  331. for_window [class="Galculator"] floating enable
  332. for_window [class="Gnome-calendar|Gnome-disks|^Gnome-font-viewer$"] floating enable
  333. for_window [class="GParted"] floating enable
  334. for_window [class="^Gpick$"] floating enable
  335. for_window [class="Grub-customizer"] floating enable
  336. for_window [class="Imagewriter|Usb-creator-gtk"] floating enable
  337. for_window [class="qt5ct|Lxappearance"] floating enable, move position 510 160, resize set 900 720
  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. #############################################
  405. #ᰜᰜᰜᰜᰜᰜ Navigating Workspaces ᰜᰜᰜᰜᰜᰜ#
  406.  
  407. # Navigate to Next / Previous Workspace
  408. bindsym Mod1+Shift+Tab workspace prev
  409. bindsym Mod1+Tab workspace next
  410. bindsym Mod1+Ctrl+Left workspace prev
  411. bindsym Mod1+Ctrl+Right workspace next
  412. bindsym $mod+Tab workspace back_and_forth
  413.  
  414. # Switch to workspace with urgent window automatically
  415. for_window [urgent=latest] focus
  416.  
  417. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  418. workspace_auto_back_and_forth yes
  419.  
  420. #########################################
  421. #ᰜᰜᰜᰜᰜᰜ Tiling Parameters ᰜᰜᰜᰜᰜᰜ#
  422.  
  423. # workspace_layout default|stacking|tabbed
  424. workspace_layout default
  425.  
  426. # orientation for new workspaces
  427. default_orientation horizontal
  428. # split in horizontal orientation
  429. bindsym $mod+h split h
  430. # split in vertical orientation
  431. bindsym $mod+v split v
  432.  
  433. # enter fullscreen mode for the focused container
  434. bindsym $mod+f fullscreen toggle
  435.  
  436. # change container layout (stacked, tabbed, toggle split)
  437. bindsym $mod+s layout stacking
  438. bindsym $mod+z layout tabbed
  439. bindsym $mod+e layout toggle split
  440.  
  441. # change focus between tiling / floating windows
  442. bindsym $mod+space focus mode_toggle
  443.  
  444. # focus the parent container
  445. bindsym $mod+a focus parent
  446. # focus the child "HHVH"
  447. bindsym $mod+d focus child
  448.  
  449. ##########################################
  450. #ᰜᰜᰜᰜᰜᰜ Application focus ᰜᰜ ᰜᰜᰜᰜ#
  451.  
  452. focus_on_window_activation smart
  453.  
  454. #####################################################
  455. #ᰜᰜᰜᰜᰜᰜ Workspace Switching Functions ᰜᰜᰜᰜᰜᰜ#
  456.  
  457. # Switch to workspace
  458. bindsym $mod+1 workspace $ws1
  459. bindsym $mod+2 workspace $ws2
  460. bindsym $mod+3 workspace $ws3
  461. bindsym $mod+4 workspace $ws4
  462. bindsym $mod+5 workspace $ws5
  463. bindsym $mod+6 workspace $ws6
  464. bindsym $mod+7 workspace $ws7
  465. bindsym $mod+8 workspace $ws8
  466. bindsym $mod+9 workspace $ws9
  467. bindsym $mod+0 workspace $ws10
  468. bindsym $mod+minus workspace $ws11
  469. bindsym $mod+equal workspace $ws12
  470. bindsym $mod+bracketleft workspace $ws13
  471. bindsym $mod+bracketright workspace $ws14
  472.  
  473. # Move focused container to workspace
  474. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  475. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  476. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  477. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  478. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  479. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  480. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  481. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  482. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  483. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  484. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  485. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  486. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  487. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  488.  
  489. ######################################
  490. #ᰜᰜᰜᰜᰜᰜ Border Control ᰜᰜᰜᰜᰜᰜ#
  491.  
  492. # default_border normal | none | pixel
  493. default_border pixel 4
  494. # default_floating_border normal | none| pixel
  495. default_floating_border pixel 6
  496.  
  497. # hide_edge_borders none|vertical|horizontal|both|smart
  498. hide_edge_borders none
  499. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  500.  
  501. # changing border style
  502. bindsym $mod+t border normal
  503. bindsym $mod+y border 1pixel
  504. bindsym $mod+u border none
  505.  
  506. new_window pixel 4
  507. # new_window normal | new_window none
  508.  
  509. new_float pixel 6
  510. # new_float normal | none
  511.  
  512. ##### i3-gaps ##############
  513. for_window [class=".*"] border pixel 6
  514. gaps inner 6
  515. gaps outer 6
  516. #gaps horizontal 2
  517.  
  518. ################# i3-radius #######################
  519. smart_borders on
  520. smart_borders no_gaps
  521. border_radius 7
  522.  
  523. ##############################################
  524. #ᰜᰜᰜᰜᰜᰜ Variety for Wallpapers ᰜᰜᰜᰜᰜᰜ#
  525.  
  526. # exec --no-startup-id variety
  527. for_window [class="Variety"] floating enable
  528. for_window [instance="Variety Preferences"] floating enable
  529.  
  530. # trash wallpaper
  531. bindsym mod1+t exec --no-startup-id variety -t
  532. # next wallpaper
  533. bindsym mod1+n exec --no-startup-id variety -n
  534. bindsym mod1+Right exec --no-startup-id variety -n
  535. # previous wallpaper
  536. bindsym mod1+p exec --no-startup-id variety -p
  537. bindsym mod1+Left exec --no-startup-id variety -p
  538. # favorite wallpaper
  539. bindsym mod1+f exec --no-startup-id variety -f
  540. # pause wallpaper
  541. bindsym mod1+Up exec --no-startup-id variety --pause
  542. # resume wallpaper
  543. bindsym mod1+Down exec --no-startup-id variety --resume
  544.  
  545. #ᰜᰜᰜᰜᰜᰜ Variety with Pywal ᰜᰜᰜᰜᰜᰜ#
  546.  
  547. # next wallpaper
  548. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  549. # previous wallpaper
  550. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  551. # trash wallpaper
  552. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  553. # update wallpaper
  554. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  555.  
  556. #ᰜᰜᰜᰜᰜᰜ The End - Now Start Again ᰜᰜᰜᰜᰜᰜ#
  557. #########################################################################################
  558.  
  559. # All these words are empty baskets
  560. # Carried to the market square
  561. # Trading truth and lies in barter
  562. # Warranting warn buyer beware
  563.  
  564. # All these words are reeds I wove
  565. # Taught to hold my pauper’s share
  566. # Show me yours before and after
  567. # Out in the open we may compare
  568.  
  569. # All these words are on the table
  570. # Yoked to folly the shell game starts
  571. # Trick the eye they who are able
  572. # Cunning those the same the heart
  573.  
  574. # All these words are fruits of labour
  575. # Bounty’s grace on harvest’s day
  576. # Test taste and judge the many flavours
  577. # Fill your need be on your way
  578.  
  579. # All these words so meet and proper
  580. # Morning meals served hot or cold
  581. # Savour meaning old sharecropper
  582. # Recall the stories you were told
  583.  
  584. # All these words are open caskets
  585. # Life goes on even nothing’s fair
  586. # Gather seeds for ever after
  587. # Till the breach sow to repair
  588.  
Advertisement
Add Comment
Please, Sign In to add comment