This commit is contained in:
Nico
2025-01-20 19:40:38 +01:00
parent 81b9dac500
commit 5c4b465ca7
6 changed files with 181 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
./emacs
./kitty
./rofi
./tmux
# ./hyprland
# ./vscode
];

View File

@@ -9,6 +9,7 @@
./nvim
./emacs
./kitty
./rofi
# ./hyprland
# ./vscode
];

36
packages/tmux/default.nix Normal file
View File

@@ -0,0 +1,36 @@
{ pkgs, config, lib,... }:
{
home.packages = with pkgs; [
];
programs.tmux = {
enable = true;
extraConfig = ''
set-option -sa terminal-overrides ",xterm*:Tc"
set -g @catppuccin_flavor 'mocha'
set -g @catppuccin_window_status_style "rounded"
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set -g mouse on
bind -n M-H previous-window
bind -n M-L next-window
'';
plugins = [
pkgs.tmuxPlugins.catppuccin
pkgs.tmuxPlugins.vim-tmux-navigator
];
};
}

View File

@@ -0,0 +1,34 @@
{ pkgs, config, lib,... }:
{
home.packages = with pkgs; [
];
programs.tmux = {
enable = true;
extraConfig = ''
set-option -sa terminal-overrides ",xterm*:Tc"
set -g @catppuccin_flavor 'mocha'
set -g @catppuccin_window_status_style "rounded"
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
bind -n M-H previous-window
bind -n M-L next-window
'';
plugins = [
pkgs.tmuxPlugins.catppuccin
pkgs.tmuxPlugins.vim-tmux-navigator
];
};
}