@ -1,7 +1,7 @@
{ pkgs , lib , . . . }:
{
home . packages = with pkgs ; [ bat wget clipit ncmpcpp pandoc silver-searcher t mux t ree unzip wirelesstools xcape xsel anki pavucontrol ranger blueman gifsicle networkmanager paprefs steam mpv nnn nodejs pinentry vlc gnupg nitrogen alacritty wine tldr yarn spotify signal-desktop mu mosh ispell google-chrome emacs-all-the-icons-fonts gnupg python3 python37Packages . pip veracrypt bashmount exfat exfat-utils neofetch toot rtv newsboat neomutt i3lock-pixeled nmap p4v killall calc cargo cava diceware magic-wormhole msmtp xorg . xmodmap zip youtube-dl cacert dropbox-cli keepassx2 w3m wireshark-qt khard khal vdirsyncer slack riot-web retroarch ipfs gimp blender urlview
home . packages = with pkgs ; [ bat wget clipit ncmpcpp pandoc silver-searcher t ree unzip wirelesstools xcape xsel anki pavucontrol ranger blueman gifsicle networkmanager paprefs steam mpv nnn nodejs pinentry vlc gnupg nitrogen alacritty wine tldr yarn spotify signal-desktop mu mosh ispell google-chrome emacs-all-the-icons-fonts gnupg python3 python37Packages . pip veracrypt bashmount exfat exfat-utils neofetch toot rtv newsboat neomutt i3lock-pixeled nmap p4v killall calc cargo cava diceware magic-wormhole msmtp xorg . xmodmap zip youtube-dl cacert dropbox-cli keepassx2 w3m wireshark-qt khard khal vdirsyncer slack riot-web retroarch ipfs gimp blender urlview
] ;
home . sessionVariables = {
@ -117,6 +117,71 @@
programs . htop . enable = true ;
programs . jq . enable = true ;
programs . vscode . enable = true ;
programs . tmux = {
enable = true ;
shortcut = " a " ;
keyMode = " v i " ;
baseIndex = 1 ;
newSession = true ;
plugins = with pkgs . tmuxPlugins ; [
sensible resurrect pain-control continuum copycat open urlview
{
plugin = yank ;
extraConfig = " s e t - g @ y a n k _ s e l e c t i o n _ m o u s e ' p r i m a r y ' " ;
}
] ;
extraConfig = ''
bind-key - n C-0 select-window - t : 0
bind-key - n C-1 select-window - t : 1
bind-key - n C-2 select-window - t : 2
bind-key - n C-3 select-window - t : 3
bind-key - n C-4 select-window - t : 4
bind-key - n C-5 select-window - t : 5
bind-key - n C-6 select-window - t : 6
bind-key - n C-7 select-window - t : 7
bind-key - n C-8 select-window - t : 8
bind-key - n C-9 select-window - t : 9
set - g set-titles on
set - g set-titles-string " # H ( # S ) "
set - g status-right " "
set - g status-left " "
set-option - g mouse on
set-option - g status-bg default
set-option - g status-fg " # 6 6 6 6 6 6 "
set-option - g status-attr default
set-option - g pane-border-fg " # 6 6 6 6 6 6 "
set-option - g pane-active-border-fg " # 6 6 6 6 6 6 "
set-option - g message-bg black
set-option - g message-fg white
set-option - g display-panes-active-colour white
set-option - g display-panes-colour white
set-window-option - g window-status-fg " # 6 6 6 6 6 6 "
set-window-option - g window-status-bg default
set-window-option - g window-status-current-fg white
set-window-option - g window-status-current-bg default
set-window-option - g window-status-format " # W "
set-window-option - g window-status-current-format " # W "
set-window-option - g window-status-separator " "
set-window-option - g clock-mode-colour white
# remove when tmux-plugin-navigator plugin is added
is_vim = " p s - o s t a t e = - o c o m m = - t ' # { p a n e _ t t y } ' \
| grep - iqE ' ^ [ ^ TXZ ] + + ( \ \ S + \ \ / ) ? g ? ( view | n ? vim ? x ? ) ( diff ) ? $ ' "
tmux bind-key - n C-h if-shell " $ i s _ v i m " " s e n d - k e y s C - h " " s e l e c t - p a n e - L "
tmux bind-key - n C-j if-shell " $ i s _ v i m " " s e n d - k e y s C - j " " s e l e c t - p a n e - D "
tmux bind-key - n C-k if-shell " $ i s _ v i m " " s e n d - k e y s C - k " " s e l e c t - p a n e - U "
tmux bind-key - n C-l if-shell " $ i s _ v i m " " s e n d - k e y s C - l " " s e l e c t - p a n e - R "
tmux bind-key - n C- \ \ if-shell " $ i s _ v i m " " s e n d - k e y s C - \\ " " s e l e c t - p a n e - l "
tmux bind-key - T copy-mode-vi C-h select-pane - L
tmux bind-key - T copy-mode-vi C-j select-pane - D
tmux bind-key - T copy-mode-vi C-k select-pane - U
tmux bind-key - T copy-mode-vi C-l select-pane - R
tmux bind-key - T copy-mode-vi C- \ \ select-pane - l
'' ;
} ;
# programs.fish = {
# enable = true;
# shellAliases = {