poetician

i3 Bumblebee-status | ArcoLinux

Oct 18th, 2022
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.77 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. for_window [class="Nitrogen"] focus, floating enable, resize set 831 494, move position 545 180
  21. exec --no-startup-id nitrogen --restore
  22. bindsym $mod+n exec --no-startup-id nitrogen
  23. exec killall picom &&
  24. exec_always --no-startup-id picom --experimental-backends --config ~/.config/i3/picom.conf
  25. bindsym $mod+p exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh
  26. exec killall redshift &&
  27. exec redshift &
  28.  
  29. #=== Application Launchers === #
  30.  
  31. # Start jgmenu
  32. bindsym $mod+j exec jgmenu_run
  33.  
  34. # Start Rofi in combi Mode
  35. bindsym $mod+y exec rofi -show combi -steal-focus
  36. # Start Rofi in drun Mode
  37. bindsym $mod+r exec rofi -show drun -steal-focus
  38. #Start Rofi in filebrowser Mode
  39. bindsym $mod+b exec rofi -show filebrowser -steal-focus
  40. # Start Rofi Theme Selector
  41. bindsym Ctrl+Mod1+r exec rofi-theme-selector
  42.  
  43. # Start Xfce4 AppFinder
  44. for_window [class="Xfce4-appfinder"] focus, floating enable, resize set 600 700
  45. bindsym $mod+Ctrl+l exec xfce4-appfinder
  46.  
  47. #=== Loaded at Startup === #
  48.  
  49. exec_always --no-startup-id autotiling
  50. exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent
  51. for_window [class="Polkit-gnome-authentication-agent-1"] focus, move position 2570 400, resize set 620 240
  52. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  53. exec setxkbmap -option caps:swapescape
  54. exec_always --no-startup-id unclutter --timeout 2
  55. exec --no-startup-id xfce4-power-manager &
  56. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  57.  
  58. #=== Tray Apps Loaded at Startup === #
  59.  
  60. # Parcellite
  61. exec --no-startup-id parcellite
  62. # Veikk Tablet Driver
  63. exec --no-startup-id /lib/vktablet/vktablet
  64. # Volume
  65. exec --no-startup-id volumeicon
  66. # Workrave
  67. for_window [class="Workrave"] focus
  68. exec --no-startup-id workrave
  69.  
  70. #=== Reloading Changed Configuration === #
  71.  
  72. # Reload the configuration file (problematic with some apps; logging out is better)
  73. bindsym $mod+Shift+c reload
  74.  
  75. # Restart i3 in place (preserves the layout/session, can be used to upgrade i3)
  76. bindsym $mod+Shift+r restart
  77.  
  78. #=== Stopping Applications/Session === #
  79.  
  80. # Kill focused window
  81. bindsym $mod+q kill
  82.  
  83. # Xkill focused window that Kill can't kill
  84. bindsym --release $mod+Escape exec xkill
  85.  
  86. # The middle button and a modifer over any part of the window kills the window
  87. bindsym --whole-window button2 kill
  88.  
  89. # Betterlockscreen
  90. bindsym $mod+Pause exec betterlockscreen -l dimblur
  91.  
  92. # Session Logout/Restart/Shutdown
  93. bindsym $mod+x exec archlinux-logout
  94.  
  95. #=================================================================================#
  96. #=== Workspace Assignments; Application Directives and Launching === #
  97.  
  98. set $ws1 "1"
  99. assign [class="firefox|librewolf-bin"] $ws1
  100. for_window [class="firefox|librewolf-bin"] focus, fullscreen enable
  101. exec --no-startup-id firefox
  102. bindsym Ctrl+Mod1+f exec firefox
  103. bindsym $mod+F9 exec firefox https://gitlab.com/Poetician
  104. bindsym $mod+F11 exec firefox https://pastebin.com/u/poetician
  105. bindsym $mod+Ctrl+w exec librewolf
  106. bindsym $mod+Home exec librewolf https://gitlab.com/Poetician
  107. bindsym $mod+End exec librewolf https://pastebin.com/u/poetician
  108. bindsym $mod+Prior exec librewolf https://odysee.com/
  109. bindsym $mod+Next exec librewolf https://studio.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w
  110.  
  111.  
  112. set $ws2 "2"
  113. assign [class="Audacity|Indicator-stickynotes"] $ws2
  114. for_window [class="Indicator-stickynotes"] focus, floating enable
  115. bindsym $mod+Ctrl+s exec --no-startup-id indicator-stickynotes
  116. bindsym $mod+a audacity
  117.  
  118.  
  119. set $ws3 "3"
  120. assign [class="Gcolor3|qimgv|Viewnior"] $ws3
  121. for_window [class="qimgv|Viewnior"] focus
  122. for_window [title="Open Image"] floating enable, resize set 960 640, move position 480 200
  123. for_window [class="Gcolor3"] focus, floating enable, resize set 700 300, move position 1160 700
  124. bindsym $mod+c exec gcolor3
  125. bindsym $mod+d exec qimgv
  126. bindsym $mod+w exec viewnior
  127.  
  128.  
  129. set $ws4 "4"
  130. assign [class="libreoffice"] $ws4
  131. for_window [class="libreoffice"] focus, floating enable, resize set 1200 1040, move position 360 30
  132. for_window [title="Standard"] floating enable, resize set 177 403, move position 159 79
  133. for_window [title="Formatting"] floating enable, resize set 259 251, move position 77 512
  134. bindsym $mod+l exec --no-startup-id libreoffice
  135.  
  136.  
  137. set $ws5 "5"
  138. assign [class="Blender|kdenlive"] $ws5
  139. for_window [class="Blender|kdenlive"] focus
  140. for_window [title="Clip titre"] focus, floating enable, resize set 1220 785, move position 350 150
  141. for_window [title=["Configurer"] focus, enable, resize set 1220 785, move position center
  142. for_window [title=["Ouvrir"] focus, enable, resize set 1220 785, move position center
  143. for_window [title="Rendu en cours…"]focus, floating enable, resize set 1220 785, move position center
  144. bindsym $mod+backslash exec blender
  145. bindsym $mod+k exec kdenlive
  146.  
  147.  
  148. set $ws6 "6"
  149. assign [class="Gimp-2.10|Inkscape"] $ws6
  150. for_window [class="Gimp-2.10|Inkscape"] focus
  151. for_window [title="Copying"] floating enable
  152. for_window [title="Deleting"] floating enable
  153. for_window [title="Moving"] floating enable
  154. for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  155. for_window [window_role="pop-up"] focus, floating enable
  156. for_window [window_role="gimp-preferences"] floating enable, resize set 960 960, move position 480 40
  157. for_window [window_role="setup"] floating enable
  158. for_window [window_role="gimp-file-export"] floating enable, move position 80 80
  159. bindsym $mod+g exec gimp-2.10
  160. bindsym $mod+i exec inkscape
  161.  
  162.  
  163. set $ws7 "7"
  164. assign [class="Google Earth Pro"] $ws7
  165. for_window [class="Google Earth Pro"] focus
  166. bindsym $mod+e exec google-earth-pro
  167.  
  168.  
  169. set $ws8 "8"
  170. assign [class="Deadbeef|Pystopwatch|vlc|Xscreensaver-demo"] $ws8
  171. for_window [class="Deadbeef"] floating enable, resize set 640 360, move position 1240 700
  172. for_window [title="Préférences"] floating enable, move position center
  173. for_window [title="Blur Scope"] floating enable, resize set 600 180, move position 1070 90
  174. exec deadbeef ~/Musique/crickets.opus
  175. bindsym $mod+Ctrl+a exec deadbeef
  176. for_window [class="Pystopwatch"] floating enable, resize set 285 110, move position 1393 92
  177. exec --no-startup-id pystopwatch
  178. for_window [class="vlc"] floating enable, resize set 640 240, move position 1240 220
  179. for_window [title="Sélectionner un ou plusieurs fichiers à ouvrir"] focus, floating enable
  180. for_window [title="Préférences simples"] focus, floating enable, resize set 1000 450, move position 860 360
  181. exec vlc ~/Musique/water.opus
  182. bindsym $mod+v exec vlc
  183. for_window [class="Xscreensaver-demo"] floating enable, resize set 1180 840, move position 20 220
  184. exec_always --no-startup-id xscreensaver
  185. exec --no-startup-id xscreensaver-demo
  186. bindsym $mod+Ctrl+x exec xscreensaver-demo
  187.  
  188.  
  189. set $ws9 "9"
  190. assign [class="Czkawka_gui|kate|Meld"] $ws9
  191. for_window [class="kate"] focus, fullscreen enable
  192. for_window [title="Ouvrir un fichier"] focus, floating enable, resize set 1280 800, move position 320 120
  193. exec --no-startup-id kate ~/.config/i3/config
  194. bindsym $mod+F1 exec kate ~/.config/alacritty/alacritty.yml
  195. bindsym $mod+F2 exec kate ~/.bashrc
  196. bindsym $mod+F3 exec kate ~/.config/i3/i3-keybinds
  197. bindsym $mod+F4 exec kate ~/.config/i3/config
  198. bindsym $mod+F5 exec kate ~/.config/i3/picom.conf
  199. bindsym $mod+F6 exec kate ~/.config/polybar/config.ini
  200. bindsym $mod+F7 exec kate ~/.config/rofi/config.rasi
  201. bindsym $mod+F8 exec kate ~/.zshrc
  202. for_window [class="Czkawka_gui|Meld"] focus
  203. bindsym $mod+Ctrl+c exec czkawka_gui
  204. bindsym $mod+h exec kate
  205. bindsym $mod+m exec meld
  206.  
  207.  
  208. set $ws10 "10"
  209. assign [class="VirtualBox|VirtualBox Manager|VirtualBox Machine"] $ws10
  210. for_window [class="VirtualBox Machine|VirtualBox Manager"] focus, floating disable
  211. for_window [class="VirtualBox"] move position 1960 480
  212. # exec virtualbox manager
  213. bindsym $mod+F10 exec virtualbox manager
  214.  
  215.  
  216. set $ws11 "11"
  217. assign [class="Nemo|Thunar"] $ws11
  218. for_window [class="Nemo|Thunar"] focus
  219. for_window [class="Nemo-terminal-prefs|mpv"] focus, floating enable, resize set 1280 854, move position center
  220. for_window [title="File Management Preferences"] focus, floating enable, resize set 1100 580, move position 2188 463
  221. for_window [title="File conflict"] focus, floating enable, move position center
  222. exec --no-startup-id nemo
  223. bindsym $mod+Shift+Return exec nemo
  224. bindsym $mod+t exec thunar
  225.  
  226.  
  227. set $ws12 "12"
  228. assign [class="qBittorrent"] $ws12
  229. for_window [class="qBittorrent"] floating enable, resize set 1400 860, move position 2180 90
  230. bindsym $mod+F12 exec qbittorrent
  231. exec --no-startup-id qbittorrent
  232.  
  233.  
  234. set $ws13 "13"
  235. assign [class="File-roller|Filezilla|Xfce4-dict"] $ws13
  236. for_window [title="Extraire"] focus, floating enable, resize set 960 480, move position 920 500
  237. for_window [class="File-roller"] focus, floating enable, resize set 880 560, move position 1280 496
  238. for_window [class="Filezilla"] focus
  239. bindsym $mod+Ctrl+f exec filezilla
  240. for_window [class="Xfce4-dict"] focus, floating enable, resize set 875 960, move position 1940 60
  241. bindsym $mod+Ctrl+d exec xfce4-dict
  242.  
  243.  
  244. set $ws14 "14"
  245. assign [class="Kvantum Manager|Lxappearance|Oomox|qt5ct|qt6ct"] $ws14
  246. for_window [class="Kvantum Manager"] focus, floating enable, move position 1960 360
  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 1100 900, move position 2330 50
  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. #=== 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="flameshot"] floating enable, resize set 730 480
  320. bindsym Ctrl+Mod1+s exec flameshot
  321. bindsym Shift+Print exec --no-startup-id "flameshot gui -p ~/Images/Flameshot"
  322.  
  323. bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter
  324.  
  325. # ================================================= #
  326. #=== Dual Monitor Setup === #
  327.  
  328. set $Screen1 HDMI-A-0
  329. set $Screen2 DVI-D-0
  330.  
  331. workspace 1 output $Screen1
  332. workspace 2 output $Screen1
  333. workspace 3 output $Screen1
  334. workspace 4 output $Screen1
  335. workspace 5 output $Screen1
  336. workspace 6 output $Screen1
  337. workspace 7 output $Screen1
  338. workspace 8 output $Screen1
  339. workspace 9 output $Screen1
  340. workspace 10 output $Screen2
  341. workspace 11 output $Screen2
  342. workspace 12 output $Screen2
  343. workspace 13 output $Screen2
  344. workspace 14 output $Screen2
  345. workspace 15 output $Screen2
  346. workspace 16 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.  
  370. #=== Move focused container to workspace === #
  371.  
  372. bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
  373. bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
  374. bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
  375. bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
  376. bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
  377. bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
  378. bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
  379. bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
  380. bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
  381. bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
  382. bindsym $mod+Shift+minus move container to workspace $ws11; workspace $ws11
  383. bindsym $mod+Shift+equal move container to workspace $ws12; workspace $ws12
  384. bindsym $mod+Shift+bracketleft move container to workspace $ws13; workspace $ws13
  385. bindsym $mod+Shift+bracketright move container to workspace $ws14; workspace $ws14
  386. bindsym $mod+Shift+grave move container to workspace $ws15; workspace $ws15
  387. bindsym $mod+Shift+apostrophe move container to workspace $ws16; workspace $ws16
  388.  
  389. #=== Resize Containers === #
  390.  
  391. bindsym $mod+Ctrl+Right resize grow width 10
  392. bindsym $mod+Ctrl+Up resize shrink height 10
  393. bindsym $mod+Ctrl+Down resize grow height 10
  394. bindsym $mod+Ctrl+Left resize shrink width 10
  395.  
  396. #=== i3wm Next Gaps === # (https://github.com/Airblader/i3/tree/gaps-next)
  397.  
  398. gaps inner 14
  399. gaps outer 0
  400. smart_gaps on
  401. smart_borders on
  402.  
  403. #=== Resize Gaps === #
  404. # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
  405.  
  406. bindsym Ctrl+Shift+y gaps outer current toggle 40
  407. bindsym Ctrl+Shift+o gaps outer current plus 10
  408. bindsym Ctrl+Shift+i gaps outer current minus 10
  409. bindsym Ctrl+Shift+apostrophe gaps outer all set 10
  410. bindsym Ctrl+Shift+m gaps outer all set 20
  411. bindsym Ctrl+Shift+comma gaps outer all set 40
  412. bindsym Ctrl+Shift+period gaps outer all set 60
  413.  
  414. # ============================================================== #
  415. #=== Navigating Containers / Workspaces === #
  416.  
  417. # Use mouse+$mod to drag floating windows to their new position
  418. floating_modifier $mod
  419.  
  420. # Toggle Tiling / Floating
  421. bindsym Ctrl+space floating toggle
  422.  
  423. # Change Focus
  424. bindsym $mod+Left focus left
  425. bindsym $mod+Down focus down
  426. bindsym $mod+Up focus up
  427. bindsym $mod+Right focus right
  428.  
  429. # Move Focused Window
  430. bindsym $mod+Shift+Left move left
  431. bindsym $mod+Shift+Down move down
  432. bindsym $mod+Shift+Up move up
  433. bindsym $mod+Shift+Right move right
  434.  
  435. # Navigate to Next / Previous Workspace
  436. bindsym Mod1+Shift+Tab workspace prev
  437. bindsym Mod1+Tab workspace next
  438. bindsym Mod1+Ctrl+Left workspace prev
  439. bindsym Mod1+Ctrl+Right workspace next
  440. bindsym $mod+Tab workspace back_and_forth
  441.  
  442. # Switch to workspace with urgent window automatically
  443. for_window [urgent=latest] focus
  444.  
  445. # Switch back to previous workspace by pressing the same keybinding used to switch from it
  446. workspace_auto_back_and_forth yes
  447.  
  448. # Move entire contents of a monitor's workspace to the next Monitor
  449. bindsym $mod+Shift+m move workspace to output next
  450.  
  451. # Mouse warped to center of a focused window when switching to another monitor
  452. mouse_warping output
  453.  
  454. # ========================================== #
  455. #=== Border Control === #
  456.  
  457. # default_border normal | none | pixel
  458. default_border none
  459.  
  460. # default_floating_border normal | none| pixel
  461. default_floating_border none
  462.  
  463. # hide_edge_borders none|vertical|horizontal|both|smart
  464. hide_edge_borders smart
  465.  
  466. # new_window normal | new_window none | pixel
  467. new_window none
  468.  
  469. # new_float normal | none | pixel
  470. new_float none
  471.  
  472. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  473.  
  474. # ============================================= #
  475. #=== Tiling Parameters === #
  476.  
  477. # Workspace_layout default|stacking|tabbed
  478. workspace_layout default
  479.  
  480. # Orientation for new workspaces
  481. default_orientation horizontal
  482.  
  483. # Enter fullscreen mode for the focused container
  484. bindsym $mod+f fullscreen toggle
  485.  
  486. # Change focus between tiling / floating windows
  487. bindsym $mod+space focus mode_toggle
  488.  
  489. # Application focus smart|urgent|focus|none
  490. focus_on_window_activation none
  491.  
  492. # popup_during_fullscreen smart|ignore|leave_fullscreen
  493. popup_during_fullscreen smart
  494.  
  495. # ==================================================================== #
  496. #=== Variety with Pywal for Wallpapers/Themes === #
  497.  
  498. # next wallpaper
  499. bindsym $mod+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  500. # previous wallpaper
  501. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  502. # trash wallpaper
  503. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  504. # Update Wallpaper
  505. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  506.  
  507. # =================================================== #
  508. #====== Bar and Workspace Appearance ======#
  509.  
  510. #====== Bar Toggle ======#
  511. # Bar toggle, hide or show
  512. #bindsym $mod+b bar mode invisible
  513. #bindsym $mod+m bar mode dock
  514.  
  515. bar {
  516. height 24
  517. workspace_buttons yes
  518. workspace_min_width 24
  519. font pango:Bauhaus 12, FontAwesome 12
  520. i3bar_command i3bar -t
  521. tray_output HDMI-A-0
  522. tray_padding 2
  523. position top
  524.  
  525. # OPTION 1 : Bumblebee-status
  526. # https://github.com/tobi-wan-kenobi/bumblebee-status
  527. status_command ~/.config/bumblebee-status/bumblebee-status \
  528. -m spacer spacer spacer spacer spacer spacer \
  529. -m redshift spacer spacer spacer spacer spacer spacer \
  530. -m sun spacer spacer spacer spacer spacer spacer \
  531. -m uptime spacer spacer spacer spacer spacer spacer \
  532. -m datetime -p datetime.format=" %c " spacer spacer spacer \
  533. -m spacer spacer spacer spacer spacer spacer \
  534. -t smooth
  535.  
  536. # OPTION 2 : Conky-statusbar
  537. # https://i3wm.org/docs/user-contributed/conky-i3bar.html
  538.  
  539. # status_command ~/.config/i3/start-conky-i3statusbar.sh
  540.  
  541. ##START THEMING BAR
  542. # Theme name : 0004 Leopard
  543. # i3 bar colors
  544.  
  545. colors {
  546. background #7B6C2880
  547. statusline #7B6C2880
  548. separator #7B6C2880
  549. # border backgr. text
  550. focused_workspace #7B6C28 #7B6C28 #F4C277
  551. inactive_workspace #7B6C28 #F4CF70 #7B6C28
  552. active_workspace #7B6C28 #EBBD6F #60542F
  553. urgent_workspace #7B6C28 #005917 #EBBD6F
  554. }
  555. }
  556.  
  557. bar {
  558. height 22
  559. workspace_buttons no
  560. font pango:Bauhaus 12, FontAwesome 12
  561. i3bar_command i3bar -t
  562. output HDMI-A-0
  563. tray_output none
  564. position bottom
  565.  
  566. status_command ~/.config/bumblebee-status/bumblebee-status \
  567. -m spacer spacer spacer spacer spacer spacer spacer spacer \
  568. -m hostname spacer spacer spacer spacer spacer \
  569. -m kernel spacer spacer spacer spacer spacer \
  570. -m shortcut -p shortcut.cmds="alacritty -e vim ~/.config/i3/config;alacritty -e htop" shortcut.labels="vim;htop" \
  571. -m spacer spacer spacer spacer spacer spacer cpu spacer spacer spacer spacer spacer \
  572. -m memory spacer spacer spacer spacer spacer \
  573. -m disk spacer spacer spacer spacer spacer \
  574. -m battery-upower spacer spacer spacer spacer spacer \
  575. -m pasink spacer spacer spacer pasource spacer spacer spacer spacer spacer \
  576. -m todo spacer spacer spacer spacer spacer spacer spacer \
  577. -t smooth
  578.  
  579. colors {
  580. background #7B6C2880
  581. }
  582. }
  583.  
  584. ### Usable modules: amixer arch-update "-p arch-update.left-click=" battery hddtemp indicator layout nic
  585. ### pacman ping progress sensors title traffic xkcd
  586. ### Problematic modules: dunst playerctl smartstatus twmn
  587.  
  588. # Option 2: Polybar
  589. # Comment out the Bar section and conky, and remove hashtag in the next line to load Polybar; log back in to see the change.
  590. # exec_always --no-startup-id ~/.config/polybar/launch.sh &
  591.  
  592. ##STOP THEMING BAR
  593.  
  594. #=== === The End - Now Start Again === === #
  595. #=== - _ -=== - _ -=== - _ -=== - _ -=== - _ - = #
  596.  
Add Comment
Please, Sign In to add comment