From 153495afbd45088428c31f3e8fcf33e93e7dc9a1 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 22 Mar 2024 18:26:42 -0400 Subject: [PATCH] updated emacs config --- home/shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/home/shell.nix b/home/shell.nix index d1adadc6..89024e30 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -11,6 +11,15 @@ programs.emacs = { enable = true; + extraPackages = ( epkgs: (with epkgs; [ + better-defaults + org + org-bullets + org-journal + org-roam + nix-mode + ]) + ); package = pkgs.emacs-nox; extraConfig = '' (setq-default indent-tabs-mode nil) @@ -48,10 +57,22 @@ enable = true; mouse = true; newSession = true; + plugins = with pkgs; [ + tmuxPlugins.weather + tmuxPlugins.better-mouse-mode + tmuxPlugins.cpu + tmuxPlugins.battery + ]; terminal = "tmux-256color"; extraConfig = '' set-option -g status-bg blue set-option -g pane-active-border-style fg=blue + set-option -g @tmux-weather-format "%x+%t" + set-option -g @tmux-weather-units "u" + set -g status-right '#{cpu_percentage} CPU | #{battery_percentage} BAT | %I:%M %p | #{weather}' + run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux + run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux + run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux ''; }; } \ No newline at end of file