Advertisement
poetician

ArcoLinux i3wm Config WD Black

Sep 22nd, 2019
2,281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.97 KB | None | 0 0
  1. #####################################################################################################################
  2. ################# Start of all the settings #################
  3. #####################################################################################################################
  4.  
  5.  
  6. # KEY DEFINITIONS TO REMEMBER
  7.  
  8. # $Mod = WINDOWS key or Super key or Mod4
  9. # Mod1 = ALT key
  10. # Control = CTRL key
  11. # Shift = SHIFT key
  12. # Escape = ESCAPE key
  13. # Return = ENTER or RETURN key
  14. # KP_Enter = Keypad Enter
  15. # Pause = PAUSE key
  16. # Print = PRINT key
  17. # Tab = TAB key
  18.  
  19. #####################################################################################################################
  20. ################# Define the $mod variable/key #################
  21. #####################################################################################################################
  22.  
  23. # Key to rule them all : Super(Windows) or Alt key?
  24.  
  25. # Mod4 = Windows or Super key on keyboard
  26. # Mod1 = Alt key on keyboard
  27.  
  28. #Set Alt key
  29. #set $mod Mod1
  30.  
  31. #set Super key
  32. set $mod Mod4
  33.  
  34. #####################################################################################################################
  35. ################# Define the movements keys - variables #################
  36. #####################################################################################################################
  37.  
  38. #This is setup for qwerty
  39. set $up l
  40. set $down k
  41. set $left j
  42. set $right semicolon
  43.  
  44. #This is setup for azerty
  45. #set $up l
  46. #set $down k
  47. #set $left j
  48. #set $right m
  49.  
  50. #################################################################
  51. # Define names for default workspaces #
  52. # Variables avoid repeating the names in multiple places #
  53. #################################################################
  54.  
  55. set $ws1 "1 Mozilla  "
  56. set $ws2 "2 Editing   "
  57. set $ws3 "3 Media 🎞 🎜"
  58. set $ws4 "4 Writer "
  59. set $ws5 "5 Kdenlive 📽"
  60. set $ws6 "6 Gimp "
  61. set $ws7 "7 Google Earth "
  62. set $ws8 "8"
  63. set $ws9 "9"
  64. set $ws10 "10 Utils "
  65.  
  66. assign [class="Firefox"] "1 Mozilla  "
  67. assign [class="Mozilla Thunderbird"] "1 Mozilla  "
  68. assign [class="Nemo"] "2 Editing   "
  69. assign [class="Cherrytree"] "2 Editing   "
  70. assign [class="Rhythmbox"] "3 Media 🎞 🎜"
  71. assign [class="vlc"] "3 Media 🎞 🎜"
  72. assign [class="kdenlive"] "5 Kdenlive 📽"
  73. assign [class="libreoffice"] "4 Writer "
  74. assign [class="GNU Image Manipulation Program"] "6 Gimp "
  75. assign [class="Google Earth Pro"] "7 Google Earth "
  76. assign [class="Stacer"] "10 Utils "
  77.  
  78. exec_always compton -f -c
  79. exec cherrytree
  80. exec firefox
  81. #exec gimp
  82. #exec google-earth
  83. #exec kdenlive
  84. exec libreoffice
  85. exec megasync
  86. exec parcellite
  87. exec redshift
  88. exec rhythmbox
  89. #exec screenkey
  90. #exec shutter
  91. exec nemo
  92. exec thunderbird
  93. exec vlc
  94. exec workrave
  95.  
  96. #####################################################################################################################
  97. ################# Single and Dual screen #################
  98. #####################################################################################################################
  99.  
  100. # switch to workspace
  101. bindsym $mod+1 workspace $ws1
  102. bindsym $mod+2 workspace $ws2
  103. bindsym $mod+3 workspace $ws3
  104. bindsym $mod+4 workspace $ws4
  105. bindsym $mod+5 workspace $ws5
  106. bindsym $mod+6 workspace $ws6
  107. bindsym $mod+7 workspace $ws7
  108. bindsym $mod+8 workspace $ws8
  109. bindsym $mod+9 workspace $ws9
  110. bindsym $mod+0 workspace $ws10
  111.  
  112. # move focused container to workspace
  113. bindsym $mod+Shift+1 move container to $ws1
  114. bindsym $mod+Shift+2 move container to $ws2
  115. bindsym $mod+Shift+3 move container to $ws3
  116. bindsym $mod+Shift+4 move container to $ws4
  117. bindsym $mod+Shift+5 move container to $ws5
  118. bindsym $mod+Shift+6 move container to $ws6
  119. bindsym $mod+Shift+7 move container to $ws7
  120. bindsym $mod+Shift+8 move container to $ws8
  121. bindsym $mod+Shift+9 move container to $ws9
  122. bindsym $mod+Shift+0 move container to $ws10
  123.  
  124. #####################################################################################################################
  125. ################# 6 Menu Options #################
  126. #####################################################################################################################
  127.  
  128. # start dmenu
  129. #bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14'
  130.  
  131. # start menu from .destop files only
  132. bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
  133.  
  134. # gmrun
  135. bindsym mod1+F2 exec --no-startup-id gmrun
  136.  
  137. # start xfce-appfinder
  138. bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
  139.  
  140. # The preferred App launcher
  141. bindsym $mod+g exec rofi -show drun -theme arthur -lines 15 -eh 2 -width 60 -padding 60 -opacity "50" -bw 0 -bc "$base01" -bg "$base02" -fg "$base04" -hlbg "$base05" -columns 4 -font "Bauhaus 13" -hlfg "#9575cd"
  142.  
  143. # start rofi full
  144. bindsym $mod+F11 exec --no-startup-id rofi -show run -fullscreen -font "Noto Sans 13"
  145.  
  146. # start rofi small
  147. bindsym $mod+F12 exec --no-startup-id rofi -show run -font "Noto Sans 13"
  148.  
  149. #####################################################################################################################
  150. ################# How to exit, logoff, suspend, ... #################
  151. #####################################################################################################################
  152.  
  153. # exit i3 (logs you out of your X session)
  154. bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
  155.  
  156.  
  157. #Press $mod (super) and X to exit - check toolbar for next choices
  158. bindsym $mod+X mode "$mode_system"
  159. bindsym control+mod1+Delete mode "$mode_system"
  160.  
  161. set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown
  162. mode "$mode_system" {
  163. bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
  164. bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
  165. bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
  166. bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
  167. bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
  168. bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
  169.  
  170. # back to normal: Enter or Escape
  171. bindsym Return mode "default"
  172. bindsym Escape mode "default"
  173. }
  174.  
  175. #####################################################################################################################
  176. ################# Reload changed configuration #################
  177. #####################################################################################################################
  178.  
  179. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  180. bindsym $mod+Shift+r restart
  181.  
  182. # reload the default configuration file
  183. bindsym $mod+Shift+c reload
  184.  
  185. #####################################################################################################################
  186. ################# Stopping an application #################
  187. #####################################################################################################################
  188.  
  189. # kill focused window
  190. bindsym $mod+Shift+q kill
  191. bindsym $mod+q kill
  192.  
  193. #####################################################################################################################
  194. ################# Moving around in i3 #################
  195. #####################################################################################################################
  196.  
  197. # Use Mouse+$mod to drag floating windows to their wanted position
  198. floating_modifier $mod
  199.  
  200. # toggle tiling / floating
  201. bindsym $mod+Shift+space floating toggle
  202.  
  203. # change focus
  204. bindsym $mod+$left focus left
  205. bindsym $mod+$down focus down
  206. bindsym $mod+$up focus up
  207. bindsym $mod+$right focus right
  208.  
  209. # alternatively, you can use the cursor keys:
  210. bindsym $mod+Left focus left
  211. bindsym $mod+Down focus down
  212. bindsym $mod+Up focus up
  213. bindsym $mod+Right focus right
  214.  
  215. # move focused window
  216. bindsym $mod+Shift+$left move left
  217. bindsym $mod+Shift+$down move down
  218. bindsym $mod+Shift+$up move up
  219. bindsym $mod+Shift+$right move right
  220.  
  221. # alternatively, you can use the cursor keys:
  222. bindsym $mod+Shift+Left move left
  223. bindsym $mod+Shift+Down move down
  224. bindsym $mod+Shift+Up move up
  225. bindsym $mod+Shift+Right move right
  226.  
  227. #####################################################################################################################
  228. ################# Moving around workspaces #################
  229. #####################################################################################################################
  230.  
  231. # next/previous workspace
  232.  
  233. bindsym Mod1+Tab workspace next
  234. bindsym Mod1+Shift+Tab workspace prev
  235. bindsym $mod+Tab workspace back_and_forth
  236.  
  237. #navigate workspaces next / previous
  238. bindsym Mod1+Ctrl+Right workspace next
  239. bindsym Mod1+Ctrl+Left workspace prev
  240.  
  241. # switch to workspace with urgent window automatically
  242. for_window [urgent=latest] focus
  243.  
  244. #####################################################################################################################
  245. ################# Tiling parameters #################
  246. #####################################################################################################################
  247.  
  248. # orientation for new workspaces
  249. default_orientation horizontal
  250.  
  251. # split in horizontal orientation
  252. bindsym $mod+h split h
  253.  
  254. # split in vertical orientation
  255. bindsym $mod+v split v
  256.  
  257. # enter fullscreen mode for the focused container
  258. # Super + F in arcolinux is execute thunar
  259. bindsym $mod+f fullscreen toggle
  260.  
  261. # change container layout (stacked, tabbed, toggle split)
  262. # qwerty/azerty issue for letter z
  263. bindsym $mod+s layout stacking
  264. bindsym $mod+z layout tabbed
  265. bindsym $mod+e layout toggle split
  266.  
  267. # change focus between tiling / floating windows
  268. bindsym $mod+space focus mode_toggle
  269.  
  270. # focus the parent container
  271. bindsym $mod+a focus parent
  272.  
  273. # focus the child container
  274. #bindsym $mod+d focus child
  275.  
  276. #####################################################################################################################
  277. ################# Resize windows #################
  278. #####################################################################################################################
  279.  
  280. # resize window (you can also use the mouse for that)
  281.  
  282. bindsym $mod+r mode "resize"
  283.  
  284. mode "resize" {
  285. # These bindings trigger as soon as you enter the resize mode
  286.  
  287. # Pressing left will shrink the window’s width.
  288. # Pressing right will grow the window’s width.
  289. # Pressing up will shrink the window’s height.
  290. # Pressing down will grow the window’s height.
  291. bindsym $left resize shrink width 10 px or 10 ppt
  292. bindsym $down resize grow height 10 px or 10 ppt
  293. bindsym $up resize shrink height 10 px or 10 ppt
  294. bindsym $right resize grow width 10 px or 10 ppt
  295.  
  296. # same bindings, but for the arrow keys
  297. bindsym Left resize shrink width 10 px or 10 ppt
  298. bindsym Down resize grow height 10 px or 10 ppt
  299. bindsym Up resize shrink height 10 px or 10 ppt
  300. bindsym Right resize grow width 10 px or 10 ppt
  301.  
  302. # back to normal: Enter or Escape
  303. bindsym Return mode "default"
  304. bindsym Escape mode "default"
  305. }
  306.  
  307. #####################################################################################################################
  308. ################# Choose the font #################
  309. #####################################################################################################################
  310.  
  311. # Font for window titles. Will also be used by the bar unless a different font
  312. # is used in the bar {} block below.
  313. # choose your font
  314. #font pango:Noto Mono Regular 13
  315. font pango:Federation 10
  316.  
  317. #####################################################################################################################
  318. ################# Assign applications to workspaces #################
  319. #####################################################################################################################
  320.  
  321. # Assign application to start on a specific workspace
  322. # you can find the class with the program xprop in Terminal. Mouse over to the App and click.
  323.  
  324. # Workspace 1 browser related
  325. #assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 1
  326. #assign [class="Chromium|Google-chrome"] → 1
  327.  
  328. # Workspace 2 text editor related
  329. #assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2
  330. #assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2
  331.  
  332. # Workspace 3 Inkscape
  333. #assign [class="Inkscape"] → 3
  334.  
  335. # Workspace 4 Gimp
  336. #assign [class="Gimp"] → 4
  337.  
  338. # Workspace 5 Images and meld
  339. #assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5
  340. #assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5
  341. #assign [class="Meld"] → 5
  342.  
  343. # Workspace 6 all video related software
  344. #assign [class="Vlc|vlc"] → 6
  345.  
  346. # Workspace 7 virtual machines and settings
  347. #assign [class="Vmplayer|VirtualBox"] → 7
  348.  
  349. # Workspace 8 file managers
  350. #assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8
  351.  
  352. # Workspace 9 email clients
  353. #assign [class="Geary|Evolution"] → 9
  354.  
  355. # Workspace 10 music related
  356. #assign [class="Spotify|spotify"] → 10
  357. #fix for spotify not moving to workspace 10
  358. #for_window [class="Spotify"] move to workspace 10
  359.  
  360. #####################################################################################################################
  361. ################# Execute applications at boot time #################
  362. #####################################################################################################################
  363.  
  364. # USER APPLICATIONS TO START AT BOOT
  365.  
  366. #browser
  367. #exec --no-startup-id vivaldi-stable
  368. #for_window [class="Vivaldi-stable"] focus
  369.  
  370. #text-editor
  371. #exec --no-startup-id geany
  372. #exec --no-startup-id atom
  373.  
  374. #file manager
  375. #exec --no-startup-id thunar
  376.  
  377. #Mail clients
  378. #exec --no-startup-id evolution
  379.  
  380. #Music
  381. #exec --no-startup-id spotify
  382. #for_window [class="Spotify"] focus
  383.  
  384. ####################################################################################################################
  385. ################ TRAY APPLICATIONS ################
  386. ####################################################################################################################
  387.  
  388. # applications that are not installed will not start
  389. # you may see a wheel - hashtag out things you do not want
  390.  
  391. #Authentication dialog
  392. exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
  393.  
  394. # Updater
  395. exec --no-startup-id pamac-tray
  396.  
  397. # bluetooth
  398. #exec --no-startup-id blueberry-tray
  399.  
  400. # network
  401. exec --no-startup-id nm-applet
  402.  
  403. # num lock activated
  404. exec_always --no-startup-id numlockx on
  405.  
  406. # dropbox
  407. #exec --no-startup-id dropbox start
  408.  
  409. # insync
  410. #exec --no-startup-id insync start
  411.  
  412. # volume
  413. #exec --no-startup-id pasystray
  414. exec --no-startup-id volumeicon
  415.  
  416. #variety
  417. exec --no-startup-id variety
  418.  
  419. # clipman
  420. #exec --no-startup-id xfce4-clipman
  421.  
  422. #Conky
  423. #exec --no-startup-id conky -c ~/.config/i3/system-overview
  424.  
  425. #Polybar
  426. #exec_always --no-startup-id ~/.config/polybar/launch.sh &
  427.  
  428. #####################################################################################################################
  429. ################# System applications #################
  430. #####################################################################################################################
  431.  
  432. exec --no-startup-id xfce4-power-manager &
  433. # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
  434. # IF xfsettingsd is activated you can not change themes
  435. #exec --no-startup-id xfsettingsd &
  436. exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
  437.  
  438. #####################################################################################################################
  439. ################# Applications keyboard shortcuts #################
  440. #####################################################################################################################
  441.  
  442. #not workspace related
  443.  
  444. #conky
  445. bindsym $mod+c exec --no-startup-id conky-toggle
  446.  
  447. # terminal
  448. bindsym $mod+Return exec --no-startup-id termite;focus
  449. bindsym $mod+KP_Enter exec --no-startup-id termite;focus
  450. bindsym control+mod1+t exec --no-startup-id termite; focus
  451. bindsym control+mod1+Return exec --no-startup-id termite; focus
  452. bindsym control+mod1+KP_Enter exec --no-startup-id termite; focus
  453.  
  454. #System monitor
  455. bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
  456.  
  457. #settings
  458. bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
  459.  
  460. #catfish
  461. bindsym control+mod1+c exec --no-startup-id catfish;focus
  462.  
  463. #slimlock
  464. #arcolinux conflict
  465. #bindsym $mod+k exec slimlock
  466. #use super + X to get to slimlock
  467.  
  468. #rofi theme selector
  469. bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
  470.  
  471. #arcolinux conflict
  472. #bindsym $mod+m exec --no-startup-id pragha;focus
  473.  
  474. #htop
  475. #arcolinux conflict
  476. #bindsym $mod+h exec --no-startup-id htop;focus
  477.  
  478. #pavucontrol
  479. #arcolinux conflict
  480. bindsym control+mod1+u exec --no-startup-id pavucontrol
  481.  
  482. # start xfce-appfinder
  483. #arcolinux does not seem to work
  484. bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
  485.  
  486. #pamac-manager
  487. bindsym control+mod1+p exec --no-startup-id pamac-manager
  488.  
  489. #xkill
  490. bindsym --release $mod+Escape exec xkill
  491.  
  492. #workspace related
  493.  
  494. #workspace 1 related
  495. bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus
  496. #qwerty/azerty conflict with w
  497. bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus
  498. bindsym control+mod1+f exec --no-startup-id firefox;focus
  499. bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus
  500. bindsym control+mod1+g exec --no-startup-id chromium;focus
  501.  
  502. #workspace 2 related
  503. #bindsym $mod+F2 exec --no-startup-id geany;focus
  504. bindsym $mod+F2 exec --no-startup-id atom;focus
  505. bindsym control+mod1+w exec --no-startup-id geany;focus
  506.  
  507. #workspace 3 related
  508. bindsym $mod+F3 exec --no-startup-id inkscape;focus
  509.  
  510. #workspace 4 related
  511. bindsym $mod+F4 exec --no-startup-id gimp;focus
  512.  
  513. #workspace 5 related
  514. bindsym $mod+F5 exec --no-startup-id meld;focus
  515. bindsym control+mod1+i exec --no-startup-id nitrogen;focus
  516.  
  517. #workspace 6 related
  518. bindsym $mod+F6 exec --no-startup-id vlc;focus
  519.  
  520. #workspace 7 related
  521. bindsym $mod+F7 exec --no-startup-id virtualbox;focus
  522.  
  523. #workspace 8 related
  524. for_window [class="Thunar"] focus
  525. bindsym $mod+F8 exec --no-startup-id thunar;focus
  526. bindsym $mod+Shift+Return exec --no-startup-id thunar;focus
  527. bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus
  528. bindsym control+mod1+b exec --no-startup-id thunar;focus
  529.  
  530. #workspace 9 related
  531. bindsym $mod+F9 exec --no-startup-id evolution;focus
  532. bindsym control+mod1+e exec --no-startup-id evolution;focus
  533. #bindsym $mod+F9 exec --no-startup-id geary;focus
  534. #bindsym control+mod1+e exec --no-startup-id geary;focus
  535.  
  536. #workspace 10 related
  537. bindsym $mod+F10 exec --no-startup-id spotify;focus
  538. bindsym control+mod1+s exec --no-startup-id spotify;focus
  539.  
  540. #####################################################################################################################
  541. ################# Screenshots #################
  542. #####################################################################################################################
  543.  
  544. bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  545. bindsym Control+Print exec --no-startup-id xfce4-screenshooter
  546. bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i
  547. #bindsym shift+Print exec --no-startup-id shutter
  548.  
  549. #####################################################################################################################
  550. ################# Floating or tiled #################
  551. #####################################################################################################################
  552.  
  553. #floating enabled from some programs - find with xprop
  554.  
  555. for_window [class="Bleachbit"] floating disable
  556. for_window [class="Blueberry.py"] floating enable
  557. for_window [class="Brasero"] floating disable
  558. for_window [class="Galculator"] floating enable
  559. for_window [class="Gnome-disks"] floating disable
  560. for_window [class="^Gnome-font-viewer$"] floating enable
  561. for_window [class="^Gpick$"] floating enable
  562. for_window [class="Hexchat"] floating disable
  563. for_window [class="Imagewriter"] floating enable
  564. for_window [class="Font-manager"] floating enable
  565. #for_window [class="qt5ct|Lxappearance] floating enable
  566. for_window [class="Nitrogen"] floating disable
  567. for_window [class="Pavucontrol"] floating disable
  568. for_window [class="Peek"] floating enable
  569. for_window [class="^Skype$"] floating enable
  570. for_window [class="^Spotify$"] floating disable
  571. for_window [class="System-config-printer.py"] floating enable
  572. for_window [class="Unetbootin.elf"] floating enable
  573. for_window [class="Usb-creator-gtk"] floating enable
  574. for_window [class="^Vlc$"] floating disable
  575. for_window [class="Wine"] floating disable
  576. for_window [class="Xfburn"] floating disable
  577. for_window [class="Xfce4-appfinder"] floating enable
  578. for_window [class="Xfce4-settings-manager"] floating disable
  579. for_window [class="Xfce4-taskmanager"] floating enable
  580.  
  581. #for_window [instance="gimp"] floating disable
  582. for_window [instance="script-fu"] border normal
  583. for_window [instance="variety"] floating disable
  584.  
  585.  
  586. for_window [title="Copying"] floating enable
  587. for_window [title="Deleting"] floating enable
  588. for_window [title="Moving"] floating enable
  589. for_window [title="^Terminator Preferences$"] floating enable
  590.  
  591. #for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
  592. for_window [window_role="pop-up"] floating enable
  593. for_window [window_role="^Preferences$"] floating enable
  594. for_window [window_role="setup"] floating enable
  595.  
  596. #####################################################################################################################
  597. ################# Give focus to applications #################
  598. #####################################################################################################################
  599.  
  600. for_window [class="Gnome-terminal"] focus
  601. for_window [class="Termite"] focus
  602. for_window [class="Terminator"] focus
  603.  
  604. #####################################################################################################################
  605. ################# Variety for your wallpapers #################
  606. #####################################################################################################################
  607.  
  608. #Variety keybindings mod1 = ALT
  609. # trash wallpaper
  610. bindsym mod1+t exec --no-startup-id variety -t
  611. # next wallpaper
  612. bindsym mod1+n exec --no-startup-id variety -n
  613. bindsym mod1+Right exec --no-startup-id variety -n
  614. # previous wallpaper
  615. bindsym mod1+p exec --no-startup-id variety -p
  616. bindsym mod1+Left exec --no-startup-id variety -p
  617. # favorite wallpaper
  618. bindsym mod1+f exec --no-startup-id variety -f
  619. # pause wallpaper
  620. bindsym mod1+Up exec --no-startup-id variety --pause
  621. # resume wallpaper
  622. bindsym mod1+Down exec --no-startup-id variety --resume
  623.  
  624. #####################################################################################################################
  625. ################# Variety with pywal for your wallpapers #################
  626. #####################################################################################################################
  627.  
  628. # next wallpaper
  629. bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  630. # previous wallpaper
  631. bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  632. # trash wallpaper
  633. bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  634. # Update Wallpaper
  635. bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
  636.  
  637. #####################################################################################################################
  638. ################# Audio settings #################
  639. #####################################################################################################################
  640.  
  641. bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
  642. bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
  643. bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
  644. #https://github.com/acrisci/playerctl/
  645. bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
  646. bindsym XF86AudioNext exec --no-startup-id playerctl next
  647. bindsym XF86AudioPrev exec --no-startup-id playerctl previous
  648. bindsym XF86AudioStop exec --no-startup-id playerctl stop
  649. #bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
  650. #bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
  651. #bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
  652. #bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop"
  653.  
  654. #####################################################################################################################
  655. ################# Xbacklight #################
  656. #####################################################################################################################
  657.  
  658. bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness
  659. bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness
  660.  
  661. #####################################################################################################################
  662. ################# Bar toggle #################
  663. #####################################################################################################################
  664.  
  665. # bar toggle, hide or show
  666. bindsym $mod+b bar mode toggle
  667.  
  668. #####################################################################################################################
  669. ################# Border control #################
  670. #####################################################################################################################
  671.  
  672. # Border control
  673. hide_edge_borders both
  674. bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
  675.  
  676. #changing border style
  677. #super+t in arcolinux is starting terminal
  678. bindsym $mod+t border normal
  679. bindsym $mod+y border 1pixel
  680. bindsym $mod+u border none
  681.  
  682. #new_window pixel 1
  683. new_window normal
  684. #new_window none
  685.  
  686. #new_float pixel 1
  687. new_float normal
  688. #new_float none
  689.  
  690. #####################################################################################################################
  691. ################# Popups control #################
  692. #####################################################################################################################
  693.  
  694. #Popups during fullscreen mode
  695. popup_during_fullscreen smart
  696.  
  697. #####################################################################################################################
  698. ################# i3 gaps next #################
  699. #####################################################################################################################
  700.  
  701. # Settings for I3 next gap git
  702. # https://github.com/Airblader/i3/tree/gaps-next
  703. # delete or uncomment the following lines if you do not have it or do not want it
  704.  
  705. for_window [class="^.*"] border pixel 0
  706. gaps inner 0
  707. gaps outer 0
  708. #smart_gaps on
  709. #smart_borders on
  710.  
  711. #####################################################################################################################
  712. ################# i3 gaps change #################
  713. #####################################################################################################################
  714.  
  715. set $mode_gaps Gaps: (o) outer, (i) inner
  716. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  717. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  718. bindsym $mod+Shift+g mode "$mode_gaps"
  719.  
  720. mode "$mode_gaps" {
  721. bindsym o mode "$mode_gaps_outer"
  722. bindsym i mode "$mode_gaps_inner"
  723. bindsym Return mode "default"
  724. bindsym Escape mode "default"
  725. }
  726.  
  727. mode "$mode_gaps_inner" {
  728. bindsym plus gaps inner current plus 1
  729. bindsym minus gaps inner current minus 1
  730. bindsym 0 gaps inner current set 0
  731.  
  732. bindsym Shift+plus gaps inner all plus 1
  733. bindsym Shift+minus gaps inner all minus 1
  734. bindsym Shift+0 gaps inner all set 0
  735.  
  736. bindsym Return mode "default"
  737. bindsym Escape mode "default"
  738. }
  739. mode "$mode_gaps_outer" {
  740. bindsym plus gaps outer current plus 1
  741. bindsym minus gaps outer current minus 1
  742. bindsym 0 gaps outer current set 0
  743.  
  744. bindsym Shift+plus gaps outer all plus 1
  745. bindsym Shift+minus gaps outer all minus 1
  746. bindsym Shift+0 gaps outer all set 0
  747.  
  748. bindsym Return mode "default"
  749. bindsym Escape mode "default"
  750. }
  751.  
  752. #####################################################################################################################
  753. ################# Compton of i3wm #################
  754. #####################################################################################################################
  755.  
  756. #if you want transparency on non-focused windows, ...
  757. exec_always --no-startup-id compton --config ~/.config/i3/compton.conf
  758.  
  759. #####################################################################################################################
  760. ################# Bar appearance #################
  761. #####################################################################################################################
  762.  
  763. bar {
  764.  
  765. height 25
  766. workspace_buttons yes
  767. font pango:Federation 11
  768.  
  769. position top
  770. #position bottom
  771.  
  772. #system icons
  773. #tray_output none
  774. #tray_output $firstMonitor
  775. #tray_output $secondMonitor
  776.  
  777. # OPTION 1 : i3status
  778.  
  779. # type status_command i3status without the config file and
  780. # you will get the standard i3status bar
  781. # Second one is the standard statusbar with my personal settings
  782.  
  783. #status_command i3status
  784. #status_command i3status -c ~/.config/i3/i3status.conf
  785.  
  786. # OPTION 2 : i3blocks
  787.  
  788. # https://github.com/vivien/i3blocks
  789. # another way to provide text in the statusbar
  790. # put hastag in front if not installed
  791.  
  792. #status_command i3blocks
  793. status_command i3blocks -c ~/.config/i3/i3blocks.conf
  794. #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
  795. #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
  796. #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
  797.  
  798. # OPTION 3 : conky
  799.  
  800. # You can also replace the istatus bar with a conky
  801. # start-conky-i3statusbar.sh is started and conky will follow
  802. # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
  803. # conky configuration is in conky-i3statusbar
  804.  
  805. #status_command ~/.config/i3/start-conky-i3statusbar.sh
  806.  
  807. # OPTION 4 : polybar
  808.  
  809. # polybar is launched elsewhere - search for the word
  810. # from the opening of the "bar {...}" till the end has to go or hashtagged out
  811. # in order for the system trayicons to show up in polybar
  812.  
  813. #<><><><><> Color Scheme <><><><><>#
  814.  
  815. # bg in between green sl gold sep rich green
  816. # fws b deep purple b gold t deep purple
  817. # aws b purple b nearly balck green t middle taupe grey
  818. # iws b gold b in beween green t middle taupe grey
  819. # uws b middle taupe grey b deep purple t gold
  820. colors {
  821. background #033317
  822. statusline #f4cd52
  823. separator #089635
  824. # border backgr. text
  825.  
  826. focused_workspace #261496 #f4cd52 #261496
  827. active_workspace #8446d4 #02180b #a9a9a9
  828. inactive_workspace #f4cd52 #033317 #a9a9a9
  829. urgent_workspace #a9a9a9 #261496 #f4cd52
  830. }
  831.  
  832. }
  833.  
  834. # Deep green background with gold text - not focus nearly black green background with taupe text
  835. # Windows decoration colors
  836. # class border backgr. text indicator
  837. client.placeholder #242424 #02180b #242424
  838. client.background #242424 #033317 #242424
  839. client.focused #4A4A4A #033317 #f4cd52 #4A4A4A
  840. client.unfocused #222222 #02180b #aaaaaa #222222
  841. client.focused_inactive #222222 #02180b #f4cd52 #222222
  842. client.urgent #d42121 #d42121 #f7f7f7 #d42121
  843.  
  844. #>>>>>>>>>> Colour picker with general description <<<<<<<<<<<<<<<<<<<<<<<#
  845.  
  846.  
  847. # #222222 dark grey
  848. # #ffffff nearly white grey
  849. # #a9a9a9 middle taupe grey
  850. # #c2c2b8 #Taupe
  851. # #760b0b #Dark Brown
  852. # #f4cd52 #Gold
  853. # #8446d4 #Purple
  854. # #089635 #Rich Green
  855. # #104022 #Richer Green
  856. # #261496 #Deep Purple
  857. # #a16b1c #Muddy Gold
  858. # #054d23 #Darker green
  859. # #033317 #In between
  860. # #02180b #Nearly black green
  861.  
  862. # Transparency values:
  863. #100% — FF
  864. #95% — F2
  865. #90% — E6
  866. #85% — D9
  867. #80% — CC
  868. #75% — BF
  869. #70% — B3
  870. #65% — A6
  871. #60% — 99
  872. #55% — 8C
  873. #50% — 80
  874. #45% — 73
  875. #40% — 66
  876. #35% — 59
  877. #30% — 4D
  878. #25% — 40
  879. #20% — 33
  880. #15% — 26
  881. #10% — 1A
  882. #5% — 0D
  883. #0% — 00
  884.  
  885. #################################################################
  886. ################### BAR APPEARANCE ARCHIVE ######################
  887. #################################################################
  888.  
  889. # Orange background with black text - not focus grey background - white text
  890. # Windows decoration colors
  891. # class border backgr. text indicator
  892. # client.background color #222222
  893. # client.focused #FFAF00 #FFAF00 #333333 #00AA00
  894. # client.unfocused #222222 #222222 #aaaaaa #2e9ef4
  895. # client.focused_inactive #333333 #5f676a #ffffff #484e50
  896. # client.urgent #2f343a #900000 #ffffff #900000
  897.  
  898.  
  899. # DarkGrey background with white text - not focus grey background - black text
  900. # Windows decoration colors
  901. # https://i3wm.org/docs/userguide.html#_changing_colors
  902. # client.background color
  903. # class border backgr. text indicator
  904. # client.focused #4c7899 #285577 #ffffff #2e9ef4
  905. # client.focused_inactive #333333 #5f676a #ffffff #484e50
  906. # client.unfocused #333333 #222222 #888888 #292d2e
  907. # client.urgent #2f343a #900000 #ffffff #900000
  908. # client.placeholder #000000 #0c0c0c #ffffff #000000
  909.  
  910. # colors {
  911. # background #222222
  912. # statusline #eeeeee
  913. # separator #666666
  914. # border backgr. text
  915. # focused_workspace #4c7899 #285577 #ffffff
  916. # active_workspace #333333 #5f676a #ffffff
  917. # inactive_workspace #333333 #222222 #888888
  918. # urgent_workspace #2f343a #900000 #ffffff
  919. # }
  920.  
  921. # Alternatives
  922. # BLue and grey Colors
  923. # https://github.com/Gravemind/ArchLinux/blob/master/.i3/config
  924. # class border backgr. text indicator
  925. # client.focused #000000 #285577 #dddddd #0099ff
  926. # client.focused_inactive #000000 #333333 #888888 #484e50
  927. # client.unfocused #000000 #000000 #555555 #292d2e
  928. # client.urgent #2f343a #900000 #ffffff #900000
  929.  
  930. # blue background with white text
  931. # Windows decoration colors
  932. # class border backgr. text indicator
  933. # client.background color #222222
  934. # client.focused #4c7899 #285577 #ffffff #2e9ef4
  935. # client.focused_inactive #333333 #5f676a #ffffff #484e50
  936. # client.unfocused #333333 #222222 #888888 #292d2e
  937. # client.urgent #2f343a #900000 #ffffff #900000
  938.  
  939. # Blue-green background - orange text
  940. # Windows decoration colors
  941. # http://www.fastlinux.eu/_archiv/index.php?page=linux047
  942. # class border backgr. text
  943. # client.focused #2B6473 #2B6473 #FFA000
  944. # client.focused_inactive #004050 #004050 #FFA000
  945. # client.unfocused #004050 #004050 #cccccc
  946. # client.urgent #900000 #900000 #ffffff
  947.  
  948.  
  949. # Red background - black text
  950. # Windows decoration colors
  951. # https://github.com/Blueblur/dotfiles/blob/master/.i3/config
  952. # class border backgr. text indicator
  953. # client.focused #d64937 #d64937 #2D2D2D #2e9ef4
  954. # client.focused_inactive #2d2d2d #2d2d2d #dcdcdc #484e50
  955. # client.unfocused #2D2D2D #2d2d2d #dcdcdc #292d2e
  956. # client.urgent #2D2D2D #2D2D2D #dcdcdc #900000
  957.  
  958. #####################################################################################################################
  959. ################# Scratchpad #################
  960. #####################################################################################################################
  961.  
  962. # move the currently focused window to the scratchpad
  963. bindsym Mod1+Shift+minus move scratchpad
  964.  
  965. # Show the next scratchpad window or hide the focused scratchpad window.
  966. # If there are multiple scratchpad windows, this command cycles through them.
  967. bindsym Mod1+minus scratchpad show
  968.  
  969. #####################################################################################################################
  970. #####################################################################################################################
  971. ######################################## THE END ###########################################
  972. #####################################################################################################################
  973. #####################################################################################################################
  974.  
  975. #####################################################################################################################
  976. ################# Mouse settings in i3 #################
  977. #####################################################################################################################
  978.  
  979. # NOT USED
  980.  
  981. # mouse settings
  982. # The middle button over a titlebar kills the window
  983. # bindsym --release button2 kill
  984.  
  985. # The middle button and a modifer over any part of the window kills the window
  986. # bindsym --whole-window $mod+button2 kill
  987.  
  988. # The right button toggles floating
  989. # bindsym button3 floating toggle
  990. # bindsym $mod+button3 floating toggle
  991.  
  992. # The side buttons move the window around
  993. # bindsym button9 move left
  994. # bindsym button8 move right
  995.  
  996. #####################################################################################################################
  997. ################# Keyboard control #################
  998. #####################################################################################################################
  999.  
  1000. # NOT USED
  1001.  
  1002. # Settings of arcolinux will be applied
  1003. #exec --no-startup-id setxkbmap be
  1004. #exec --no-startup-id setxkbmap us
  1005.  
  1006. #####################################################################################################################
  1007. ################# Unclutter #################
  1008. #####################################################################################################################
  1009.  
  1010. # NOT USED
  1011.  
  1012. # get the mouse out of the way with unclutter
  1013. #exec --no-startup-id unclutter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement