From 4309b3dadf581b3dcd51b91a8373262990fb4175 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Sun, 15 Apr 2018 07:52:50 +0200 Subject: [PATCH] started with tmux and st --- 20-keyboard.conf | 2 +- shell/.bashrc | 1 + shell/.config/tmux/config | 16 ++++++++++++++++ x/.config/i3/config | 2 +- x/.xinitrc | 3 --- 5 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 shell/.config/tmux/config diff --git a/20-keyboard.conf b/20-keyboard.conf index 835dcb0..687d125 100644 --- a/20-keyboard.conf +++ b/20-keyboard.conf @@ -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 diff --git a/shell/.bashrc b/shell/.bashrc index 29d1747..bce6795 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -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 index 0000000..f02f3a2 --- /dev/null +++ b/shell/.config/tmux/config @@ -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 diff --git a/x/.config/i3/config b/x/.config/i3/config index 0277172..c6b06bb 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -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 diff --git a/x/.xinitrc b/x/.xinitrc index bbd42d8..dfabfa3 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -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 -- 2.20.1