ENH make tmux start by default and get rid of urxvt tabs
This commit is contained in:
parent
7955c8e89b
commit
0561ebc247
|
@ -58,7 +58,7 @@ run_yay() {
|
|||
r_pkgs=(r gcc-fortran texlive-bin tk)
|
||||
redshift_pkgs=(redshift)
|
||||
seafile_pkgs=(seafile-client)
|
||||
urxvt_pkgs=(urxvt-tabbedex rxvt-unicode urxvt-perls)
|
||||
urxvt_pkgs=(rxvt-unicode urxvt-perls)
|
||||
zsh_pkgs=(zsh zsh-completions zsh-syntax-highlighting)
|
||||
|
||||
## AUR pkgs needed for spotify
|
||||
|
@ -79,6 +79,7 @@ run_yay() {
|
|||
run_makepkg() {
|
||||
## these are all packages that have some personal customizations and/or are
|
||||
## not in the AUR
|
||||
## TODO the clevo thingy requires a systemd file to turn on/off
|
||||
call_makepkg "clevo-xsm-wmi-dkms"
|
||||
call_makepkg "conky-lua"
|
||||
call_makepkg "spotify"
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
session_name=0
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Need a command to perform"
|
||||
exit 1
|
||||
elif [[ "$1" == "start" ]]; then
|
||||
tmux new-session -s "$session_name" -d
|
||||
elif [[ "$1" == "stop" ]]; then
|
||||
tmux kill-session -t "$session_name"
|
||||
else
|
||||
echo 'Command must be either "start" or "stop"'
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -25,6 +25,7 @@ KEYS="$KEYS;Alt_R=space"
|
|||
KEYS="$KEYS;ISO_Level3_Shift=XF86Search"
|
||||
xman -t 500 "$KEYS" "^VirtualBox Machine$" &
|
||||
|
||||
tmuxctl start
|
||||
greenclip daemon &
|
||||
redshift > /dev/null 2>&1 &
|
||||
dunst &
|
||||
|
|
|
@ -42,12 +42,12 @@ URxvt.font: xft:DejaVu Sans Mono:size=11:autohint=false
|
|||
URxvt.boldfont: xft:DejaVu Sans Mono Bold:size=11:autohint=false
|
||||
URxvt.fontItalic: xft:DejaVu Sans Mono Oblique:size=11:autohint=false
|
||||
URxvt.fontBoldItalic: xft:DejaVu Sans Mono Bold Oblique:size=11:autohint=false
|
||||
URxvt.tabbedex.tabbar-fg: 15
|
||||
URxvt.tabbedex.tabbar-bg: 0
|
||||
URxvt.tabbedex.tab-fg: 0
|
||||
URxvt.tabbedex.tab-bg: 15
|
||||
URxvt.tabbedex.autohide: true
|
||||
URxvt.tabbedex.title: false
|
||||
! URxvt.tabbedex.tabbar-fg: 15
|
||||
! URxvt.tabbedex.tabbar-bg: 0
|
||||
! URxvt.tabbedex.tab-fg: 0
|
||||
! URxvt.tabbedex.tab-bg: 15
|
||||
! URxvt.tabbedex.autohide: true
|
||||
! URxvt.tabbedex.title: false
|
||||
|
||||
URxvt.imLocale: en_US.UTF-8
|
||||
|
||||
|
@ -63,7 +63,8 @@ URxvt.meta8: False
|
|||
|
||||
URxvt.scrollBar: False
|
||||
|
||||
URxvt.perl-ext-common: default,matcher,tabbedex,keyboard-select,selection-to-clipboard
|
||||
! URxvt.perl-ext-common: default,matcher,tabbedex,keyboard-select,selection-to-clipboard
|
||||
URxvt.perl-ext-common: default,matcher,keyboard-select,selection-to-clipboard
|
||||
|
||||
URxvt.url-launcher: /usr/bin/xdg-open
|
||||
URxvt.matcher.button: 1
|
||||
|
@ -75,10 +76,10 @@ URxvt.keysym.Control-C: perl:clipboard:copy
|
|||
URxvt.keysym.Control-V: perl:clipboard:paste
|
||||
URxvt.keysym.Control-B: perl:clipboard:paste_escaped
|
||||
|
||||
URxvt.keysym.Control-t: perl:tabbedex:new_tab
|
||||
URxvt.keysym.Control-Tab: perl:tabbedex:next_tab
|
||||
URxvt.keysym.Control-ISO_Left_Tab: perl:tabbedex:prev_tab
|
||||
URxvt.keysym.Control-Shift-Left: perl:tabbedex:move_tab_left
|
||||
URxvt.keysym.Control-Shift-Right: perl:tabbedex:move_tab_right
|
||||
URxvt.keysym.Control-Shift-R: perl:tabbedex:rename_tab
|
||||
URxvt.tabbed.no-tabbedex-keys: true
|
||||
! URxvt.keysym.Control-t: perl:tabbedex:new_tab
|
||||
! URxvt.keysym.Control-Tab: perl:tabbedex:next_tab
|
||||
! URxvt.keysym.Control-ISO_Left_Tab: perl:tabbedex:prev_tab
|
||||
! URxvt.keysym.Control-Shift-Left: perl:tabbedex:move_tab_left
|
||||
! URxvt.keysym.Control-Shift-Right: perl:tabbedex:move_tab_right
|
||||
! URxvt.keysym.Control-Shift-R: perl:tabbedex:rename_tab
|
||||
! URxvt.tabbed.no-tabbedex-keys: true
|
||||
|
|
|
@ -16,17 +16,20 @@ bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display "Config Reloaded"
|
|||
# session/client
|
||||
bind q detach-client
|
||||
bind l list-sessions
|
||||
set -g destroy-unattached off
|
||||
|
||||
# window creation
|
||||
bind n new-window
|
||||
bind -n C-t new-window
|
||||
bind N command-prompt -I "#{window_name}" "rename-window '%%'"
|
||||
bind S command-prompt -I "#{session_name}" "rename-session '%%'"
|
||||
bind - split-window -v
|
||||
bind | split-window -h
|
||||
|
||||
# window navigation
|
||||
bind -n M-Tab next-window
|
||||
bind -n M-BTab previous-window
|
||||
bind -n C-] next-window
|
||||
bind -n C-[ previous-window
|
||||
bind -n M-] swap-window -t +1 \; next-window
|
||||
bind -n M-[ swap-window -t -1 \; previous-window
|
||||
|
||||
bind -n M-| choose-window "join-pane -h -t '%%'"
|
||||
bind -n M-- choose-window "join-pane -v -t '%%'"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
## User-specific Zsh config (on top of what is in /etc/zsh/zshrc)
|
||||
|
||||
# turn off Ctrl-D so I don't accidently kill tmux
|
||||
setopt ignore_eof
|
||||
|
||||
## --------------------------------------------------
|
||||
# autocompletion
|
||||
## --------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue