From d3208d139fcb1725932c4951d02531b59b676eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 1 Jun 2013 18:33:03 +0200 Subject: FF/TB/Pidgin stuff --- .i3/config | 71 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 26 deletions(-) (limited to '.i3') diff --git a/.i3/config b/.i3/config index dbc5713..45ce718 100644 --- a/.i3/config +++ b/.i3/config @@ -103,10 +103,10 @@ bindsym $alt+space focus mode_toggle ########### # split in horiZontal orientation ('h' is already consumed) -bindsym $mod+z split h +bindsym $mod+z split horizontal # split in vertical orientation -bindsym $mod+v split v -# enter fullscreen mode for the focused container +bindsym $mod+v split vertical +# enter fullscreen modefor the focused container bindsym $mod+f fullscreen # change container layout (stacked, tabbed, toggle split) @@ -121,28 +121,28 @@ bindsym $alt+Shift+space floating toggle ############### # switch to workspace «3 -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 mail +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 0 # move focused container to workspace «3 bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 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 mail +bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+4 move container to workspace number 4 +bindsym $mod+Shift+5 move container to workspace number 5 +bindsym $mod+Shift+6 move container to workspace number 6 +bindsym $mod+Shift+7 move container to workspace number 7 +bindsym $mod+Shift+8 move container to workspace number 8 +bindsym $mod+Shift+9 move container to workspace number 9 +bindsym $mod+Shift+0 move container to workspace number 0 # back and forth ... «3 bindsym $mod+Tab workspace back_and_forth @@ -188,6 +188,11 @@ bindsym $mod+space exec dmenu_run -b # installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# Misc (minus shift are the focus options) +bindsym $mod+Shift+p exec pidgin +bindsym $mod+Shift+b exec firefox +bindsym $mod+Shift+m exec thunderbird + # mpc «3 bindsym $mod+Ctrl+c exec $nsi mpc toggle bindsym $mod+Ctrl+v exec $nsi mpc stop @@ -202,13 +207,24 @@ bindsym $mod+Ctrl+s exec $nsi mpc single for_window [class="^feh$"] floating enable # Thunderbird stuff -assign [class="^(?i)thunderbird$"] → mail -for_window [class="^(?i)thunderbird$"] floating enable -for_window [class="^(?i)thunderbird$" instance="MsgCompose"] floating disable -for_window [class="^(?i)thunderbird$" instance="Mail"] floating disable; layout stacked +set $thun "^Thunderbird$" +assign [class=$thun] → mail +for_window [class=$thun] floating enable +for_window [class=$thun instance="MsgCompose"] floating disable +for_window [class=$thun instance="Mail"] floating disable; layout stacked +bindsym $mod+m [class=$thun] focus # Firefox stuff -for_window [class="^(?i)firefox$" instance="Browser"] floating enable +set $ff "^Firefox$" +for_window [class=$ff instance="Browser"] floating enable +bindsym $mod+b [class=$ff instance="^Navigator$"] focus + +# Pidgin stuff +set $pidg "^Pidgin$" +assign [class=$pidg] → im +for_window [class=$pidg window_role="buddy_list"] split horizontal +for_window [class=$pidg window_role="conversation"] resize grow width 0 px or 30 ppt; move left +bindsym $mod+p [class=$pidg] focus # Steam assign [class="Steam"] → steam @@ -222,4 +238,7 @@ exec $nsi volumeicon # auto lock exec $nsi xautolock -corners ++00 -cornerdelay 5 -cornerredelay 30 -time 10 -secure -locker $script/xlock.sh +# start a firefox on 0 +exec i3-msg "workspace 0: ff; exec firefox; workspace number 1" + # vim: ft=i3 fdm=marker fmr=«,» -- cgit v1.2.3