Advertisement
s3pp3ku

Untitled

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