Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Poetician Edition: https://pastebin.com/u/poetician <><><><><><><><><><><><><><>#
- ###<><><><> i3 version 4.18.2-229-g234d6855 (2020-09-02, branch "gaps-next" <><><><>#
- ### © 2009 Michael Stapelberg and contributors) <><><><><><><><><><><><><><><><><><>#
- ###<><><><> Installed from scripts by Erik Dubois <><><><><><><><><><><><><><><><><>#
- ### https://www.youtube.com/watch?v=tN_xfRug-7c <><><><><><><><><><><><><><><><><><>#
- ###<><><><> Documentation https://i3wm.org/docs/userguide.html <><><><><><><><><><><#
- ####################################################################
- ######<><><><> Definitions | Preliminary Settings <><><><><><><>##
- # $Mod = WINDOWS key or Super key or Mod4
- # Mod1 = ALT key
- # Control = CTRL key
- # Shift = SHIFT key
- # Escape = ESCAPE key
- # Return = ENTER or RETURN key
- # Pause = PAUSE key
- # Print = PRINT key
- # Tab = TAB key
- ############ Define the $mod key variable
- set $mod Mod4
- ############ Dual Monitor Setup
- set $firstMonitor HDMI-A-0
- set $secondMonitor DVI-D-0
- workspace 1 output $firstMonitor
- workspace 2 output $firstMonitor
- workspace 3 output $firstMonitor
- workspace 4 output $firstMonitor
- workspace 5 output $firstMonitor
- workspace 6 output $firstMonitor
- workspace 7 output $firstMonitor
- workspace 8 output $firstMonitor
- workspace 9 output $secondMonitor
- workspace 10 output $secondMonitor
- workspace 11 output $secondMonitor
- workspace 12 output $secondMonitor
- workspace 13 output $secondMonitor
- workspace 14 output $secondMonitor
- # Use arandr for the configuration
- exec xrandr --no-startup-id --output HDMI-A-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DVI-D-0 -mode 1920x1080 --pos 1920x0 --rotate normal
- ############ Set wallpaper to load at startup
- exec --no-startup-id variety
- #exec nitrogen --restore
- ############ Font for window titles
- font pango:Federation italic 13
- ############ Title Alignment
- title_align center
- ############ Start terminal
- bindsym $mod+Return exec terminator
- for_window [class="Terminator"] floating enable, resize set 640 600, move position 1240 440
- ############ Kill focused window
- bindsym $mod+q kill
- ############<><><><> Restart, Reload, Exit <><><><><><><><><><><><><><>#
- ############ Restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- ############ Reload the configuration file
- bindsym $mod+Shift+c reload
- ############ Exit i3 (logs you out of your X session)
- # Press $mod+x to exit - options in toolbar
- bindsym $mod+x mode "$mode_system"
- bindsym control+mod1+Delete mode "$mode_system"
- set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown
- mode "$mode_system" {
- bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
- bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
- bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
- bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
- bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
- bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ############<><><><> Systrem Tray Applications #<><><><><><><><><><><>#
- # Authentication Dialogue Agent
- exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
- # Audio
- exec no-startup-id pasystray
- ############<><><><> Screenshots #<><><><><><><><><><><><><><><><><><><#
- bindsym Print exec --no-startup-id scrot ' -%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir Pictures)'
- bindsym Control+Print exec --no-startup-id xfce4-screenshooter
- ############<><><><> bar toggle, hide or show #<><><><><><><><><><><><>#
- bindsym $mod+b bar mode toggle
- ############<><><><> Scratchpad #<><><><><><><><><><><><><><><><><><><>#
- bindsym Mod1+Shift+slash move scratchpad
- bindsym Mod1+slash scratchpad show
- for_window [class="Stopwatch|Terminator"] move scratchpad
- bindsym Mod1+period [class="Stopwatch"] scratchpad show
- bindsym Mod1+comma [class="Terminator"] scratchpad show
- ############<><><><> Screen Locking #<><><><><><><><><><><><><><><><><>#
- ############ Display the selected image to load with the lock screen, replacing the white screen
- bindsym $mod+shift+g exec i3lock -i ~/Images/Arco Standard/arco-login.png
- ############<><><><> Application Launchers <><><><><><><><><><><><><><>#
- ############ Rofi (Prefered Mode)
- bindsym $mod+g exec rofi -show drun -show-icons -lines 7 -columns 3 -font "Federation 11" -width 85
- ############ Rofi (Window Mode)
- bindsym $mod+F11 exec --no-startup-id rofi -show window -show-icons -font "Federation 11"
- ############ Rofi (Combi Mode)
- bindsym $mod+F12 exec --no-startup-id rofi -show combi -lines 24 -show-icons -font "Federation 11"
- ########################################################################
- ############<><><><> Startbar <><><><><><><><><><><><><><><><><><><><>##
- bar {
- #height 24
- position top
- #position bottom
- i3bar_command i3bar -t
- workspace_buttons yes
- font pango: Federation 11
- #system icons
- tray_output HDMI-A-0
- # OPTION 1 : i3status
- # type status_command i3status without the config file and
- # you will get the standard i3status bar
- # Second one is the standard statusbar with my personal settings
- #status_command i3status
- #status_command i3status -c ~/.config/i3/i3status.conf
- # OPTION 2 : i3blocks
- # https://github.com/vivien/i3blocks
- # another way to provide text in the statusbar
- # put hastag in front if not installed
- #status_command i3blocks
- #status_command i3blocks -c ~/.config/i3/i3blocks.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
- # OPTION 3 : conky
- # You can also replace the istatus bar with a conky
- # start-conky-i3statusbar.sh is started and conky will follow
- # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
- # conky configuration is in conky-i3statusbar
- status_command ~/.config/i3/start-conky-i3statusbar.sh
- # OPTION 4 : polybar
- # polybar is launched elsewhere - search for the word
- # from the opening of the "bar {...}" till the end has to go or hashtagged out
- # in order for the system trayicons to show up in polybar
- colors {
- background #6c71c480
- statusline #f4cd52
- separator #e69722
- # border backgr. text
- focused_workspace #6c71c4 #6c71c440 #ffaf00
- active_workspace #6c71c4 #6c71c480 #ffaf00
- inactive_workspace #28194840 #6c71c480 #f4cd52
- urgent_workspace #281948 #11093e80 #a16b1c
- }
- }
- # class border backgr. text indicator child-border
- client.placeholder #1a000000 #FF000000 #281948 #00000000 #281948
- client.background #00000080
- client.unfocused #1a000000 #FF000000 #FFD700 #00000000 #281948
- client.focused #1a000000 #FF000000 #B87333 #00000000 #6c71c4
- client.focused_inactive #1a000000 #FF000000 #4f433f #00000000 #ffbf00
- client.urgent #11093e #00000040 #a16b1c #00000000 #8446d4
- ###### Colour Picker
- # #4f433f Tudor Brown #704214 Sepia #d1bea8 Dark Vanilla #FAEBD7 Antique White
- # #c0c0c0 Silver #899a99 Pewter #b2beb5 Ash Grey
- # #7C0A02 Barn Red #cb410b Sinopia #ffa500 Orange #ffbf00 Amber
- # #cd7f32 Bronze #B87333 Copper #FFD700 Gold # #ffc87c Topaz
- # #568203 Avocado #2e5e5b Pine #1f3d0c Deep Forest
- # #556b2f Dark Olive #013220 Dark Green #006600 Pakistan
- # #ee82ee Violet #673147 Old Mauve #560319 Dark Scarlet
- # #000f89 Phthalo Blue#4c2882 Spanish Violet#6a5acd Slate Blue #4b0082 Indigo
- # #089635 #104022 #033317 #a16b1c #e69722 #f4cd52 #8446d4 #b6b9e1
- ####################################################################
- #########<><><><> Workspace Settings <><><><><><><><><><><><><><><>#
- ###############<><><><> Workspace related keybinding settings <><>##
- set $ws1 "1"
- assign [class="Firefox"] "1"
- exec firefox
- bindsym $mod+F1 exec --no-startup-id firefox
- set $ws2 "2"
- assign [class="atom|Nemo"] "2"
- exec nemo
- bindsym $mod+F2 exec --no-startup-id atom;focus
- bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
- set $ws3 "3"
- assign [class="Cherrytree|Xfce4-dict"] "3"
- for_window [class="Cherrytree"] floating enable, resize set 900 1020, move position 20 40
- exec cherrytree
- bindsym $mod+F3 exec cherrytree
- for_window [class="Xfce4-dict"] resize set 600 1020, move position 1140 40
- set $ws4 "4"
- assign [class="libreoffice"] "4"
- exec libreoffice
- bindsym $mod+F4 exec --no-startup-id libreoffice;focus
- set $ws5 "5"
- assign [class="kdenlive"] "5"
- exec kdenlive
- bindsym $mod+F5 exec --no-startup-id kdenlive
- set $ws6 "6"
- assign [class="Gimp"] "6"
- exec gimp
- bindsym $mod+F6 exec --no-startup-id gimp;focus
- set $ws7 "7"
- assign [class="Google Earth Pro"] "7"
- bindsym $mod+Shift+e exec --no-startup-id google earth-bin
- exec googleearth-bin;focus
- set $ws8 "8"
- set $ws9 "9"
- assign [class="Meld"] "9"
- exec meld
- bindsym $mod+F9 exec --no-startup-id meld;focus
- bindsym control+mod1+i exec --no-startup-id nitrogen;focus
- set $ws10 "10"
- assign [class="VirtualBox|VirtualBox Manager|VirtualBox Machine"] $ws10
- for_window [class="VirtualBox Manager"] floating enable, move position 2360 40, resize set 1040 1030
- for_window [class="VirtualBox Machine"] floating disable
- exec --no-startup-id virtualbox manager
- bindsym Mod1+0 [class="VirtualBox Manager"] scratchpad show
- bindsym $mod+F10 exec virtualbox manager; focus
- set $ws11 "11"
- assign [class="Shutter"] "11"
- set $ws12 "12"
- assign [class="Mate-control-center"] "12"
- bindsym $mod+Shift+m exec mate-control-center
- set $ws13 "13"
- set $ws14 "14"
- assign [class="vlc|Xscreensaver-demo"] "14"
- for_window [class="vlc"] floating enable, resize set 1800 160, move position 60 880
- bindsym $mod+Mod1+v exec --nostartup-id vlc
- exec vlc
- for_window [class="Xscreensaver-demo"] floating enable, move position 440 80
- ############ App loading at startup ###
- exec_always --no-startup-id xscreensaver
- exec --no-startup-id xscreensaver-demo
- exec_always compton -b -c -f
- exec parcellite
- exec redshift
- exec workrave
- ####################################################################
- ###############<><><><><> Workspace Relate Settings <><><><><><><>##
- ###############<><><><> Floating or tiled <><><><><><><><><><><><>##
- #floating enabled from some programs - find with xprop
- for_window [class="Alacritty"] floating enable
- for_window [class="Font-manager"] floating enable
- for_window [class="Gnome-calculator"] floating enable
- for_window [class="Gnome-disks"] floating enable
- for_window [class="Gucharmap"] floating enable
- for_window [class="Imagewriter"] floating enable
- for_window [class="Mate-control-center"] floating enable
- for_window [class="Mintinstall.py"] floating enable, move position center
- for_window [class="MintUpdate.py"] floating enable, move position center
- for_window [class="Nitrogen"] floating enable
- for_window [class="Pavucontrol"] floating enable
- for_window [class="qt5ct|Lxappearance"] floating enable
- for_window [class="Stopwatch"] floating enable
- for_window [class="Synaptic"] floating enable, resize set 840 800, move position center
- for_window [class="Tilda"] floating enable
- for_window [class="Xfce4-appfinder"] floating enable
- for_window [class="Xfce4-dict"] floating enable
- for_window [class="Xfce4-settings-manager"] floating enable
- for_window [class="Xfce4-taskmanager"] floating enable
- #for_window [instance="gimp"] floating disable
- for_window [instance="script-fu"] border normal
- for_window [instance="variety"] floating enable
- for_window [title="Copying"] floating enable
- for_window [title="Deleting"] floating enable
- for_window [title="Moving"] floating enable
- for_window [title="^Terminator Preferences$"] floating enable
- #for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
- for_window [window_role="pop-up"] floating enable
- for_window [window_role="^Preferences$"] floating enable
- for_window [window_role="setup"] floating enable
- ###############<><><><> Workspace Operations <><><><><><><><><><>###
- ############ Define workspace variables
- bindsym $mod+1 workspace $ws1
- bindsym $mod+2 workspace $ws2
- bindsym $mod+3 workspace $ws3
- bindsym $mod+4 workspace $ws4
- bindsym $mod+5 workspace $ws5
- bindsym $mod+6 workspace $ws6
- bindsym $mod+7 workspace $ws7
- bindsym $mod+8 workspace $ws8
- bindsym $mod+9 workspace $ws9
- bindsym $mod+0 workspace $ws10
- bindsym $mod+minus workspace $ws11
- bindsym $mod+plus workspace $ws12
- bindsym $mod+bracketleft workspace $ws13
- bindsym $mod+bracketright workspace $ws14
- ############ Move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $ws1
- bindsym $mod+Shift+2 move container to workspace $ws2
- bindsym $mod+Shift+3 move container to workspace $ws3
- bindsym $mod+Shift+4 move container to workspace $ws4
- bindsym $mod+Shift+5 move container to workspace $ws5
- bindsym $mod+Shift+6 move container to workspace $ws6
- bindsym $mod+Shift+7 move container to workspace $ws7
- bindsym $mod+Shift+8 move container to workspace $ws8
- bindsym $mod+Shift+9 move container to workspace $ws9
- bindsym $mod+Shift+0 move container to workspace $ws10
- bindsym $mod+Shift+minus move container to workspace $ws11
- bindsym $mod+Shift+plus move container to workspace $ws12
- bindsym $mod+Shift+bracketleft move container to workspace $ws13
- bindsym $mod+Shift+bracketright move container to workspace $ws14
- ####################################################################
- ###############<><><><> Screen Layout <><><><><><><><><><><><><><>##
- ############ change container layout (stacked, tabbed, toggle split)
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
- ############ toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- ############ change focus between tiling / floating windows
- bindsym $mod+space focus mode_toggle
- ###############<><><><> Screen Splitting <><><><><><><><><><><><><>#
- ############ split in horizontal orientation
- bindsym $mod+h split h
- ############ split in vertical orientation
- bindsym $mod+v split v
- ############ enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen toggle
- ############ Use Mouse+$mod to drag floating windows to their new position
- floating_modifier $mod
- ###############<><><><> Focus <><><><><><><><><><><><><><><><><><>#
- ############ change focus
- bindsym $mod+j focus left
- bindsym $mod+k focus down
- bindsym $mod+l focus up
- bindsym $mod+semicolon focus right
- ############ alternatively, you can use the cursor keys:
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- ############ move focused window
- bindsym $mod+Shift+j move left
- bindsym $mod+Shift+k move down
- bindsym $mod+Shift+l move up
- bindsym $mod+Shift+semicolon move right
- ############ alternatively, you can use the cursor keys:
- bindsym $mod+Shift+Left move left
- bindsym $mod+Shift+Down move down
- bindsym $mod+Shift+Up move up
- bindsym $mod+Shift+Right move right
- ############ focus the parent container
- bindsym $mod+a focus parent
- ############ focus the child container
- #bindsym $mod+d focus child
- ###############<><><><> Keybindings to resize windows <><><><><><><>#
- # Resizing by 1
- bindsym $mod+Ctrl+Right resize grow width 1 px or 1 ppt
- bindsym $mod+Ctrl+Up resize shrink height 1 px or 1 ppt
- bindsym $mod+Ctrl+Down resize grow height 1 px or 1 ppt
- bindsym $mod+Ctrl+Left resize shrink width 1 px or 1 ppt
- # Resizing by 10
- bindsym $mod+Ctrl+comma resize shrink width 10 px or 10 ppt
- bindsym $mod+Ctrl+apostrophe resize grow height 10 px or 10 ppt
- bindsym $mod+Ctrl+slash resize shrink height 10 px or 10 ppt
- bindsym $mod+Ctrl+period resize grow width 10 px or 10 ppt
- ###############<><><><> Resize i3 Gaps <><><><><><><><><><><><><><><>#
- # gaps inner|outer|horizontal|vertical|top|right|bottom|left current|all set|plus|minus|toggle
- bindsym $mod+Shift+f gaps inner all set 0; gaps outer all set 0
- bindsym $mod+Shift+s gaps inner all set 5; gaps outer all set 5
- bindsym $mod+Shift+t gaps inner all set 40; gaps outer all set 0
- bindsym $mod+Shift+a gaps inner all set 0; gaps outer all set 40
- bindsym $mod+Shift+w gaps inner all set 10; gaps outer all set 30
- bindsym control+Shift+minus gaps inner current minus 5
- bindsym control+Shift+o gaps outer current plus 10
- bindsym control+Shift+i gaps inner current plus 10
- bindsym control+Shift+plus gaps outer current minus 5
- bindsym control+Shift+l gaps vertical current plus 10
- bindsym control+Shift+comma gaps vertical current minus 5
- bindsym control+Shift+bracketleft gaps horizontal current minus 5
- bindsym control+Shift+bracketright gaps horizontal current plus 10
- bindsym control+Shift+semicolon gaps right current plus 10
- bindsym control+Shift+apostrophe gaps right current minus 10
- bindsym control+Shift+k gaps left current minus 10
- bindsym control+Shift+j gaps left current plus 10
- bindsym control+Shift+backslash gaps outer current toggle 40
- bindsym control+Shift+y gaps top current minus 20; gaps horizontal current minus 20
- bindsym control+Shift+u gaps top current plus 20; gaps horizontal all plus 20
- # popup_during_fullscreen smart|ignore|leave_fullscreen
- popup_during_fullscreen leave_fullscreen
- ################ i3 Next Gaps <><><><><><><><><><><><><><><><><><><>#
- # Settings for I3 next gaps https://github.com/Airblader/i3/tree/gaps-next
- #for_window [class="^.*"] pixel 4
- gaps inner 4
- gaps outer 4
- smart_gaps on
- smart_borders on
- ####################################################################
- #################<><><><> Border control <><><><><><><><><><><><><>#
- # Border control
- # hide_edge_borders none|vertical|horizontal|both|smart
- hide_edge_borders none
- bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
- #changing border style
- bindsym $mod+t border normal
- bindsym $mod+y border 1pixel
- bindsym $mod+u border none
- new_window pixel 7
- #new_window normal
- #new_window none
- new_float pixel 7
- #new_float normal
- #new_float none
- ####################################################################
- #########<><><><> Tray Icons <><><><><><><><><><><><><><><><><><><>#
- # volume
- exec --no-startup-id pasystray
- exec --no-startup-id volumeicon
- #########################################################################
- #########<><><><><><><><><><><><><><> The End <><><><><><><><><><><><>###
Add Comment
Please, Sign In to add comment