Advertisement
poetician

ArcoLinux i3wm Config WD Black Purple

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