mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 05:11:54 -05:00
updated emacs config
This commit is contained in:
parent
35deb5e409
commit
153495afbd
|
@ -11,6 +11,15 @@
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraPackages = ( epkgs: (with epkgs; [
|
||||||
|
better-defaults
|
||||||
|
org
|
||||||
|
org-bullets
|
||||||
|
org-journal
|
||||||
|
org-roam
|
||||||
|
nix-mode
|
||||||
|
])
|
||||||
|
);
|
||||||
package = pkgs.emacs-nox;
|
package = pkgs.emacs-nox;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
|
@ -48,10 +57,22 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
mouse = true;
|
mouse = true;
|
||||||
newSession = true;
|
newSession = true;
|
||||||
|
plugins = with pkgs; [
|
||||||
|
tmuxPlugins.weather
|
||||||
|
tmuxPlugins.better-mouse-mode
|
||||||
|
tmuxPlugins.cpu
|
||||||
|
tmuxPlugins.battery
|
||||||
|
];
|
||||||
terminal = "tmux-256color";
|
terminal = "tmux-256color";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set-option -g status-bg blue
|
set-option -g status-bg blue
|
||||||
set-option -g pane-active-border-style fg=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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue