Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i3 config file (v4)
- #set mod key
- set $mod Mod4
- # gaps config with + and -
- bindsym $mod+equal gaps inner current set 40
- bindsym $mod+minus gaps inner current set 0
- # Font for window titles.
- font pango:DejaVu Sans Mono 10
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start a terminal
- bindsym $mod+Return exec i3-sensible-terminal
- # kill focused window
- bindsym $mod+Shift+q kill
- # start rofi launcher
- bindsym $mod+d exec rofi -show run
- # change focus
- bindsym $mod+j focus left
- bindsym $mod+k focus down
- bindsym $mod+i focus up
- bindsym $mod+l focus right
- # move focused window
- bindsym $mod+Left move left
- bindsym $mod+Down move down
- bindsym $mod+Up move up
- bindsym $mod+Right move right
- # split controls
- bindsym $mod+h split h
- bindsym $mod+v split v
- # fullscreen application
- bindsym $mod+f fullscreen toggle
- # change container layout (stacked, tabbed, toggle split)
- bindsym $mod+z layout stacking
- bindsym $mod+x layout tabbed
- bindsym $mod+c layout toggle split
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- # switch to workspace
- bindsym $mod+1 workspace 1
- bindsym $mod+2 workspace 2
- bindsym $mod+3 workspace 3
- bindsym $mod+4 workspace 4
- bindsym $mod+5 workspace 5
- bindsym $mod+6 workspace 6
- bindsym $mod+7 workspace 7
- bindsym $mod+8 workspace 8
- bindsym $mod+9 workspace 9
- bindsym $mod+0 workspace 10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace 1
- bindsym $mod+Shift+2 move container to workspace 2
- bindsym $mod+Shift+3 move container to workspace 3
- bindsym $mod+Shift+4 move container to workspace 4
- bindsym $mod+Shift+5 move container to workspace 5
- bindsym $mod+Shift+6 move container to workspace 6
- bindsym $mod+Shift+7 move container to workspace 7
- bindsym $mod+Shift+8 move container to workspace 8
- bindsym $mod+Shift+9 move container to workspace 9
- bindsym $mod+Shift+0 move container to workspace 10
- # reload the configuration file
- bindsym $mod+Shift+c reload
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- # exit i3 (logs you out of your X session)
- bindsym $mod+Shift+e exec killall i3
- # resize windows
- bindsym $mod+r mode "resize"
- # resize mode controls
- mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
- # Pressing left will shrink the window’s width.
- # Pressing right will grow the window’s width.
- # Pressing up will shrink the window’s height.
- # Pressing down will grow the window’s height.
- bindsym j resize shrink width 10 px or 10 ppt
- bindsym i resize grow height 10 px or 10 ppt
- bindsym k resize shrink height 10 px or 10 ppt
- bindsym l resize grow width 10 px or 10 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- # i3 alsa volume controls
- bindsym XF86AudioRaiseVolume exec "amixer -q sset Master,0 20%+ unmute"
- bindsym XF86AudioLowerVolume exec "amixer -q sset Master,0 20%- unmute"
- bindsym XF86AudioMute exec "amixer -q sset Master,0 toggle mute"
- # autostart
- exec polybar example
- exec nitrogen --restore
- exec compton
- bar {
- status_command i3status
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement