feat: useless feature which makes the theme change based on an env var
This commit is contained in:
parent
2757c649b9
commit
a27b90af9e
10 changed files with 48 additions and 37 deletions
modules/applications/shells
|
@ -24,5 +24,5 @@
|
|||
# Render git repo using gource
|
||||
"git-render" = "gource -f -s 1 -c 4 --key";
|
||||
|
||||
alacritty = "alacritty --config-file $XDG_CONFIG_HOME/alacritty/themes/$THEME.yml";
|
||||
alacritty = "alacritty --config-file ~/.config/alacritty/themes/$THEME.yml";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
with import ../../../secrets.nix;
|
||||
let
|
||||
theme = "github-dark";
|
||||
variables = {
|
||||
# Configure github cli
|
||||
GITHUB_USERNAME = "Mateiadrielrafael";
|
||||
|
@ -10,7 +11,10 @@ let
|
|||
EDITOR = "nvim";
|
||||
|
||||
# Sets the current theme used by all programs
|
||||
THEME = "github-light";
|
||||
THEME = theme;
|
||||
|
||||
# Common command for launching alacritty with the correct theme
|
||||
# LAUNCH_ALACRITTY = "alacritty --config-file ~/.config/alacritty/themes/$THEME.yml";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue