Created
February 9, 2013 15:00
-
-
Save nsmaciej/4745580 to your computer and use it in GitHub Desktop.
My i3-wm config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Build ins | |
bindsym Mod4+Shift+c reload | |
bindsym Mod4+Shift+r restart | |
#Modes | |
mode "resize" { | |
bindsym h resize shrink width 5 px | |
bindsym j resize grow height 5 px | |
bindsym k resize shrink height 5 px | |
bindsym l resize grow width 5 px | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym Mod4+r mode "resize" | |
# Bar settings | |
bar { | |
modifier Mod4 | |
position bottom | |
status_command conky | |
font pango:DejaVu Sans Mono 8 | |
mode hide | |
colors { | |
background #1c1c1c | |
statusline #808080 | |
#Border, bg, text | |
focused_workspace #33CC66 #33CC66 #d8d8d8 | |
active_workspace #33CC66 #33CC66 #d8d8d8 | |
inactive_workspace #1c1c1c #1c1c1c #808080 | |
} | |
} | |
# Keybinds | |
bindsym Mod4+f fullscreen | |
bindsym Mod4+z exec --no-startup-id dmenu_run -f -b -i -sf '#1c1c1c' -sb '#33cc66' -nf '#808080' -nb '#1c1c1c' | |
bindsym Mod4+Shift+space floating toggle | |
#This is ment to be as mod1 | |
bindsym Mod1+Tab workspace next | |
#Change method | |
bindsym Mod4+g layout stacking | |
bindsym Mod4+t layout tabbed | |
bindsym Mod4+s layout toggle split | |
#Moving around | |
bindsym Mod4+h focus left | |
bindsym Mod4+j focus down | |
bindsym Mod4+k focus up | |
bindsym Mod4+l focus right | |
bindsym Mod4+Shift+h move left | |
bindsym Mod4+Shift+j move down | |
bindsym Mod4+Shift+k move up | |
bindsym Mod4+Shift+l move right | |
# App binds | |
bindsym Mod4+Shift+e exec oblogout | |
bindsym Mod4+Return exec --no-startup-id urxvt | |
bindsym Mod4+w exec --no-startup-id google-chrome | |
bindsym Mod4+e exec urxvt -T Vim -e bash ~/Configs/vims.sh | |
bind 107 exec --no-startup-id xfce4-screenshooter -f | |
bindsym Mod4+q kill | |
bindsym Mod4+Shift+q exec xterm -T Xkill -e xkill | |
bindsym Mod4+x exec xterm -T Xprop -e bash ~/Configs/xprops.sh | |
bindsym Mod4+d exec --no-startup-id subl | |
bindsym Mod4+c exec --no-startup-id gcolor2 | |
# Workspaces | |
bindsym Mod4+1 workspace 1 | |
bindsym Mod4+2 workspace 2 | |
bindsym Mod4+3 workspace 3 | |
bindsym Mod4+4 workspace 4 | |
bindsym Mod4+5 workspace 5 | |
bindsym Mod4+6 workspace 6 | |
bindsym Mod4+7 workspace 7 | |
bindsym Mod4+8 workspace 8 | |
bindsym Mod4+9 workspace 9 | |
bindsym Mod4+0 workspace 10 | |
bindsym Mod4+Shift+1 move container to workspace 1 | |
bindsym Mod4+Shift+2 move container to workspace 2 | |
bindsym Mod4+Shift+3 move container to workspace 3 | |
bindsym Mod4+Shift+4 move container to workspace 4 | |
bindsym Mod4+Shift+5 move container to workspace 5 | |
bindsym Mod4+Shift+6 move container to workspace 6 | |
bindsym Mod4+Shift+7 move container to workspace 7 | |
bindsym Mod4+Shift+8 move container to workspace 8 | |
bindsym Mod4+Shift+9 move container to workspace 9 | |
bindsym Mod4+Shift+0 move container to workspace 10 | |
# Window settings | |
new_window none | |
new_float none | |
hide_edge_borders both | |
floating_modifier Mod4 | |
font pango:DejaVu Sans Mono 8 | |
focus_follows_mouse no | |
default_orientation horizontal | |
force_focus_wrapping no | |
bindsym Mod4+n exec i3-input -F 'rename workspace to %s' -P '' | |
# Program preferences | |
for_window [instance="gcolor2"] floating enable | |
for_window [instance="fds"] floating enable | |
for_window [instance="oblogout"] floating enable | |
for_window [instance="key-mon"] floating enable | |
for_window [instance="xfce4-notifyd"] floating enable | |
exec --no-startup-id dropboxd & | |
exec --no-startup-id nitrogen --restore & | |
exec --no-startup-id xbacklight =0 & | |
exec --no-startup-id volumeicon & | |
exec --no-startup-id (sleep 3 && /usr/bin/nm-applet --sm-disable) & | |
exec --no-startup-id batti & | |
exec --no-startup-id glipper & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment