Compare commits

...

4 Commits

Author SHA1 Message Date
deadvey
1bd4797d82 2024-12-13 11:16 : id 434 2024-12-13 11:16:56 +00:00
deadvey
03aef9f14b 2024-12-13 10:08 : id 431 2024-12-13 10:08:47 +00:00
deadvey
76daa5dc79 2024-12-12 20:02 : id 430 2024-12-13 10:08:27 +00:00
deadvey
7d642c5528 2024-12-12 20:02 : id 430 2024-12-12 20:02:23 +00:00
2 changed files with 5 additions and 4 deletions

View File

@ -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