From aef0baf527a32773f99c3ea8930198b4efa6e488 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 25 Jul 2021 08:47:59 +0200 Subject: [PATCH] programs: Add dynamic-colors --- users/simon/modules/programs.nix | 5 +++-- users/simon/modules/zsh/default.nix | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/users/simon/modules/programs.nix b/users/simon/modules/programs.nix index a0bfc04..d26bd27 100644 --- a/users/simon/modules/programs.nix +++ b/users/simon/modules/programs.nix @@ -114,9 +114,10 @@ in xkcdpass # memorable password generator # misc - toilet # free figlet - python38Packages.ipython # better python repl (useful for one-liners) bwrap-helper # helper to create bubblewrap containers + dynamic-colors # on-the-fly color scheme switching + python38Packages.ipython # better python repl (useful for one-liners) + toilet # free figlet # vim neovim-remote # controlling another neovim process diff --git a/users/simon/modules/zsh/default.nix b/users/simon/modules/zsh/default.nix index cba6edd..11e5c62 100644 --- a/users/simon/modules/zsh/default.nix +++ b/users/simon/modules/zsh/default.nix @@ -53,7 +53,10 @@ in ]; shellAliases = { cp = "cp --reflink=auto"; # TODO: remove with coreutils > 8.32 + dcsd = "dynamic-colors switch solarized-dark"; + dcsl = "dynamic-colors switch solarized-light"; exa = "exa --git --binary"; + ip = "ip --color=auto"; ipy = "ipython3"; l = "exa -l"; la = "exa -la"; @@ -62,7 +65,6 @@ in userctl = "systemctl --user"; vim = "nvim"; vimdiff = "nvim -d"; - ip = "ip --color=auto"; }; initExtra = lib.mkMerge [ (lib.mkBefore ''