Configuration file

This commit is contained in:
Simon Vieille 2015-03-02 19:17:48 +01:00
commit ab58b2a87a

323
config Normal file
View file

@ -0,0 +1,323 @@
# @see: $ xmodmap
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 pango:Droid Sans Mono 9
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec /home/simon/bin/urxvt
# kill focused window
bindsym $mod+Shift+A kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -nb '#333333' -nf '#ffffff' -sb '#982323' -p "$"
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
#bindsym $mod+l focus up
bindsym $mod+m 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+M 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
# split in horizontal orientation
bindsym $mod+h split h
# kill focused window
bindsym $mod+Shift+q kill
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen
# change container layout (stacked, tabbed, default)
bindsym $mod+s layout stacking
bindsym $mod+z layout tabbed
bindsym $mod+e layout default
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+q focus parent
# focus the child container
#bindcode $mod+d focus child
# bindsym $mod+x move workspace to output right
bindsym $mod+b workspace back_and_forth
# bindsym $mod+F1 workspace "1: IRC"
# bindsym $mod+F2 workspace "2: WWW"
# bindsym $mod+F3 workspace "3: MAIL"
# bindsym $mod+F4 workspace "4"
# bindsym $mod+F5 workspace "5"
# bindsym $mod+F6 workspace "6: MEDIA"
# bindsym $mod+F7 workspace "7"
# bindsym $mod+F8 workspace "8"
# bindsym $mod+F9 workspace "9"
# bindsym $mod+F10 workspace "10"
# bindsym $mod+F11 workspace "11"
# bindsym $mod+F12 workspace "12"
bindsym $mod+F1 workspace "1. IRC"
bindsym $mod+F2 workspace "2. WWW"
bindsym $mod+F3 workspace "3. MAIL"
bindsym $mod+F4 workspace "4"
bindsym $mod+F5 workspace "5"
bindsym $mod+F6 workspace "6. MEDIA"
bindsym $mod+F7 workspace "7"
bindsym $mod+F8 workspace "8"
bindsym $mod+F9 workspace "9"
bindsym $mod+F10 workspace "10"
bindsym $mod+F11 workspace "11"
bindsym $mod+F12 workspace "12"
# move focused container to workspace
# bindsym $mod+Shift+F1 move container to workspace "1: IRC"
# bindsym $mod+Shift+F2 move container to workspace "2: WWW"
# bindsym $mod+Shift+F3 move container to workspace "3: MAIL"
# bindsym $mod+Shift+F4 move container to workspace "4"
# bindsym $mod+Shift+F5 move container to workspace "5"
# bindsym $mod+Shift+F6 move container to workspace "6: MEDIA"
# bindsym $mod+Shift+F7 move container to workspace "7"
# bindsym $mod+Shift+F8 move container to workspace "8"
# bindsym $mod+Shift+F9 move container to workspace "9"
# bindsym $mod+Shift+F10 move container to workspace "10"
# bindsym $mod+Shift+F11 move container to workspace "11"
# bindsym $mod+Shift+F12 move container to workspace "12"
bindsym $mod+Shift+F1 move container to workspace "1. IRC"
bindsym $mod+Shift+F2 move container to workspace "2. WWW"
bindsym $mod+Shift+F3 move container to workspace "3. MAIL"
bindsym $mod+Shift+F4 move container to workspace "4"
bindsym $mod+Shift+F5 move container to workspace "5"
bindsym $mod+Shift+F6 move container to workspace "6. MEDIA"
bindsym $mod+Shift+F7 move container to workspace "7"
bindsym $mod+Shift+F8 move container to workspace "8"
bindsym $mod+Shift+F9 move container to workspace "9"
bindsym $mod+Shift+F10 move container to workspace "10"
bindsym $mod+Shift+F11 move container to workspace "11"
bindsym $mod+Shift+F12 move container to workspace "12"
workspace_auto_back_and_forth yes
# 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 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 windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt
bindsym u resize shrink height 5 px or 5 ppt
bindsym k resize grow width 5 px or 5 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+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command ~/.i3/i3status.sh
position top
output eDP1
output DP1
output HDMI1
colors {
#background #111111
background #000000
statusline #ffffff
#border bg text
focused_workspace #AC2E67 #9B2A5D #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #111111 #111111 #888888
urgent_workspace #2f343a #87af15 #ffffff
}
}
#bar {
# status_command ~/.i3/i3status2.sh
# position top
# tray_output none
#
# colors {
# background #111111
# statusline #ffffff
# #border bg text
# focused_workspace #AC2E67 #9B2A5D #ffffff
# active_workspace #333333 #5f676a #ffffff
# inactive_workspace #111111 #111111 #888888
# urgent_workspace #2f343a #87af15 #ffffff
# }
#}
bar {
status_command ~/.i3/processList.sh
workspace_buttons yes
position top
tray_output none
output eDP1
output HDMI1
output DP1
mode hide
modifier mod1
colors {
#background #111111
background #000000
statusline #ffffff
#border bg text
focused_workspace #AC2E67 #9B2A5D #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #111111 #111111 #888888
urgent_workspace #2f343a #87af15 #ffffff
}
}
for_window [title="QuickSynergy"] floating enable
for_window [title="Redmine - Desktop client"] floating enable
for_window [title="Sozi"] floating enable
for_window [title="Volti"] floating enable
for_window [title="Choqok"] floating enable
for_window [title="xmessage_upload"] floating enable
for_window [title="TeamViewer"] floating enable
for_window [title="ouvrir une session"] floating enable
for_window [title="Wicd"] floating enable
for_window [title="Qalculate!"] floating enable
for_window [title="Gnuplot"] floating enable
for_window [title="Network Connect"] floating enable
for_window [title=".*"] border 1pixel
exec feh --bg-fill ~/wallpaper.jpg
exec setxkbmap fr oss
exec mpd
exec wicd-gtk -t
exec alsactl init -c 1
exec volumeicon
exec /home/simon/bin/sshplus.py
exec dunst
exec /home/simon/bin/dual_screen_dp1.sh off
exec /home/simon/bin/reload_wallpaper
exec redshift-gtk -l 47.51659:6.7809
exec pulseaudio --start
exec synclient MiddleButtonAreaRight=3500
exec synclient MiddleButtonAreaLeft=2700
exec synclient MiddleButtonAreaRight=3500
exec synclient MiddleButtonAreaLeft=2700
exec xcompmgr -c
exec xbacklight + 100
# Softwares bind
bindsym Print exec ~/bin/screenshot
bindsym mod1+F10 exec ~/bin/screenshot_zone
bindsym $mod+Print exec ~/bin/upload_wall
bindsym $mod+mod1+l exec ~/bin/lock
bindsym $mod+BackSpace move scratchpad
bindsym $mod+Shift+BackSpace scratchpad show
bindsym XF86MonBrightnessUp exec xbacklight + 7
bindsym XF86MonBrightnessDown exec xbacklight - 7
bindsym Shift+$mod+h exec xbacklight + 7
bindsym Shift+$mod+n exec xbacklight - 7
bindsym $mod+mod1+n exec mpc next
bindsym $mod+mod1+h exec mpc prev
bindsym $mod+mod1+p exec mpc pause
bindsym $mod+mod1+m exec mpc play
bindsym XF86HomePage exec ~/bin/uzbl
bindsym XF86AudioRaiseVolume exec amixer set Master 2%+
bindsym XF86AudioLowerVolume exec amixer set Master 2%-
bindsym mod1+g exec amixer set Master 2%+
bindsym mod1+b exec amixer set Master 2%-
bindsym $mod+p exec ~/bin/i3_switch_workspace.php previous
bindsym $mod+n exec ~/bin/i3_switch_workspace.php next
bindsym mod1+F1 exec ~/bin/i3_switch_focus_container.php 1
bindsym mod1+F2 exec ~/bin/i3_switch_focus_container.php 2
bindsym mod1+F3 exec ~/bin/i3_switch_focus_container.php 3
bindsym mod1+F4 exec ~/bin/i3_switch_focus_container.php 4
bindsym mod1+F5 exec ~/bin/i3_switch_focus_container.php 5
bindsym mod1+F6 exec ~/bin/i3_switch_focus_container.php 6
bindsym $mod+x move workspace to output left
bindsym $mod+c exec ~/bin/i3_switch_monitor_wrapper.sh
bindsym mod1+Shift+h exec ~/bin/i3_move_mouse.sh left
bindsym mod1+Shift+k exec ~/bin/i3_move_mouse.sh right
bindsym mod1+Shift+u exec ~/bin/i3_move_mouse.sh up
bindsym mod1+Shift+j exec ~/bin/i3_move_mouse.sh down
bindsym $mod+Shift+y exec ~/bin/i3_mouse_click.sh
bindsym control+mod1+shift+e exec sudo shutdown -h now
bindsym control+mod1+shift+r exec sudo shutdown -r now
bindsym control+$mod+e exec pcmanfm
bindsym XF86Calculator exec qalculate
bindsym XF86Mail exec icedove
bindsym $mod+l exec mlclipboard
# class border backgr. text indicator
client.focused #9B2A5D #000000 #ffffff #2e9ef4
client.focused_inactive #333333 #5f676a #ffffff #484e50
client.unfocused #333333 #222222 #888888 #292d2e
client.urgent #2f343a #87af15 #ffffff #900000
#4c7899