Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
309 lines (251 sloc) 10.5 KB
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod mod4
# font for window titles. ISO 10646 = Unicode
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
font xft:Droid Sans 15
new_window normal
# Use Mouse+$mod to drag floating windows to their wanted position
# floating_modifier $mod
floating_minimum_size 800x600
# floating_maximum_size 1024x768
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command i3status
# status_command ~/.i3/conky
# status_command py3status -c ~/.i3/i3status.conf -i ~/.i3/modules
font pango: Droid Sans Mono 13
colors {
background #000000
statusline #ffffff
separator #666666
# Type border background font
focused_workspace #008fff #007fff #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #aa0000 #990000 #ffffff
}
}
focus_follows_mouse no
force_focus_wrapping yes
# start a terminal
bindsym $mod+Return exec python ~/.i3/open_term.py
bindsym $mod+Shift+Return exec xfce4-terminal
# kill focused window
mode "kill_mode" {
bindsym y kill;mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Escape mode "kill_mode"
# start dmenu (a program launcher)
bindsym $mod+r exec i3-dmenu-desktop
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+H move left
bindsym $mod+Shift+J move down
bindsym $mod+Shift+K move up
bindsym $mod+Shift+L 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
# change container layout (stacked, tabbed, default)
bindsym $mod+w layout tabbed
bindsym $mod+e layout splith
bindsym $mod+q layout splitv
# switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# move focused container to workspace
bindsym $mod+Shift+exclam move container to workspace number 1
bindsym $mod+Shift+at move container to workspace number 2
bindsym $mod+Shift+numbersign move container to workspace number 3
bindsym $mod+Shift+dollar move container to workspace number 4
bindsym $mod+Shift+percent move container to workspace number 5
bindsym $mod+Shift+asciicircum move container to workspace number 6
bindsym $mod+Shift+ampersand move container to workspace number 7
bindsym $mod+Shift+asterisk move container to workspace number 8
bindsym $mod+Shift+parenleft move container to workspace number 9
bindsym $mod+Shift+parenright move container to workspace number 10
bindsym $mod+slash exec --no-startup-id ~/.i3/i3_switch_workspace.sh
bindsym $mod+Shift+question exec --no-startup-id ~/.i3/move_container_to_workspace.py
# 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+Q exit
# resize window (you can also use the mouse for that)
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 h resize shrink width 10 px or 10 ppt
bindsym j 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
bindsym m resize grow width 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym 113 resize shrink width 10 px or 10 ppt
bindsym 116 resize grow height 10 px or 10 ppt
bindsym 111 resize shrink height 10 px or 10 ppt
bindsym 114 resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
#bindsym $mod+Shift+s mode "resize"
# toggle tiling / floating
#bindsym $mod+Shift+a floating toggle
set $mode_folating_window_move move container position
mode "$mode_folating_window_move" {
bindsym h move left 20 px
bindsym j move down 20 px
bindsym k move up 20 px
bindsym l move right 20 px
bindsym Return mode "default"
bindsym Escape mode "default"
}
#bindsym $mod+Shift+f mode "$mode_folating_window_move"
# multimedia keys
bindsym XF86AudioRaiseVolume exec "amixer set Master '5%+'"
bindsym XF86AudioLowerVolume exec "amixer set Master '5%-'"
bindsym XF86AudioMute exec "amixer -D pulse set Master toggle"
bindsym XF86AudioPlay exec "~/.bin/player toggle"
bindsym XF86AudioStop exec "~/.bin/player stop"
bindsym XF86AudioNext exec "~/.bin/player next"
bindsym XF86AudioPrev exec "~/.bin/player previous"
bindsym XF86Calculator exec "xcalc"
# bindsym XF86Sleep exec ""
bindsym XF86Mail exec "google-chrome mail.google.com"
bindsym XF86HomePage exec "pcmanfm"
bindsym XF86Tools exec "google-chrome https://goo.gl/MmPXmJ"
bindsym XF86Explorer exec "vlc dvd:///dev/cdrom"
bindsym XF86KbdBrightnessDown exec "xbacklight -5"
bindsym XF86KbdBrightnessUp exec "xbacklight +5"
bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient | awk '/TouchpadOff/ {print ($3+1)%2}')"
# move container between displays
bindsym $mod+semicolon move workspace to output left
bindsym $mod+apostrophe move workspace to output right
bindsym $mod+Shift+colon exec ~/.i3/move_container_left.py
bindsym $mod+Shift+quotedbl exec ~/.i3/move_container_right.py
bindsym $mod+n workspace next_on_output
bindsym $mod+p workspace prev_on_output
bindsym Mod1+Tab focus right
bindsym Mod1+Shift+Tab focus left
bindsym $mod+Shift+N workspace next
bindsym $mod+Shift+P workspace prev
set $mode_screen_output focus output
mode "$mode_screen_output" {
bindsym 1 exec --no-startup-id ~/.i3/focus_screen.py 0, mode "default"
bindsym 2 exec --no-startup-id ~/.i3/focus_screen.py 1, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+o mode "$mode_screen_output"
set $mode_move_container_to_output move container
mode "$mode_move_container_to_output " {
bindsym 1 exec --no-startup-id ~/.i3/move_container.py 0, mode "default"
bindsym 2 exec --no-startup-id ~/.i3/move_container.py 1, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+o mode "$mode_move_container_to_output "
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id ~/.i3/i3exit lock, mode "default"
bindsym e exec --no-startup-id ~/.i3/i3exit logout, mode "default"
bindsym s exec --no-startup-id ~/.i3/i3exit suspend, mode "default"
bindsym h exec --no-startup-id ~/.i3/i3exit hibernate, mode "default"
bindsym r exec --no-startup-id ~/.i3/i3exit reboot, mode "default"
bindsym Shift+s exec --no-startup-id ~/.i3/i3exit shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym Pause mode "$mode_system"
bindsym Print exec xfce4-screenshooter
bindsym $mod+Left exec xbacklight -5
bindsym $mod+Right exec xbacklight +5
bindsym $mod+Up exec amixer -q sset Master 2%+
bindsym $mod+Down exec amixer -q sset Master 2%-
bindsym mod4+XF86TouchpadToggle exec unity-control-center
# switch to workspace
bindsym $mod+a workspace number 1
bindsym $mod+s workspace number 2
bindsym $mod+d workspace number 3
bindsym $mod+f workspace number 4
bindsym $mod+g workspace number 5
bindsym $mod+z workspace number 6
bindsym $mod+x workspace number 7
bindsym $mod+c workspace number 8
bindsym $mod+v workspace number 9
bindsym $mod+b workspace number 10
bindsym $mod+Shift+a move container to workspace number 1
bindsym $mod+Shift+s move container to workspace number 2
bindsym $mod+Shift+d move container to workspace number 3
bindsym $mod+Shift+f move container to workspace number 4
bindsym $mod+Shift+g move container to workspace number 5
bindsym $mod+Shift+z move container to workspace number 6
bindsym $mod+Shift+x move container to workspace number 7
bindsym $mod+Shift+c move container to workspace number 8
bindsym $mod+Shift+v move container to workspace number 9
bindsym $mod+Shift+b move container to workspace number 10
bindsym $mod+y fullscreen
bindsym $mod+m exec ~/.i3/new_quick_switch.py
bindsym --release button3 kill
exec sleep 5 & feh --bg-scale ~/Pictures/background.jpg
exec bash ~/.i3/run_lxpanel.sh
exec --no-startup-id /usr/bin/nm-applet
exec --no-startup-id volti
exec --no-startup-id bash ~/.i3/dual_screen.sh
exec --no-startup-id workrave
exec --no-startup-id xmodmap ~/.Xmodmap
exec --no-startup-id xbindkeys
exec --no-startup-id touchegg&
for_window [class=".*"] title_format "<b>%class | %title</b>"
bindsym $mod+grave exec ~/.i3/show_workspace_info.py
bindsym $mod+Shift+asciitilde exec i3-input -F "move container to workspace %s"
bindsym $mod+i exec python ~/.i3/quick_insert.py
bindsym $mod+Shift+i exec python ~/.i3/insert_from_fish_history.py
#mark
mode "mark" {
bindsym u exec --no-startup-id i3-msg "unmark" , mode "default"
bindsym m exec --no-startup-id i3-input -F "mark %s" , mode "default"
bindsym g exec --no-startup-id ~/.i3/go_to_mark.py 1, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+t exec ~/.i3/name_workspace.py
bindsym $mod+period exec ~/.i3/noteit.py
exec --no-startup-id i3-msg 'workspace number 1;workspace 1:Web; exec sensible-browser'
#exec --no-startup-id dunst -print -fn "Ubuntu 40"
exec --no-startup-id kupfer
exec xautolock -detectsleep -time 5 -locker 'i3lock -d -c 000000'
#124