poetician

i3 Bumblebee-status | Arco | Ryzen | ws8 tweaked

Dec 10th, 2022 (edited)
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.68 KB | None | 0 0
  1. #==============================================================================#
  2. #=== ㄗ 𑁣 𑁗 ፖ ༑ ᙅ ༑ ₳ ⴄ 𓁿Ꝣᰃ𑊸 === ᗿᙀጣЪ𐔹ᙦβᗕ𑄺-ⴝㆤᎯէᙀᎦЪДⴽ ᕮᗤ𐏒𐌕𐏒𐀏ꤚ ===#
  3. #=== Dots: https://gitlab.com/Poetician https://pastebin.com/u/poetician
  4. #=== i3wm Ver: 4.20.1 (2021-11-03) © 2009 Michael Stapelberg and contributors
  5. #=== Dev URL: https://i3wm.org/ https://www.reddit.com/r/i3wm/
  6. #=== ArcoLinux: https://www.arcolinux.info/ https://www.youtube.com/c/ErikDubois
  7. # v22.06.07
  8. # ArcoLinuxB-i3
  9. # Thu May 12 03:24:33 PM CEST 2022
  10. # ================================================= #
  11.  
  12. # ================================================= #
  13.  
  14. #=== Define $mod Variable === #
  15.  
  16. set $mod Mod4
  17.  
  18. #=== Display Settings === #
  19.  
  20. 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
  21. for_window [class="Nitrogen"] focus, floating enable, resize set 831 494, move position 545 180
  22. exec --no-startup-id nitrogen --restore
  23. bindsym $mod+n exec --no-startup-id nitrogen
  24. exec killall picom &&
  25. exec_always --no-startup-id picom --experimental-backends --config ~/.config/i3/picom.conf
  26. bindsym $mod+p exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh
  27. exec killall redshift &&
  28. exec redshift &
  29.  
  30. #=== Application Launchers === #
  31.  
  32. # Start jgmenu
  33. bindsym $mod+j exec jgmenu_run
  34.  
  35. # Start Rofi in combi Mode
  36. bindsym $mod+y exec rofi -show combi -steal-focus
  37. # Start Rofi in drun Mode
  38. bindsym $mod+r exec rofi -show drun -steal-focus
  39. #Start Rofi in filebrowser Mode
  40. bindsym $mod+b exec rofi -show filebrowser -steal-focus
  41. # Start Rofi Theme Selector
  42. bindsym Ctrl+Mod1+r exec rofi-theme-selector
  43.  
  44. # Start Xfce4 AppFinder
  45. for_window [class="Xfce4-appfinder"] focus, floating enable, resize set 600 700
  46. bindsym $mod+Ctrl+l exec xfce4-appfinder
  47.  
  48. #=== Loaded at Startup === #
  49.  
  50. exec_always --no-startup-id autotiling
  51. exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent
  52. for_window [class="Polkit-gnome-authentication-agent-1"] focus, move position 2570 400, resize set 620 240
  53. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  54. exec setxkbmap -option caps:swapescape
  55. exec_always --no-startup-id unclutter --timeout 2
  56. exec --no-startup-id xfce4-power-manager &
  57. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  58.  
  59. #=== Tray Apps Loaded at Startup === #
  60.  
  61. # Parcellite
  62. exec --no-startup-id parcellite
  63. # Veikk Tablet Driver
  64. exec --no-startup-id /lib/vktablet/vktablet
  65. # Volume
  66. exec --no-startup-id volumeicon
  67. # Workrave
  68. for_window [class="Workrave"] focus
  69. exec --no-startup-id workrave
  70.  
  71. #=== Reloading Changed Configuration === #
  72.  
  73. # Reload the configuration file (problematic with some apps; logging out is better)
  74. bindsym $mod+Shift+c reload
  75.  
  76. # Restart i3 in place (preserves the layout/session, can be used to upgrade i3)
  77. bindsym $mod+Shift+r restart
  78.  
  79. #=== Stopping Applications/Session === #
  80.  
  81. # Kill focused window
  82. bindsym $mod+q kill
  83.  
  84. # Xkill focused window that Kill can't kill
  85. bindsym --release $mod+Escape exec xkill
  86.  
  87. # The middle button and a modifer over any part of the window kills the window
  88. bindsym --whole-window button2 kill
  89.  
  90. # Betterlockscreen
  91. bindsym $mod+Pause exec betterlockscreen -l dimblur
  92.  
  93. # Session Logout/Restart/Shutdown
  94. bindsym $mod+x exec archlinux-logout
  95.  
  96. #=================================================================================#
  97. #=== Workspace Assignments; Application Directives and Launching === #
  98.  
  99. set $ws1 "1"
  100. assign [class="firefox|librewolf-bin"] $ws1
  101. for_window [class="firefox|librewolf-bin"] focus, fullscreen enable
  102. exec --no-startup-id firefox
  103. bindsym Ctrl+Mod1+f exec firefox
  104. bindsym $mod+F9 exec firefox https://gitlab.com/Poetician
  105. bindsym $mod+F11 exec firefox https://pastebin.com/u/poetician
  106. bindsym $mod+Ctrl+w exec librewolf
  107. bindsym $mod+Home exec librewolf https://gitlab.com/Poetician
  108. bindsym $mod+End exec librewolf https://pastebin.com/u/poetician
  109. bindsym $mod+Prior exec librewolf https://odysee.com/
  110. bindsym $mod+Next exec librewolf https://studio.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w
  111.  
  112.  
  113. set $ws2 "2"
  114. assign [class="Audacity|Indicator-stickynotes"] $ws2
  115. for_window [class="Indicator-stickynotes"] focus, floating enable
  116. bindsym $mod+Ctrl+s exec --no-startup-id indicator-stickynotes
  117. bindsym $mod+a audacity
  118.  
  119.  
  120. set $ws3 "3"
  121. assign [class="Gcolor3|qimgv|Viewnior"] $ws3
  122. for_window [class="qimgv|Viewnior"] focus
  123. for_window [title="Open Image"] floating enable, resize set 960 640, move position 480 200
  124. for_window [class="Gcolor3"] focus, floating enable, resize set 700 300, move position 1160 700
  125. bindsym $mod+c exec gcolor3
  126. bindsym $mod+d exec qimgv
  127. bindsym $mod+w exec viewnior
  128.  
  129.  
  130. set $ws4 "4"
  131. assign [class="libreoffice"] $ws4
  132. for_window [class="libreoffice"] focus, floating enable, resize set 1200 1040, move position 360 30
  133. for_window [title="Standard"] floating enable, resize set 177 403, move position 159 79
  134. for_window [title="Formatting"] floating enable, resize set 259 251, move position 77 512
  135. bindsym $mod+l exec --no-startup-id libreoffice
  136.  
  137.  
  138. set $ws5 "5"
  139. assign [class="Blender|kdenlive"] $ws5
  140. for_window [class="Blender|kdenlive"] focus
  141. for_window [title="Clip titre"] focus, floating enable, resize set 1220 785, move position 350 150
  142. for_window [title=["Configurer"] focus, enable, resize set 1220 785, move position center
  143. for_window [title=["Ouvrir"] focus, enable, resize set 1220 785, move position center
  144. for_window [title="Rendu en cours…"]focus, floating enable, resize set 1220 785, move position center
  145. bindsym $mod+backslash exec blender
  146. bindsym $mod+k exec kdenlive
  147.  
  148.  
  149. set $ws6 "6"
  150. assign [class="Gimp-2.10|Inkscape"] $ws6
  151. for_window [class="Gimp-2.10|Inkscape"] focus
  152. for_window [title="Copying"] floating enable
  153. for_window [title="Deleting"] floating enable
  154. for_window [title="Moving"] floating enable
  155. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  156. for_window [window_role="pop-up"] focus, floating enable
  157. for_window [window_role="gimp-preferences"] floating enable, resize set 960 960, move position 480 40
  158. for_window [window_role="setup"] floating enable
  159. for_window [window_role="gimp-file-export"] floating enable, move position 80 80
  160. bindsym $mod+g exec gimp-2.10
  161. bindsym $mod+i exec inkscape
  162.  
  163.  
  164. set $ws7 "7"
  165. assign [class="Google Earth Pro"] $ws7
  166. for_window [class="Google Earth Pro"] focus
  167. bindsym $mod+e exec google-earth-pro
  168.  
  169.  
  170. set $ws8 "8"
  171. assign [class="Rhythmbox|vlc|Xscreensaver-demo"] $ws8
  172. for_window [class="vlc"] floating enable, resize set 640 240, move position 1240 220
  173. for_window [title="Sélectionner un ou plusieurs fichiers à ouvrir"] focus, floating enable
  174. for_window [title="Préférences simples"] focus, floating enable, resize set 1000 450, move position 860 360
  175. exec vlc ~/Musique/water.opus
  176. for_window [class="Rhythmbox"]floating enable, resize set 790 270, move position 1100 770
  177. bindsym $mod+v exec vlc
  178. for_window [class="Xscreensaver-demo"] floating enable, resize set 1180 840, move position 20 40
  179. exec_always --no-startup-id xscreensaver
  180. exec --no-startup-id xscreensaver-demo
  181. bindsym $mod+Ctrl+x exec xscreensaver-demo
  182.  
  183.  
  184. set $ws9 "9"
  185. assign [class="Czkawka_gui|kate|Meld"] $ws9
  186. for_window [class="kate"] focus, fullscreen enable
  187. for_window [title="Ouvrir un fichier"] focus, floating enable, resize set 1280 800, move position 320 120
  188. exec --no-startup-id kate ~/.config/i3/config
  189. bindsym $mod+F1 exec kate ~/.config/alacritty/alacritty.yml
  190. bindsym $mod+F2 exec kate ~/.bashrc
  191. bindsym $mod+F3 exec kate ~/.config/i3/i3-keybinds
  192. bindsym $mod+F4 exec kate ~/.config/i3/config
  193. bindsym $mod+F5 exec kate ~/.config/i3/picom.conf
  194. bindsym $mod+F6 exec kate ~/.config/polybar/config.ini
  195. bindsym $mod+F7 exec kate ~/.config/rofi/config.rasi
  196. bindsym $mod+F8 exec kate ~/.zshrc
  197. for_window [class="Czkawka_gui|Meld"] focus
  198. bindsym $mod+Ctrl+c exec czkawka_gui
  199. bindsym $mod+h exec kate
  200. bindsym $mod+m exec meld
  201.  
  202.  
  203. set $ws10 "10"
  204. assign [class="Virt-manager"] $ws10
  205. for_window [class="Virt-manager"] focus
  206. bindsym $mod+F10 exec virt-manager
  207.  
  208.  
  209. set $ws11 "11"
  210. assign [class="Nemo|Thunar"] $ws11
  211. for_window [class="Nemo|Thunar"] focus
  212. for_window [class="Nemo-terminal-prefs|mpv"] focus, floating enable, resize set 1280 854, move position center
  213. for_window [title="File Management Preferences"] focus, floating enable, resize set 1100 580, move position 2188 463
  214. for_window [title="File conflict"] focus, floating enable, move position center
  215. exec --no-startup-id nemo
  216. bindsym $mod+Shift+Return exec nemo
  217. bindsym $mod+t exec thunar
  218.  
  219.  
  220. set $ws12 "12"
  221. assign [class="qBittorrent"] $ws12
  222. for_window [class="qBittorrent"] floating enable, resize set 1400 860, move position 2180 90
  223. bindsym $mod+F12 exec --no-startup-id qbittorrent
  224. exec --no-startup-id qbittorrent
  225.  
  226.  
  227. set $ws13 "13"
  228. assign [class="File-roller|Filezilla|Xfce4-dict"] $ws13
  229. for_window [title="Extraire"] focus, floating enable, resize set 960 480, move position 920 500
  230. for_window [class="File-roller"] focus, floating enable, resize set 880 560, move position 1280 496
  231. for_window [class="Filezilla"] focus
  232. bindsym $mod+Ctrl+f exec filezilla
  233. for_window [class="Xfce4-dict"] focus, floating enable, resize set 875 960, move position 1940 60
  234. bindsym $mod+Ctrl+d exec xfce4-dict
  235.  
  236.  
  237. set $ws14 "14"
  238. assign [class="Kvantum Manager|Lxappearance|Oomox|qt5ct|qt6ct"] $ws14
  239. for_window [class="Kvantum Manager"] focus, floating enable, move position 1960 240
  240. for_window [class="Lxappearance"] focus, floating enable, resize set 800 600, move position 2480 240
  241. for_window [class="Oomox"] focus
  242. for_window [class="qt5ct|qt6ct"] focus, floating enable, resize set 900 720, move position 510 160
  243. for_window [title="Outil de configuration de Qt5"] floating enable, resize set 900 720, move position 510 160
  244. bindsym Ctrl+Mod1+k exec kvantummanager
  245. bindsym Ctrl+Mod1+l exec lxappearance
  246. bindsym $mod+o exec oomox-gui
  247. bindsym $mod+Ctrl+q exec qt6ct
  248. bindsym $mod+Ctrl+t exec qt5ct
  249.  
  250.  
  251. set $ws15 "15"
  252. assign [class="gmic_qt"] $ws15
  253. for_window [class="gmic_qt"] focus, fullscreen enable
  254.  
  255.  
  256. set $ws16 "16"
  257. assign [class="Archlinux-tweak-tool.py|GParted|Grub-customizer"] $ws16
  258. for_window [class="Archlinux-tweak-tool.py"] focus, floating enable, resize set 1280 940, move position 2330 60
  259. for_window [title="Please choose a file"]focus, floating enable, resize set 950 900, move position 2480 50
  260. for_window [class="GParted"] focus, floating enable, resize set 775 500, move position 2960 50
  261. for_window [class="Grub-customizer"] focus, floating enable, resize set 900 800, move position 2000 50
  262. bindsym Ctrl+Mod1+comma exec --no-startup-id archlinux-tweak-tool
  263. bindsym $mod+Ctrl+g exec gparted
  264. bindsym $mod+z exec grub-customizer
  265.  
  266.  
  267. set $ws17 "17"
  268. for_window [class="Virt-manager"] $ws10
  269. for_window [class="Virt-manager"] focus
  270. for_window [title="voidlinux sur QEMU/KVM"] focus
  271.  
  272.  
  273. #=== Unassigned Applications === #
  274.  
  275. for_window [class="Dialog|Font-manager"] focus, floating enable, move position 1000 400
  276. for_window [window_role="GtkFileChooserDialog"] floating enable, focus, move position center
  277.  
  278. for_window [class="balena-etcher-electron"] move position 2000 320
  279. bindsym $mod+Ctrl+e exec etcher
  280.  
  281. for_window [class="Mate-system-monitor"] floating enable, resize set 800 987, move position 560 48
  282. bindsym $mod+Ctrl+m exec no-startup-id mate-system-monitor
  283.  
  284. for_window [class="Xfce4-settings-manager"] focus, floating enable, resize set 960 720
  285. for_window [class="Xfce4-taskmanager"] focus, floating enable, resize set 960 720
  286. bindsym Ctrl+Mod1+m exec --no-startup-id xfce4-settings-manager
  287. bindsym Ctrl+Shift+Escape exec --no-startup-id xfce4-taskmanager
  288.  
  289. #=== Scratchpad === #
  290.  
  291. # Move the currently focused window to the scratchpad
  292. bindsym Mod1+Shift+slash move scratchpad
  293.  
  294. # Retrieve the oldest window in the scratchpad
  295. bindsym Mod1+slash scratchpad show
  296.  
  297. # Move all floating windows to the scratchpad
  298. #bindsym $mod+b [floating] move scratchpad
  299.  
  300. for_window [class="Alacritty"] focus, floating enable, resize set 880 640
  301. bindsym $mod+Return exec alacritty
  302. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  303.  
  304. for_window [class="Audio-recorder"] move scratchpad, move position 1940 360
  305. bindsym $mod+Ctrl+r exec audio-recorder
  306. bindsym $mod+shift+a [class="Audio-recorder"] scratchpad show
  307.  
  308. for_window [class="Gucharmap"] move scratchpad, resize set 900 600, move position 20 420
  309. bindsym Ctrl+Mod1+period exec gucharmap
  310. bindsym Mod1+period [class="Gucharmap"] scratchpad show
  311.  
  312. for_window [class="SimpleScreenRecorder"] move scratchpad, floating enable
  313. for_window [title="Sélectionner un ou plusieurs fichiers à ouvrir"] focus, floating enable
  314. bindsym $mod+s exec simplescreenrecorder
  315. bindsym $mod+shift+s [class="SimpleScreenRecorder"] scratchpad show
  316.  
  317. #=== Screenshots === #
  318.  
  319. for_window [class="ksnip"] floating enable, resize set 730 480
  320. bindsym Ctrl+Mod1+s exec ksnip
  321. bindsym Shift+Print exec --no-startup-id "ksnip -p ~/Images/Screenies"
  322.  
  323.  
  324. # ================================================= #
  325. #=== Dual Monitor Setup === #
  326.  
  327. set $Screen1 HDMI-A-0
  328. set $Screen2 DVI-D-0
  329.  
  330. workspace 1 output $Screen1
  331. workspace 2 output $Screen1
  332. workspace 3 output $Screen1
  333. workspace 4 output $Screen1
  334. workspace 5 output $Screen1
  335. workspace 6 output $Screen1
  336. workspace 7 output $Screen1
  337. workspace 8 output $Screen1
  338. workspace 9 output $Screen1
  339. workspace 10 output $Screen1
  340. workspace 11 output $Screen2
  341. workspace 12 output $Screen2
  342. workspace 13 output $Screen2
  343. workspace 14 output $Screen2
  344. workspace 15 output $Screen2
  345. workspace 16 output $Screen2
  346. workspace 17 output $Screen2
  347.  
  348. # =============================================== #
  349. #=== Workspace Functions === #
  350.  
  351. #=== Switch to workspace === #
  352.  
  353. bindsym $mod+1 workspace $ws1
  354. bindsym $mod+2 workspace $ws2
  355. bindsym $mod+3 workspace $ws3
  356. bindsym $mod+4 workspace $ws4
  357. bindsym $mod+5 workspace $ws5
  358. bindsym $mod+6 workspace $ws6
  359. bindsym $mod+7 workspace $ws7
  360. bindsym $mod+8 workspace $ws8
  361. bindsym $mod+9 workspace $ws9
  362. bindsym $mod+0 workspace $ws10
  363. bindsym $mod+minus workspace $ws11
  364. bindsym $mod+equal workspace $ws12
  365. bindsym $mod+bracketleft workspace $ws13
  366. bindsym $mod+bracketright workspace $ws14
  367. bindsym $mod+grave workspace $ws15
  368. bindsym $mod+apostrophe workspace $ws16
  369. bindsym $mod+semicolon workspace $ws17
  370.  
  371. #=== Move focused container to workspace === #
  372.  
  373. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  374. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  375. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  376. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  377. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  378. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  379. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  380. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  381. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  382. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  383. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  384. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  385. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  386. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  387. bindsym $mod+Shift+grave move container to workspace $ws15; workspace $ws15
  388. bindsym $mod+Shift+apostrophe move container to workspace $ws16; workspace $ws16
  389. bindsym $mod+Shift+semicolon move container to workspace $ws17; workspace $ws17
  390.  
  391.  
  392. #=== Resize Containers === #
  393.  
  394. bindsym $mod+Ctrl+Right resize grow width 10
  395. bindsym $mod+Ctrl+Up resize shrink height 10
  396. bindsym $mod+Ctrl+Down resize grow height 10
  397. bindsym $mod+Ctrl+Left resize shrink width 10
  398.  
  399. #=== i3wm Next Gaps === # (https://github.com/Airblader/i3/tree/gaps-next)
  400.  
  401. gaps inner 14
  402. gaps outer 0
  403. smart_gaps on
  404. smart_borders on
  405.  
  406. #=== Resize Gaps === #
  407. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  408.  
  409. bindsym Ctrl+Shift+y gaps outer current toggle 40
  410. bindsym Ctrl+Shift+o gaps outer current plus 10
  411. bindsym Ctrl+Shift+i gaps outer current minus 10
  412. bindsym Ctrl+Shift+apostrophe gaps outer all set 10
  413. bindsym Ctrl+Shift+m gaps outer all set 20
  414. bindsym Ctrl+Shift+comma gaps outer all set 40
  415. bindsym Ctrl+Shift+period gaps outer all set 60
  416.  
  417. # ============================================================== #
  418. #=== Navigating Containers / Workspaces === #
  419.  
  420. # Use mouse+$mod to drag floating windows to their new position
  421. floating_modifier $mod
  422.  
  423. # Toggle Tiling / Floating
  424. bindsym Ctrl+space floating toggle
  425.  
  426. # Change Focus
  427. bindsym $mod+Left focus left
  428. bindsym $mod+Down focus down
  429. bindsym $mod+Up focus up
  430. bindsym $mod+Right focus right
  431.  
  432. # Move Focused Window
  433. bindsym $mod+Shift+Left move left
  434. bindsym $mod+Shift+Down move down
  435. bindsym $mod+Shift+Up move up
  436. bindsym $mod+Shift+Right move right
  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. # Move entire contents of a monitor's workspace to the next Monitor
  452. bindsym $mod+Shift+m move workspace to output next
  453.  
  454. # Mouse warped to center of a focused window when switching to another monitor
  455. mouse_warping output
  456.  
  457. # ========================================== #
  458. #=== Border Control === #
  459.  
  460. # default_border normal | none | pixel
  461. default_border none
  462.  
  463. # default_floating_border normal | none| pixel
  464. default_floating_border none
  465.  
  466. # hide_edge_borders none|vertical|horizontal|both|smart
  467. hide_edge_borders smart
  468.  
  469. # new_window normal | new_window none | pixel
  470. new_window none
  471.  
  472. # new_float normal | none | pixel
  473. new_float none
  474.  
  475. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  476.  
  477. # ============================================= #
  478. #=== Tiling Parameters === #
  479.  
  480. # Workspace_layout default|stacking|tabbed
  481. workspace_layout default
  482.  
  483. # Orientation for new workspaces
  484. default_orientation horizontal
  485.  
  486. # Enter fullscreen mode for the focused container
  487. bindsym $mod+f fullscreen toggle
  488.  
  489. # Change focus between tiling / floating windows
  490. bindsym $mod+space focus mode_toggle
  491.  
  492. # Application focus smart|urgent|focus|none
  493. focus_on_window_activation none
  494.  
  495. # popup_during_fullscreen smart|ignore|leave_fullscreen
  496. popup_during_fullscreen smart
  497.  
  498. # ==================================================================== #
  499. #=== Variety with Pywal for Wallpapers/Themes === #
  500.  
  501. # next wallpaper
  502. bindsym $mod+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  503. # previous wallpaper
  504. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  505. # trash wallpaper
  506. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  507. # Update Wallpaper
  508. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  509.  
  510. # =================================================== #
  511. #====== Bar and Workspace Appearance ======#
  512.  
  513. #====== Bar Toggle ======#
  514. # Bar toggle, hide or show
  515. #bindsym $mod+b bar mode invisible
  516. #bindsym $mod+m bar mode dock
  517.  
  518. bar {
  519. height 24
  520. workspace_buttons yes
  521. workspace_min_width 24
  522. font pango:Bauhaus 12, FontAwesome 12
  523. i3bar_command i3bar
  524. tray_output HDMI-A-0
  525. tray_padding 2
  526. position top
  527.  
  528. # OPTION 1 : Bumblebee-status
  529. # https://github.com/tobi-wan-kenobi/bumblebee-status
  530. status_command ~/.config/bumblebee-status/bumblebee-status \
  531. -m spacer spacer spacer spacer spacer spacer spacer spacer \
  532. -m redshift spacer spacer spacer spacer spacer spacer \
  533. -m sun spacer spacer spacer spacer spacer spacer spacer spacer spacer \
  534. -m uptime spacer spacer spacer spacer spacer spacer spacer spacer spacer \
  535. -m datetime -p datetime.format=" %c " \
  536. -m spacer spacer spacer spacer spacer \
  537. -t mid-brown-top
  538.  
  539. # OPTION 2 : Conky-statusbar
  540. # https://i3wm.org/docs/user-contributed/conky-i3bar.html
  541.  
  542. # status_command ~/.config/i3/start-conky-i3statusbar.sh
  543.  
  544. ##START THEMING BAR
  545. # Theme name : 0004 Leopard
  546. # i3 bar colors
  547.  
  548. colors {
  549. background #592000
  550. statusline #dca025
  551. separator #dca025
  552. # border background text
  553. focused_workspace #b26f18 #5920040 #dca025
  554. inactive_workspace #592000 #592000 #b26f18
  555. active_workspace #7B6C28 #77380a #b26f18
  556. urgent_workspace #7B6C28 #005917 #592000
  557. }
  558. }
  559.  
  560. bar {
  561. height 22
  562. workspace_buttons no
  563. font pango:Bauhaus 12, FontAwesome 12
  564. i3bar_command i3bar -t
  565. output HDMI-A-0
  566. tray_output none
  567. position bottom
  568.  
  569. status_command ~/.config/bumblebee-status/bumblebee-status \
  570. -m spacer spacer spacer spacer spacer spacer \
  571. -m hostname spacer spacer spacer spacer \
  572. -m kernel spacer spacer spacer spacer spacer spacer \
  573. -m todo spacer spacer spacer spacer spacer spacer \
  574. -m shortcut -p shortcut.cmds="alacritty -e vim ~/.config/i3/config;alacritty -e htop" shortcut.labels="vim;htop" \
  575. -m spacer spacer spacer spacer spacer cpu spacer spacer spacer spacer \
  576. -m memory spacer spacer spacer spacer spacer \
  577. -m disk spacer spacer spacer spacer spacer \
  578. -m battery-upower spacer spacer spacer \
  579. -m pasink spacer spacer pasource spacer spacer spacer \
  580. -t mid-brown-bottom
  581.  
  582. colors {
  583. background #7B6C2880
  584. }
  585. }
  586.  
  587. ### Usable modules: amixer arch-update "-p arch-update.left-click=" battery hddtemp indicator layout nic
  588. ### pacman ping progress sensors title traffic xkcd
  589. ### Problematic modules: dunst playerctl smartstatus twmn
  590.  
  591. # Option 2: Polybar
  592. # Comment out the Bar section and conky, and remove hashtag in the next line to load Polybar; log back in to see the change.
  593. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  594.  
  595. ##STOP THEMING BAR
  596.  
  597. #=== º-º _ º-º === The End Or Start Again === º-º _ º-º === º-º _ º-º === #
  598. #=== º-º _ º-º === º-º _ º-º === º-º _ º-º === º-º _ º-º === º-º _ º-º === #
  599.  
Add Comment
Please, Sign In to add comment