From 33d690079fa91d727b9958f346f9e36aa5e33463 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 02:16:31 +0100 Subject: i3: add configuration file for i3 Since WMII is deprecated, we finally follow the advise of switching to i3 window manager. Some configuration has been added so that it behaves like WMII as much as possible. Here is a list of some features that have been configured: * default keys to move / resize / focus windows * handling of control volume keys * names of the tags * default layout for new containers (stacked instead of split) * ... Signed-off-by: Olivier Gayot --- user/.config/i3/i3-menu | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 user/.config/i3/i3-menu (limited to 'user/.config/i3/i3-menu') diff --git a/user/.config/i3/i3-menu b/user/.config/i3/i3-menu new file mode 100755 index 0000000..9659ea5 --- /dev/null +++ b/user/.config/i3/i3-menu @@ -0,0 +1,34 @@ +#!/bin/sh + +execute_action() +{ + case "$1" in + quit) + exec i3-msg exit + ;; + exec) + shift + eval exec "$@" + ;; + reload) + exec i3-msg reload + ;; + restart) + exec i3-msg restart + ;; + lock) + exec lock + ;; + esac +} + +cmd=$(cat << EOF | dmenu +exec +quit +reload +restart +lock +EOF +) + +execute_action $cmd -- cgit v1.2.3