From 66ee46b23e8c4f45e51645a06e8ae92e42961825 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 24 Oct 2016 19:12:55 +0800 Subject: update i3 config --- dotfiles/.i3/config | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/dotfiles/.i3/config b/dotfiles/.i3/config index 4431671..9aec640 100644 --- a/dotfiles/.i3/config +++ b/dotfiles/.i3/config @@ -9,6 +9,7 @@ # # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 +set $alt Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -149,6 +150,9 @@ bindsym $mod+r mode "resize" # finds out, if available) bar { status_command i3status + mode hide + hidden_state hide + modifier Mod1 } @@ -156,11 +160,24 @@ bar { # Start fcitx when start i3wm exec --no-startup-id fcitx -exec xrandr --output VGA1 --auto -exec xrandr --output LVDS1 --off +bindsym $mod+p exec xrandr --output VGA1 --auto && xrandr --output LVDS1 --off + #exec --no-startup-id wicd-gtk hide_edge_borders both for_window [class="^.*"] border pixel 1 new_window 1pixel + + +# $mod + o to launch program. +bindsym $mod+o mode "$mode_launcher" + +mode "$mode_launcher" { + bindsym f exec firefox + bindsym p exec ~/Code/PhpStorm/bin/phpstorm.sh + bindsym v exec gvim + + bindsym Escape mode "default" + bindsym Return mode "default" +} -- cgit v1.2.3