Compare commits
4 Commits
024f129187
...
1bd4797d82
Author | SHA1 | Date | |
---|---|---|---|
|
1bd4797d82 | ||
|
03aef9f14b | ||
|
76daa5dc79 | ||
|
7d642c5528 |
@ -1,8 +1,8 @@
|
||||
{config, pkgs, lib, ... }:
|
||||
let
|
||||
# Theme/Mode
|
||||
THEME = "dracula";
|
||||
MODE = "dark";
|
||||
THEME = "gruvbox";
|
||||
MODE = "light";
|
||||
|
||||
# Colours
|
||||
inherit (import ./themes/${THEME}_${MODE}.nix) BG FG GRAY DARK_GRAY RED DARK_RED GREEN DARK_GREEN YELLOW DARK_YELLOW BLUE DARK_BLUE PURPLE DARK_PURPLE CYAN DARK_CYAN GTK_THEME GTK_THEME_NAME GTK_ICONS GTK_CURSOR;
|
||||
@ -71,6 +71,7 @@ in
|
||||
minetest
|
||||
mpv
|
||||
pavucontrol
|
||||
rustup
|
||||
sunwait
|
||||
tmux
|
||||
tor-browser
|
||||
@ -122,10 +123,10 @@ in
|
||||
text = ''
|
||||
run_a_command() {
|
||||
if [[ "$light" == "DAY" ]]; then
|
||||
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "light"/' $HOME/.config/home/home.nix
|
||||
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "light"/' $HOME/.config/home-manager/home.nix
|
||||
home-manager switch
|
||||
else
|
||||
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "dark"/' $HOME/.config/home/home.nix
|
||||
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "dark"/' $HOME/.config/home-manager/home.nix
|
||||
home-manager switch
|
||||
fi
|
||||
};
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 185 KiB |
Loading…
Reference in New Issue
Block a user