Improve Themechange script

This commit is contained in:
Tyler Kelley 2024-02-29 22:01:06 -06:00
parent e326aca63a
commit f12229a62e
2 changed files with 2 additions and 4 deletions

View File

@ -9,8 +9,6 @@ pkgs.writeShellScriptBin "themechange" ''
else
replacement="$1"
sed -i "/^\s*theme[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$replacement\"/" ${flakeDir}/options.nix
pkexec nixos-rebuild switch --flake ${flakeDir}
hyprctl dispatch -- exec swaync-client -R
hyprctl dispatch -- exec swaync-client -rs
kitty -e pkexec nixos-rebuild switch --flake ${flakeDir}
fi
''

View File

@ -15,7 +15,7 @@ in {
hostname = "${hostname}";
gitUsername = "Tyler Kelley";
gitEmail = "tylerzanekelley@gmail.com";
theme = "gigavolt";
theme = "3024";
slickbar = if waybarStyle == "slickbar" then true else false;
simplebar = if waybarStyle == "simplebar" then true else false;
bar-number = true; # Enable / Disable Workspace Numbers In Waybar