started with tmux and st
authorMart Lubbers <mart@martlubbers.net>
Sun, 15 Apr 2018 05:52:50 +0000 (07:52 +0200)
committerMart Lubbers <mart@martlubbers.net>
Sun, 15 Apr 2018 05:53:16 +0000 (07:53 +0200)
20-keyboard.conf
shell/.bashrc
shell/.config/tmux/config [new file with mode: 0644]
x/.config/i3/config
x/.xinitrc

index 835dcb0..687d125 100644 (file)
@@ -5,5 +5,5 @@ Section "InputClass"
        Option "XkbModel" "pc104"
        Option "XkbLayout" "dvorak,ru,us"
        Option "XkbVariant" ",phonetic_dvorak,"
-       Option "XKbOptions" "compose:ralt,grp:menu_toggle,caps:super"
+       Option "XKbOptions" "compose:ralt,grp:menu_toggle,ctrl:swapcaps"
 EndSection
index 29d1747..bce6795 100644 (file)
@@ -30,6 +30,7 @@ export COLORFGBG="default;default"
 alias ls='ls --color=auto'
 alias grep='grep --color=auto'
 alias vi=vim
+alias tmux='tmux -f ~/.config/tmux/config'
 
 set_prompt(){
        last_c=$?
diff --git a/shell/.config/tmux/config b/shell/.config/tmux/config
new file mode 100644 (file)
index 0000000..f02f3a2
--- /dev/null
@@ -0,0 +1,16 @@
+# prefix
+unbind C-b
+set-option -g prefix C-a
+bind C-a send-prefix
+
+# hjkl pane traversal
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# i3 window splitting
+unbind %
+unbind "
+bind v split-window -v
+bind h split-window -h
index 0277172..c6b06bb 100644 (file)
@@ -30,7 +30,7 @@ floating_modifier $mod
 hide_edge_borders none
 
 # start a terminal
-bindsym $mod+Return exec urxvtc
+bindsym $mod+Return exec st
 
 # lock
 bindsym $mod+l exec xautolock -locknow
index bbd42d8..dfabfa3 100755 (executable)
@@ -1,9 +1,6 @@
 #!/bin/bash
-urxvtd -q -o -f &
 xautolock -locker ~/.local/bin/lock.sh &
 dunst &
-compton -b
-~/.fehbg
 
 eval "$(gpg-agent --daemon)"
 xrdb -merge ~/.Xresources