aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2016-10-25 01:46:39 +0800
committerSteve Lee <me@xiangyangli.com>2016-10-25 01:46:39 +0800
commit527c65ca2e4ec5095171345502dfa38a18e97a7f (patch)
tree4b7bf522071fa60aef1eda3cc3fa81c62bfd0643 /dotfiles
parent9f3c370ed0af17c0b603847143ca9fbdf25536e7 (diff)
downloadPersonal-527c65ca2e4ec5095171345502dfa38a18e97a7f.tar.xz
Personal-527c65ca2e4ec5095171345502dfa38a18e97a7f.zip
add SICP exercise solutions
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.i3/config21
1 files 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"
+}