#
# Basics:
#
+
+set $floating_term $term -name floating
+for_window [class="URxvt" instance="floating"] floating enable
+
+set $mode_launch (⏎)urxvt, (e)macs, iceweasel (a)minb (c)hr (p)riv, ice(C)at
+mode "$mode_launch" {
+ bindsym Return exec $floating_term, mode "default"
+ bindsym e exec emacs, mode "default"
+ bindsym a exec iceweasel -P aminb, mode "default"
+ bindsym c exec iceweasel -P chr, mode "default"
+ bindsym p exec iceweasel -P chr -private, mode "default"
+ bindsym Shift+c exec icecat, mode "default"
+
+ # back to normal: Escape, or q
+ bindsym Escape mode "default"
+ bindsym q mode "default"
+}
+ bindsym XF86Launch1 mode "$mode_launch"
+
# start a terminal
bindsym $mod+Return exec $term
- bindsym $mod+Shift+Return exec $term -name floating
- for_window [class="URxvt" instance="floating"] floating enable
+ bindsym $mod+Shift+Return exec $floating_term
# kill focused window
bindsym $mod+Shift+q kill
# move focus to the parent container
bindsym $mod+a focus parent
+ bindsym $mod+Shift+a focus child
#
# Scratchpad:
#