Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###<><><><> Poetician Edition: https://pastebin.com/u/poetician <><><><>###
- ###########################################################################
- ###<><><><> 4.16.1-185-g939ccc6c (2019-09-18, branch "shape")<><><><><><###
- ###<><><><> © 2009 Michael Stapelberg and contributors <><><><><><><><><###
- ###########################################################################
- ###<><><><> 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 12
- ###<><><><> Title Alignment <><><><>###
- title_align center
- ###<><><><> Start terminal <><><><>###
- bindsym $mod+Return exec kitty
- for_window [class="kitty"] 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-login.png
- ###<><><><> Application Launchers <><><><><><><><><><><><><><>#
- set $rofi exec rofi -show-icons -font "Federation 11"
- # Start drun Mode
- bindsym $mod+g exec $rofi -show drun -lines 8 -columns 3 -eh 2 -width 74 -padding 200
- # Start Rofi Combi Mode
- bindsym $mod+control+c exec $rofi -show combi
- # Start Rofi Window Mode
- bindsym $mod+control+w exec $rofi -show window
- # Start Rofi with Rofi-Shortcuts
- bindsym $mod+control+r exec ~/.config/rofi/rofi-shortcuts/rofi-shortcuts.sh
- # Start Rofi Theme Selector
- bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
- ###############################################################
- ###<><><><> Bar and Workspace Appearance <><><><><><><><><><###
- bar {
- workspace_buttons yes
- font pango:Bauhaus 12
- i3bar_command i3bar -t
- tray_output HDMI-A-0
- tray_padding 2
- position top
- # OPTION 1 : Bumblebee-status
- # https://github.com/tobi-wan-kenobi/bumblebee-status
- status_command ~/.config/bumblebee-status/bumblebee-status \
- -m spacer network_traffic spacer disk cpu \
- -m spacer sun redshift \
- -m weather -p weather.location=######## weather.showminmax=true \
- -m spacer uptime spacer datetime -p datetime.format=" %c " \
- -t gruvbox-light
- # OPTION 2 : i3status
- #status_command i3status
- #status_command i3status -c ~/.config/i3/i3status.conf
- # OPTION 3 : i3blocks
- # https://github.com/vivien/i3blocks
- #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 4 : conky
- # https://i3wm.org/docs/user-contributed/conky-i3bar.html
- #status_command ~/.config/i3/start-conky-i3statusbar.sh
- ##START THEMING BAR
- #Theme name : brown-rainbow-long
- # i3 bar colors
- colors {
- background #2317091a
- statusline #2317091a
- separator #d7c68d
- # colorclass border background text
- focused_workspace #231709 #8e7161 #231709
- active_workspace #231709 #652a0e #8e7161
- inactive_workspace #231709 #caaa99 #8e7161
- urgent_workspace #231709 #8e7161 #652a0e
- }
- }
- bar {
- workspace_buttons no
- font pango:Bauhaus 12
- i3bar_command i3bar -t
- output HDMI-A-0
- tray_output none
- position bottom
- status_command ~/.config/bumblebee-status/bumblebee-status \
- -m spacer hostname spacer kernel spacer load spacer memory spacer sensors2 \
- -m spacer battery-upower spacer spacer indicator spacer xrandr spacer todo spacer spacer \
- -t gruvbox-light
- colors {
- background #23170999
- statusline #23170999
- separator #00000000
- }
- }
- ### Usable modules: amixer battery layout nic pacman pasink pasource ping progress sensors system title traffic arch-update "-p arch-update.left-click=" xkcd
- ### Problematic modules: dunst hddtemp playerctl smartstatus
- # Option 5: Polybar
- # Comment out the Bar section and conky, and remove hashtag in the next line to load Polybar; log back in to see the change.
- # exec_always --no-startup-id ~/.config/polybar/launch.sh &
- ##STOP THEMING BAR
- ##START THEMING WM
- # Theme name : brown-rainbow-long
- # Window color settings
- # class border background text indicator
- client.focused #231709 #231709 #d7c68d #8e7161
- client.unfocused #231709 #d7c68d #d7c68d #8e7161
- client.focused_inactive #231709 #caaa99 #d7c68d #8e7161
- client.placeholder #231709 #231709 #d7c68d
- client.urgent #caaa99 #caaa99 #d7c68d #8e7161
- client.background #242424
- ##STOP THEMING WM
- ###############################################################
- ###<><><><><><><><> Workspace Settings <><><><><><><><><><><###
- set $ws1 "1"
- assign [class="Firefox"] "1"
- exec firefox
- bindsym $mod+F1 exec firefox
- set $ws2 "2"
- assign [class="Sublime_text|Nemo"] "2"
- exec nemo
- bindsym $mod+F2 exec sublime_text;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 libreoffice;focus
- set $ws5 "5"
- assign [class="kdenlive"] "5"
- exec kdenlive
- bindsym $mod+F5 exec kdenlive
- set $ws6 "6"
- assign [class="Gimp"] "6"
- exec gimp
- bindsym $mod+F6 exec gimp;focus
- set $ws7 "7"
- assign [class="Google Earth Pro"] "7"
- bindsym $mod+Shift+e exec googleearth-bin
- exec googleearth-bin
- set $ws8 "8"
- assign [class="Oomox|Lxappearance"] "8"
- for_window [class="Oomox"] focus, floating enable, move position 7 39, resize set 1100 1035
- for_window [class="Lxappearance"] focus, floating enable, move position 1113 140, resize set 803 800
- bindsym $mod+l exec lxappearance
- bindsym $mod+o exec oomox-gui
- set $ws9 "9"
- assign [class="Meld"] "9"
- exec meld
- bindsym $mod+F9 exec meld;focus
- bindsym control+mod1+i exec 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 800 200, move position 2480 760
- bindsym $mod+Mod1+v exec vlc
- exec vlc
- for_window [class="Xscreensaver-demo"] floating enable, resize set 1020 480, move position 2330 140
- ###############################################################
- ###<><><><> App loading at startup <><><><><><><><><><><><><###
- exec setxkbmap -option caps:swapescape
- exec_always --no-startup-id xscreensaver
- exec --no-startup-id xscreensaver-demo
- #exec_always --no-startup-id autotiling ~./.config/i3
- exec_always compton -b -c -f
- exec parcellite
- exec killall redshift &&
- exec redshift -l 46.1:-75.6 -g 0.9 -t 5800:4200 -m randr -v &
- exec workrave
- ###############################################################
- ###<><><><> Workspace Related Settings <><><><><><><><><><><###
- ###<><><><> floating enabled <><><><>###
- for_window [class="Font-manager"] floating enable
- for_window [class="Gnome-calculator|Gnome-disks|Gnome-terminal|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 1200 800, move position 350 100
- 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
- ###<><><><> 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 <><><><><><><><><><><><><><><><><>###
- ###<><><><> 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 control+Shift+q gaps left current plus 10
- bindsym control+Shift+w gaps left current minus 10
- bindsym control+Shift+a gaps right current plus 10
- bindsym control+Shift+s gaps right current minus 10
- bindsym control+Shift+e gaps top current plus 10
- bindsym control+Shift+d gaps bottom current plus 10
- bindsym control+Shift+r gaps top current minus 10
- bindsym control+Shift+f gaps bottom current minus 10
- bindsym control+Shift+t gaps outer current toggle 40
- bindsym control+Shift+g gaps outer current plus 10
- bindsym control+Shift+b gaps outer current minus 10
- bindsym control+Shift+y gaps outer all set 10
- bindsym control+Shift+h gaps outer all set 20
- bindsym control+Shift+n gaps outer all set 40
- bindsym control+Shift+u gaps vertical current set 20
- bindsym control+Shift+j gaps outer all set 40
- bindsym control+Shift+m gaps outer all set 60
- bindsym control+Shift+i gaps inner all set 5; gaps outer all set 5
- bindsym control+Shift+k gaps inner all set 15; gaps outer all set 15
- bindsym control+Shift+comma gaps inner all set 30; gaps outer all set 30
- bindsym control+Shift+o gaps vertical current plus 10
- bindsym control+Shift+l gaps vertical current minus 10
- bindsym control+Shift+period gaps horizontal current plus 10
- bindsym control+Shift+slash gaps horizontal current minus 10
- bindsym control+Shift+bracketleft gaps all set minus 10
- bindsym control+Shift+bracketright gaps all set plus 10
- bindsym control+Shift+semicolon gaps right current plus 10
- bindsym control+Shift+apostrophe gaps right current minus 10
- ###<><><><> popup_during_fullscreen smart|ignore|leave_fullscreen
- popup_during_fullscreen leave_fullscreen
- ###<><><><> 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
- ###<><><><> i3-radius <><><><><><><><><><><><><><><><><><><>###
- smart_borders on
- smart_borders no_gaps
- border_radius 8
- ###############################################################
- ###<><><><> 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
- exec --no-startup-id nm-applet
- ###############################################################
- ###<><><><><><><><><><><><><> The End <><><><><><><><><><><>###
Advertisement
Add Comment
Please, Sign In to add comment