diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/.fdignore | 9 | ||||
| -rw-r--r-- | config/.tmux.conf | 52 | ||||
| -rw-r--r-- | config/alacritty/default.nix | 11 | ||||
| -rw-r--r-- | config/themes.nix | 25 | 
4 files changed, 97 insertions, 0 deletions
| diff --git a/config/.fdignore b/config/.fdignore new file mode 100644 index 0000000..44ba588 --- /dev/null +++ b/config/.fdignore @@ -0,0 +1,9 @@ +.git +cache +.cache +node_modules +.npm +site-packages +go/pkg +build +virtualenv diff --git a/config/.tmux.conf b/config/.tmux.conf new file mode 100644 index 0000000..94169b0 --- /dev/null +++ b/config/.tmux.conf @@ -0,0 +1,52 @@ +set -sg escape-time 0 +set -g history-limit 10000 + +set -g status-interval 5 +set -g default-terminal "screen-256color" +set -g focus-events on + +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 + +set-option -g detach-on-destroy off + +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' + +unbind C-b +unbind '"' +unbind % +unbind c + +set-option -g prefix C-x +bind-key C-x send-prefix + +bind -n M-h previous-window +bind -n M-l next-window + +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" + +bind-key r command-prompt -I "#W" "rename-window '%%'" +bind-key x kill-pane +bind-key c new-window -c "#{pane_current_path}" + +unbind f +bind f split-pane "bash ~/.sessionizer.sh" + +bg="#272727" + +set -g status-position "bottom" +set -g status-style bg=default,fg=default +set -g status-left " λ " +set -g status-right "" +set -g window-status-format " #I:#W " +set -g window-status-current-format "#[bg=${bg},fg=#f2f0fa] #I:#W " + +run '~/.tmux/plugins/tpm/tpm' diff --git a/config/alacritty/default.nix b/config/alacritty/default.nix new file mode 100644 index 0000000..af272ef --- /dev/null +++ b/config/alacritty/default.nix @@ -0,0 +1,11 @@ +{ pkgs, config, ... }: + +{ +  programs.git = { +    enable = true; +    userName = "Raghuram Subramani"; +    userEmail = "raghus2247@gmail.com"; +  }; + +  programs.alacritty.enable = true; +} diff --git a/config/themes.nix b/config/themes.nix new file mode 100644 index 0000000..a0b20f5 --- /dev/null +++ b/config/themes.nix @@ -0,0 +1,25 @@ +{ home, pkgs, ... }: + +{ +  home.pointerCursor = { +    gtk.enable = true; +    package = pkgs.bibata-cursors; +    name = "Bibata-Modern-Classic"; +    size = 16; +  }; + +  gtk = { +    enable = true; + +    theme = { name = "adw-gtk3-dark"; package = pkgs.adw-gtk3; }; +    iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; + +    font = { name = "UbuntuMono Nerd Font"; }; +  }; + +  qt = { +    enable = true; +    platformTheme = "gtk"; +    style.name = "adwaita-dark"; +  }; +} | 
