poetician

i3 Bumblebee-status Mid-brown | ArcoLinux

Nov 27th, 2022 (edited)
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.23 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="Deadbeef|Pystopwatch|vlc|Xscreensaver-demo"] $ws8
  172. for_window [class="Deadbeef"] floating enable, resize set 640 360, move position 1240 700
  173. for_window [title="Préférences"] floating enable, move position center
  174. for_window [title="Blur Scope"] floating enable, resize set 600 180, move position 1070 90
  175. exec deadbeef ~/Musique/crickets.opus
  176. bindsym $mod+Ctrl+a exec deadbeef
  177. for_window [class="Pystopwatch"] floating enable, resize set 285 110, move position 1393 92
  178. exec --no-startup-id pystopwatch
  179. for_window [class="vlc"] floating enable, resize set 640 240, move position 1240 220
  180. for_window [title="Sélectionner un ou plusieurs fichiers à ouvrir"] focus, floating enable
  181. for_window [title="Préférences simples"] focus, floating enable, resize set 1000 450, move position 860 360
  182. exec vlc ~/Musique/water.opus
  183. bindsym $mod+v exec vlc
  184. for_window [class="Xscreensaver-demo"] floating enable, resize set 1180 840, move position 20 220
  185. exec_always --no-startup-id xscreensaver
  186. exec --no-startup-id xscreensaver-demo
  187. bindsym $mod+Ctrl+x exec xscreensaver-demo
  188.  
  189.  
  190. set $ws9 "9"
  191. assign [class="Czkawka_gui|kate|Meld"] $ws9
  192. for_window [class="kate"] focus, fullscreen enable
  193. for_window [title="Ouvrir un fichier"] focus, floating enable, resize set 1280 800, move position 320 120
  194. exec --no-startup-id kate ~/.config/i3/config
  195. bindsym $mod+F1 exec kate ~/.config/alacritty/alacritty.yml
  196. bindsym $mod+F2 exec kate ~/.bashrc
  197. bindsym $mod+F3 exec kate ~/.config/i3/i3-keybinds
  198. bindsym $mod+F4 exec kate ~/.config/i3/config
  199. bindsym $mod+F5 exec kate ~/.config/i3/picom.conf
  200. bindsym $mod+F6 exec kate ~/.config/polybar/config.ini
  201. bindsym $mod+F7 exec kate ~/.config/rofi/config.rasi
  202. bindsym $mod+F8 exec kate ~/.zshrc
  203. for_window [class="Czkawka_gui|Meld"] focus
  204. bindsym $mod+Ctrl+c exec czkawka_gui
  205. bindsym $mod+h exec kate
  206. bindsym $mod+m exec meld
  207.  
  208.  
  209. set $ws10 "10"
  210. assign [class="Virt-manager"] $ws10
  211. for_window [class="Virt-manager"] focus
  212. bindsym $mod+F10 exec virt-manager
  213.  
  214.  
  215. set $ws11 "11"
  216. assign [class="Nemo|Thunar"] $ws11
  217. for_window [class="Nemo|Thunar"] focus
  218. for_window [class="Nemo-terminal-prefs|mpv"] focus, floating enable, resize set 1280 854, move position center
  219. for_window [title="File Management Preferences"] focus, floating enable, resize set 1100 580, move position 2188 463
  220. for_window [title="File conflict"] focus, floating enable, move position center
  221. exec --no-startup-id nemo
  222. bindsym $mod+Shift+Return exec nemo
  223. bindsym $mod+t exec thunar
  224.  
  225.  
  226. set $ws12 "12"
  227. assign [class="qBittorrent"] $ws12
  228. for_window [class="qBittorrent"] floating enable, resize set 1400 860, move position 2180 90
  229. bindsym $mod+F12 exec --no-startup-id qbittorrent
  230. exec --no-startup-id qbittorrent
  231.  
  232.  
  233. set $ws13 "13"
  234. assign [class="File-roller|Filezilla|Xfce4-dict"] $ws13
  235. for_window [title="Extraire"] focus, floating enable, resize set 960 480, move position 920 500
  236. for_window [class="File-roller"] focus, floating enable, resize set 880 560, move position 1280 496
  237. for_window [class="Filezilla"] focus
  238. bindsym $mod+Ctrl+f exec filezilla
  239. for_window [class="Xfce4-dict"] focus, floating enable, resize set 875 960, move position 1940 60
  240. bindsym $mod+Ctrl+d exec xfce4-dict
  241.  
  242.  
  243. set $ws14 "14"
  244. assign [class="Kvantum Manager|Lxappearance|Oomox|qt5ct|qt6ct"] $ws14
  245. for_window [class="Kvantum Manager"] focus, floating enable, move position 1960 240
  246. for_window [title="Manager Kvantum"] focus, floating enable, move position 1960 240
  247. for_window [class="Lxappearance"] focus, floating enable, resize set 800 600, move position 2480 240
  248. for_window [class="Oomox"] focus
  249. for_window [class="qt5ct|qt6ct"] focus, floating enable, resize set 900 720, move position 510 160
  250. for_window [title="Outil de configuration de Qt5"] floating enable, resize set 900 720, move position 510 160
  251. bindsym Ctrl+Mod1+k exec kvantummanager
  252. bindsym Ctrl+Mod1+l exec lxappearance
  253. bindsym $mod+o exec oomox-gui
  254. bindsym $mod+Ctrl+q exec qt6ct
  255. bindsym $mod+Ctrl+t exec qt5ct
  256.  
  257.  
  258. set $ws15 "15"
  259. assign [class="gmic_qt"] $ws15
  260. for_window [class="gmic_qt"] focus, fullscreen enable
  261.  
  262.  
  263. set $ws16 "16"
  264. assign [class="Archlinux-tweak-tool.py|GParted|Grub-customizer"] $ws16
  265. for_window [class="Archlinux-tweak-tool.py"] focus, floating enable, resize set 1280 940, move position 2330 60
  266. for_window [title="Please choose a file"]focus, floating enable, resize set 950 900, move position 2480 50
  267. for_window [class="GParted"] focus, floating enable, resize set 775 500, move position 2960 50
  268. for_window [class="Grub-customizer"] focus, floating enable, resize set 900 800, move position 2000 50
  269. bindsym Ctrl+Mod1+comma exec --no-startup-id archlinux-tweak-tool
  270. bindsym $mod+Ctrl+g exec gparted
  271. bindsym $mod+z exec grub-customizer
  272.  
  273.  
  274. set $ws17 "17"
  275. for_window [class="Virt-manager"] $ws10
  276. for_window [class="Virt-manager"] focus
  277. for_window [title="voidlinux sur QEMU/KVM"] focus
  278.  
  279.  
  280. #=== Unassigned Applications === #
  281.  
  282. for_window [class="Dialog|Font-manager"] focus, floating enable, move position 1000 400
  283. for_window [window_role="GtkFileChooserDialog"] floating enable, focus, move position center
  284.  
  285. for_window [class="balena-etcher-electron"] move position 2000 320
  286. bindsym $mod+Ctrl+e exec etcher
  287.  
  288. for_window [class="Mate-system-monitor"] floating enable, resize set 800 987, move position 560 48
  289. bindsym $mod+Ctrl+m exec no-startup-id mate-system-monitor
  290.  
  291. for_window [class="Xfce4-settings-manager"] focus, floating enable, resize set 960 720
  292. for_window [class="Xfce4-taskmanager"] focus, floating enable, resize set 960 720
  293. bindsym Ctrl+Mod1+m exec --no-startup-id xfce4-settings-manager
  294. bindsym Ctrl+Shift+Escape exec --no-startup-id xfce4-taskmanager
  295.  
  296. #=== Scratchpad === #
  297.  
  298. # Move the currently focused window to the scratchpad
  299. bindsym Mod1+Shift+slash move scratchpad
  300.  
  301. # Retrieve the oldest window in the scratchpad
  302. bindsym Mod1+slash scratchpad show
  303.  
  304. # Move all floating windows to the scratchpad
  305. #bindsym $mod+b [floating] move scratchpad
  306.  
  307. for_window [class="Alacritty"] focus, floating enable, resize set 880 640
  308. bindsym $mod+Return exec alacritty
  309. bindsym Mod1+comma [class="Alacritty"] scratchpad show
  310.  
  311. for_window [class="Audio-recorder"] move scratchpad, move position 1940 360
  312. bindsym $mod+Ctrl+r exec audio-recorder
  313. bindsym $mod+shift+a [class="Audio-recorder"] scratchpad show
  314.  
  315. for_window [class="Gucharmap"] move scratchpad, resize set 900 600, move position 20 420
  316. bindsym Ctrl+Mod1+period exec gucharmap
  317. bindsym Mod1+period [class="Gucharmap"] scratchpad show
  318.  
  319. for_window [class="SimpleScreenRecorder"] move scratchpad, floating enable
  320. for_window [title="Sélectionner un ou plusieurs fichiers à ouvrir"] focus, floating enable
  321. bindsym $mod+s exec simplescreenrecorder
  322. bindsym $mod+shift+s [class="SimpleScreenRecorder"] scratchpad show
  323.  
  324. #=== Screenshots === #
  325.  
  326. for_window [class="flameshot"] floating enable, resize set 730 480
  327. bindsym Ctrl+Mod1+s exec flameshot
  328. bindsym Shift+Print exec --no-startup-id "flameshot gui -p ~/Images/Flameshot"
  329.  
  330. bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter
  331.  
  332. # ================================================= #
  333. #=== Dual Monitor Setup === #
  334.  
  335. set $Screen1 HDMI-A-0
  336. set $Screen2 DVI-D-0
  337.  
  338. workspace 1 output $Screen1
  339. workspace 2 output $Screen1
  340. workspace 3 output $Screen1
  341. workspace 4 output $Screen1
  342. workspace 5 output $Screen1
  343. workspace 6 output $Screen1
  344. workspace 7 output $Screen1
  345. workspace 8 output $Screen1
  346. workspace 9 output $Screen1
  347. workspace 10 output $Screen1
  348. workspace 11 output $Screen2
  349. workspace 12 output $Screen2
  350. workspace 13 output $Screen2
  351. workspace 14 output $Screen2
  352. workspace 15 output $Screen2
  353. workspace 16 output $Screen2
  354. workspace 17 output $Screen2
  355.  
  356. # =============================================== #
  357. #=== Workspace Functions === #
  358.  
  359. #=== Switch to workspace === #
  360.  
  361. bindsym $mod+1 workspace $ws1
  362. bindsym $mod+2 workspace $ws2
  363. bindsym $mod+3 workspace $ws3
  364. bindsym $mod+4 workspace $ws4
  365. bindsym $mod+5 workspace $ws5
  366. bindsym $mod+6 workspace $ws6
  367. bindsym $mod+7 workspace $ws7
  368. bindsym $mod+8 workspace $ws8
  369. bindsym $mod+9 workspace $ws9
  370. bindsym $mod+0 workspace $ws10
  371. bindsym $mod+minus workspace $ws11
  372. bindsym $mod+equal workspace $ws12
  373. bindsym $mod+bracketleft workspace $ws13
  374. bindsym $mod+bracketright workspace $ws14
  375. bindsym $mod+grave workspace $ws15
  376. bindsym $mod+apostrophe workspace $ws16
  377. bindsym $mod+semicolon workspace $ws17
  378.  
  379. #=== Move focused container to workspace === #
  380.  
  381. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  382. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  383. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  384. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  385. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  386. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  387. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  388. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  389. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  390. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  391. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  392. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  393. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  394. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  395. bindsym $mod+Shift+grave move container to workspace $ws15; workspace $ws15
  396. bindsym $mod+Shift+apostrophe move container to workspace $ws16; workspace $ws16
  397. bindsym $mod+Shift+semicolon move container to workspace $ws17; workspace $ws17
  398.  
  399.  
  400. #=== Resize Containers === #
  401.  
  402. bindsym $mod+Ctrl+Right resize grow width 10
  403. bindsym $mod+Ctrl+Up resize shrink height 10
  404. bindsym $mod+Ctrl+Down resize grow height 10
  405. bindsym $mod+Ctrl+Left resize shrink width 10
  406.  
  407. #=== i3wm Next Gaps === # (https://github.com/Airblader/i3/tree/gaps-next)
  408.  
  409. gaps inner 14
  410. gaps outer 0
  411. smart_gaps on
  412. smart_borders on
  413.  
  414. #=== Resize Gaps === #
  415. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  416.  
  417. bindsym Ctrl+Shift+y gaps outer current toggle 40
  418. bindsym Ctrl+Shift+o gaps outer current plus 10
  419. bindsym Ctrl+Shift+i gaps outer current minus 10
  420. bindsym Ctrl+Shift+apostrophe gaps outer all set 10
  421. bindsym Ctrl+Shift+m gaps outer all set 20
  422. bindsym Ctrl+Shift+comma gaps outer all set 40
  423. bindsym Ctrl+Shift+period gaps outer all set 60
  424.  
  425. # ============================================================== #
  426. #=== Navigating Containers / Workspaces === #
  427.  
  428. # Use mouse+$mod to drag floating windows to their new position
  429. floating_modifier $mod
  430.  
  431. # Toggle Tiling / Floating
  432. bindsym Ctrl+space floating toggle
  433.  
  434. # Change Focus
  435. bindsym $mod+Left focus left
  436. bindsym $mod+Down focus down
  437. bindsym $mod+Up focus up
  438. bindsym $mod+Right focus right
  439.  
  440. # Move Focused Window
  441. bindsym $mod+Shift+Left move left
  442. bindsym $mod+Shift+Down move down
  443. bindsym $mod+Shift+Up move up
  444. bindsym $mod+Shift+Right move right
  445.  
  446. # Navigate to Next / Previous Workspace
  447. bindsym Mod1+Shift+Tab workspace prev
  448. bindsym Mod1+Tab workspace next
  449. bindsym Mod1+Ctrl+Left workspace prev
  450. bindsym Mod1+Ctrl+Right workspace next
  451. bindsym $mod+Tab workspace back_and_forth
  452.  
  453. # Switch to workspace with urgent window automatically
  454. for_window [urgent=latest] focus
  455.  
  456. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  457. workspace_auto_back_and_forth yes
  458.  
  459. # Move entire contents of a monitor's workspace to the next Monitor
  460. bindsym $mod+Shift+m move workspace to output next
  461.  
  462. # Mouse warped to center of a focused window when switching to another monitor
  463. mouse_warping output
  464.  
  465. # ========================================== #
  466. #=== Border Control === #
  467.  
  468. # default_border normal | none | pixel
  469. default_border none
  470.  
  471. # default_floating_border normal | none| pixel
  472. default_floating_border none
  473.  
  474. # hide_edge_borders none|vertical|horizontal|both|smart
  475. hide_edge_borders smart
  476.  
  477. # new_window normal | new_window none | pixel
  478. new_window none
  479.  
  480. # new_float normal | none | pixel
  481. new_float none
  482.  
  483. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  484.  
  485. # ============================================= #
  486. #=== Tiling Parameters === #
  487.  
  488. # Workspace_layout default|stacking|tabbed
  489. workspace_layout default
  490.  
  491. # Orientation for new workspaces
  492. default_orientation horizontal
  493.  
  494. # Enter fullscreen mode for the focused container
  495. bindsym $mod+f fullscreen toggle
  496.  
  497. # Change focus between tiling / floating windows
  498. bindsym $mod+space focus mode_toggle
  499.  
  500. # Application focus smart|urgent|focus|none
  501. focus_on_window_activation none
  502.  
  503. # popup_during_fullscreen smart|ignore|leave_fullscreen
  504. popup_during_fullscreen smart
  505.  
  506. # ==================================================================== #
  507. #=== Variety with Pywal for Wallpapers/Themes === #
  508.  
  509. # next wallpaper
  510. bindsym $mod+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  511. # previous wallpaper
  512. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  513. # trash wallpaper
  514. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  515. # Update Wallpaper
  516. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  517.  
  518. # =================================================== #
  519. #====== Bar and Workspace Appearance ======#
  520.  
  521. #====== Bar Toggle ======#
  522. # Bar toggle, hide or show
  523. #bindsym $mod+b bar mode invisible
  524. #bindsym $mod+m bar mode dock
  525.  
  526. bar {
  527. height 24
  528. workspace_buttons yes
  529. workspace_min_width 24
  530. font pango:Bauhaus 12, FontAwesome 12
  531. i3bar_command i3bar
  532. tray_output HDMI-A-0
  533. tray_padding 2
  534. position top
  535.  
  536. # OPTION 1 : Bumblebee-status
  537. # https://github.com/tobi-wan-kenobi/bumblebee-status
  538. status_command ~/.config/bumblebee-status/bumblebee-status \
  539. -m spacer spacer spacer spacer spacer spacer spacer spacer \
  540. -m redshift spacer spacer spacer spacer spacer spacer \
  541. -m sun spacer spacer spacer spacer spacer spacer spacer spacer spacer \
  542. -m uptime spacer spacer spacer spacer spacer spacer spacer spacer spacer \
  543. -m datetime -p datetime.format=" %c " \
  544. -m spacer spacer spacer spacer spacer \
  545. -t mid-brown-top
  546.  
  547. # OPTION 2 : Conky-statusbar
  548. # https://i3wm.org/docs/user-contributed/conky-i3bar.html
  549.  
  550. # status_command ~/.config/i3/start-conky-i3statusbar.sh
  551.  
  552. ##START THEMING BAR
  553. # Theme name : 0004 Leopard
  554. # i3 bar colors
  555.  
  556. colors {
  557. background #592000
  558. statusline #dca025
  559. separator #dca025
  560. # border background text
  561. focused_workspace #b26f18 #5920040 #dca025
  562. inactive_workspace #592000 #592000 #b26f18
  563. active_workspace #7B6C28 #77380a #b26f18
  564. urgent_workspace #7B6C28 #005917 #592000
  565. }
  566. }
  567.  
  568. bar {
  569. height 22
  570. workspace_buttons no
  571. font pango:Bauhaus 12, FontAwesome 12
  572. i3bar_command i3bar -t
  573. output HDMI-A-0
  574. tray_output none
  575. position bottom
  576.  
  577. status_command ~/.config/bumblebee-status/bumblebee-status \
  578. -m spacer spacer spacer spacer spacer spacer \
  579. -m hostname spacer spacer spacer spacer \
  580. -m kernel spacer spacer spacer spacer spacer spacer \
  581. -m todo spacer spacer spacer spacer spacer spacer \
  582. -m shortcut -p shortcut.cmds="alacritty -e vim ~/.config/i3/config;alacritty -e htop" shortcut.labels="vim;htop" \
  583. -m spacer spacer spacer spacer spacer cpu spacer spacer spacer spacer \
  584. -m memory spacer spacer spacer spacer spacer \
  585. -m disk spacer spacer spacer spacer spacer \
  586. -m battery-upower spacer spacer spacer \
  587. -m pasink spacer spacer pasource spacer spacer spacer \
  588. -t mid-brown
  589.  
  590. colors {
  591. background #7B6C2880
  592. }
  593. }
  594.  
  595. ### Usable modules: amixer arch-update "-p arch-update.left-click=" battery hddtemp indicator layout nic
  596. ### pacman ping progress sensors title traffic xkcd
  597. ### Problematic modules: dunst playerctl smartstatus twmn
  598.  
  599. # Option 2: Polybar
  600. # Comment out the Bar section and conky, and remove hashtag in the next line to load Polybar; log back in to see the change.
  601. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  602.  
  603. ##STOP THEMING BAR
  604.  
  605. #=== º-º _ º-º === The End Or Start Again === º-º _ º-º === º-º _ º-º === #
  606. #=== º-º _ º-º === º-º _ º-º === º-º _ º-º === º-º _ º-º === º-º _ º-º === #
  607.  
Add Comment
Please, Sign In to add comment