diff options
authorAdrian Kummerlaender2017-01-28 22:00:08 +0100
committerAdrian Kummerlaender2017-01-29 21:06:19 +0100
commitb5f7eef7ee6a428ad1709b9291f9ed6655d48da0 (patch)
parentae2ac4586989b84fb5681a8ddb00863bc06efabf (diff)
Implement i3 drop down terminal bound to `Menu` key
3 files changed, 15 insertions, 8 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index e4ea861..f47ea1a 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -23,7 +23,7 @@ set fish_color_quote brown
set fish_color_autosuggestion 555
if [ (hostname) = "obelix" ]
- set PATH $PATH /usr/local/bin/ /usr/local/texlive/2014/bin/x86_64-linux ~/.cabal/bin/ ~/.gem/ruby/2.4.0/bin/
+ set PATH $PATH /usr/local/bin/ /usr/local/texlive/2014/bin/x86_64-linux ~/.cabal/bin/ ~/.local/bin/ ~/.gem/ruby/2.4.0/bin/
alias i='sxiv'
alias orb='open ~/webarchive/data/(ls ~/webarchive/data/ | sort -R | head -n 1)/index.html'
diff --git a/i3wm/.i3/config b/i3wm/.i3/config
index e8d3dad..ddb68b1 100644
--- a/i3wm/.i3/config
+++ b/i3wm/.i3/config
@@ -24,6 +24,8 @@ bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout default
+bindsym Control+s sticky toggle; exec --no-startup-id notify-send "sticky mode toggle."
bindsym $mod+a focus parent
bindsym $mod+d focus child
@@ -102,10 +104,11 @@ client.unfocused #222222 #222222 #999999
client.urgent #a5a5a5 #a5a5a5 #2e3436
client.background #161616
-for_window [class="^.*"] border pixel 4
-for_window [title="^dictionary$"] floating enable
-for_window [title="VimWiki"] border pixel 8; floating enable; move to scratchpad
-for_window [title="^.*- Zeal$"] border pixel 8; floating enable; move position 160px 46px; move to scratchpad
+for_window [class="^.*"] border pixel 4;
+for_window [title="^dictionary$"] border pixel 8, floating enable;
+for_window [title="VimWiki"] border pixel 8, floating enable, move to scratchpad;
+for_window [title="^.*- Zeal$"] border pixel 8, floating enable, move position 160px 46px, move to scratchpad;
+for_window [instance="DropDownTerm"] border pixel 8, move to scratchpad, move position 183px -8px, resize set 1000px 600px, move to scratchpad;
bindsym Control+Return exec urxvtc -title "Chicken Scheme REPL" -e csi -q
bindsym $mod+Return exec urxvtc
@@ -127,8 +130,9 @@ bindsym $mod+c exec =
bindsym $mod+t exec ~/.i3/apply_layout.sh
bindsym Mod1+n exec rofi_wiki
-bindsym $mod+z [title="^.*- Zeal$"] scratchpad show
-bindsym $mod+n [title="VimWiki"] scratchpad show
+bindsym $mod+z [title="^.*- Zeal$"] scratchpad show
+bindsym $mod+n [title="VimWiki"] scratchpad show
+bindsym Menu [instance="DropDownTerm"] scratchpad show
exec --no-startup-id export $(gnome-keyring-daemon)
exec --no-startup-id urxvtd
@@ -136,7 +140,8 @@ exec --no-startup-id twmnd
exec --no-startup-id nm-applet
exec --no-startup-id volumeicon
exec --no-startup-id feh --bg-center ~/.background.jpg
-exec --no-startup-id gvim -geometry 120x35 --servername VIMWIKI -c ":set title titlestring=VimWiki" -c ":set autowriteall" ~/wiki/0.wiki
+exec --no-startup-id gvim -geometry 120x35 --servername VIMWIKI -c ":set title titlestring=VimWiki" -c ":set autowriteall" -c ":set noswapfile" ~/wiki/0.wiki
exec --no-startup-id zeal
+exec --no-startup-id urxvtc -name DropDownTerm
exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000"
exec --no-startup-id ~/.cabal/bin/arbtt-capture
diff --git a/xorg/.xinitrc b/xorg/.xinitrc
index 89eff01..5250c09 100644
--- a/xorg/.xinitrc
+++ b/xorg/.xinitrc
@@ -7,4 +7,6 @@ xrdb -merge ~/.Xresources
setxkbmap de
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
+sh ~/.screenlayout/mobile.sh
exec dbus-launch i3