diff options
| -rw-r--r-- | assets/SOURCES.md | 8 | ||||
| -rw-r--r-- | roles/home/desktop/theme.nix | 38 | ||||
| -rw-r--r-- | snowfall/homes/x86-64-linux/c/default.nix | 5 | ||||
| -rw-r--r-- | snowfall/homes/x86_64-linux/c/default.nix | 9 | ||||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/SOURCES.md | 6 | ||||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/lycoris.png (renamed from assets/bg/lycoris.png) | bin | 28947690 -> 28947690 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/matama.png (renamed from assets/bg/matama.png) | bin | 9543767 -> 9543767 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/mem.png (renamed from assets/bg/mem.png) | bin | 6454104 -> 6454104 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/nonon.png (renamed from assets/bg/nonon.png) | bin | 145618 -> 145618 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/ryo.png (renamed from assets/bg/ryo.png) | bin | 5189063 -> 5189063 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/shinobu.png (renamed from assets/bg/shinobu.png) | bin | 4879909 -> 4879909 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/bg/skull.png (renamed from assets/bg/skull.png) | bin | 2651560 -> 2651560 bytes | |||
| -rw-r--r-- | snowfall/modules/home/desktop/default.nix | 55 | ||||
| -rw-r--r-- | snowfall/modules/home/desktop/theme/gruvbox.nix | 27 | ||||
| -rw-r--r-- | themes/lycoris.nix | 32 | ||||
| -rw-r--r-- | themes/matama.nix | 32 | ||||
| -rw-r--r-- | themes/mem.nix | 32 | ||||
| -rw-r--r-- | themes/nonon.nix | 32 | ||||
| -rw-r--r-- | themes/ryo.nix | 32 | ||||
| -rw-r--r-- | themes/shinobu.nix | 32 | ||||
| -rw-r--r-- | themes/skull.nix | 32 |
21 files changed, 98 insertions, 274 deletions
diff --git a/assets/SOURCES.md b/assets/SOURCES.md index 06e034a..f0bea64 100644 --- a/assets/SOURCES.md +++ b/assets/SOURCES.md @@ -1,14 +1,8 @@ # Asset Sources -## Backgrounds -- `matama.png`: Mahou Shoujo ni Akogarete S01E09 (Edited) -- `mem.png`: Oshi no Ko S01 OP -- `shinobu.png`: Kizumonogatari I: Tekketsu (Edited) -- `skull.png`: [Akiakane](https://akiakane.net) - ## Fastfetch - `nonon.png`: Kill la Kill (Unknown) - `ryo.png`: Bocchi the Rock! (Unknown, Edited) ## Misc -- `album_art_placeholder.png`: Me and my legendary artistic talent
\ No newline at end of file +- `album_art_placeholder.png`: Me and my legendary artistic talent diff --git a/roles/home/desktop/theme.nix b/roles/home/desktop/theme.nix deleted file mode 100644 index a6e4f43..0000000 --- a/roles/home/desktop/theme.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, ... }: -with lib; - -{ - options.theme = { - background = mkOption { - type = types.str; - example = "mem.png"; - description = '' - Background image. Path starts in ~/Pictures/bg/ - ''; - }; - - colors = let - mkColorOption = name: { - inherit name; - value = mkOption { - type = types.strMatching "[a-fA-F0-9]{6}"; - default = "ff00ff"; - example = "23ce94"; - description = '' - Hex value for color "${name}". - ''; - }; - }; - in listToAttrs (map mkColorOption [ - "accent" - - "black" "red" "green" "yellow" "blue" "magenta" "cyan" "white" - "brightBlack" "brightRed" "brightGreen" "brightYellow" "brightBlue" "brightMagenta" "brightCyan" "brightWhite" - - "bg" "bg0" "bg1" "bg2" "bg3" "bg4" - "fg" "fg0" "fg1" "fg2" "fg3" "fg4" - - "orange" "brightOrange" - ]); - }; -} diff --git a/snowfall/homes/x86-64-linux/c/default.nix b/snowfall/homes/x86-64-linux/c/default.nix deleted file mode 100644 index 03d5259..0000000 --- a/snowfall/homes/x86-64-linux/c/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: - -{ - cxl = {}; -} diff --git a/snowfall/homes/x86_64-linux/c/default.nix b/snowfall/homes/x86_64-linux/c/default.nix new file mode 100644 index 0000000..64d6f0d --- /dev/null +++ b/snowfall/homes/x86_64-linux/c/default.nix @@ -0,0 +1,9 @@ +{ lib, namespace, ... }: + +with lib; with lib.${namespace}; { + cxl = { + desktop.background = "shinobu.png"; + }; + + home.stateVersion = "23.11"; +} diff --git a/snowfall/modules/home/desktop/bg/SOURCES.md b/snowfall/modules/home/desktop/bg/SOURCES.md new file mode 100644 index 0000000..893f894 --- /dev/null +++ b/snowfall/modules/home/desktop/bg/SOURCES.md @@ -0,0 +1,6 @@ +# Background Image Sources +- `matama.png`: Mahou Shoujo ni Akogarete S01E09 (Edited) +- `mem.png`: Oshi no Ko S01 OP +- `shinobu.png`: Kizumonogatari I: Tekketsu (Edited) +- `skull.png`: [Akiakane](https://akiakane.net) + diff --git a/assets/bg/lycoris.png b/snowfall/modules/home/desktop/bg/lycoris.png Binary files differindex 8c8ba19..8c8ba19 100644 --- a/assets/bg/lycoris.png +++ b/snowfall/modules/home/desktop/bg/lycoris.png diff --git a/assets/bg/matama.png b/snowfall/modules/home/desktop/bg/matama.png Binary files differindex 248d18e..248d18e 100644 --- a/assets/bg/matama.png +++ b/snowfall/modules/home/desktop/bg/matama.png diff --git a/assets/bg/mem.png b/snowfall/modules/home/desktop/bg/mem.png Binary files differindex 1cd2007..1cd2007 100644 --- a/assets/bg/mem.png +++ b/snowfall/modules/home/desktop/bg/mem.png diff --git a/assets/bg/nonon.png b/snowfall/modules/home/desktop/bg/nonon.png Binary files differindex b16de01..b16de01 100644 --- a/assets/bg/nonon.png +++ b/snowfall/modules/home/desktop/bg/nonon.png diff --git a/assets/bg/ryo.png b/snowfall/modules/home/desktop/bg/ryo.png Binary files differindex d268a89..d268a89 100644 --- a/assets/bg/ryo.png +++ b/snowfall/modules/home/desktop/bg/ryo.png diff --git a/assets/bg/shinobu.png b/snowfall/modules/home/desktop/bg/shinobu.png Binary files differindex 176ac0c..176ac0c 100644 --- a/assets/bg/shinobu.png +++ b/snowfall/modules/home/desktop/bg/shinobu.png diff --git a/assets/bg/skull.png b/snowfall/modules/home/desktop/bg/skull.png Binary files differindex 0cd2deb..0cd2deb 100644 --- a/assets/bg/skull.png +++ b/snowfall/modules/home/desktop/bg/skull.png diff --git a/snowfall/modules/home/desktop/default.nix b/snowfall/modules/home/desktop/default.nix new file mode 100644 index 0000000..4dc7a1b --- /dev/null +++ b/snowfall/modules/home/desktop/default.nix @@ -0,0 +1,55 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.desktop; +in { + options.${namespace}.desktop = with types; { + background = mkOption { + type = enum [ + "lycoris.png" + "matama.png" + "mem.png" + "nonon.png" + "ryo.png" + "shinobu.png" + "skull.png" + ]; + }; + + theme = { + name = mkOption { + type = enum [ "gruvbox" ]; + default = "gruvbox"; + }; + + colors = let + mkColorOption = name: { + inherit name; + value = mkOption { + type = strMatching "[a-fA-F0-9]{6}"; + default = "ff00ff"; + example = "23ce94"; + description = '' + Hex value for color "${name}". + ''; + }; + }; + in listToAttrs (map mkColorOption [ + "accent" + + "black" "red" "green" "yellow" "blue" "magenta" "cyan" "white" + "brightBlack" "brightRed" "brightGreen" "brightYellow" "brightBlue" "brightMagenta" "brightCyan" "brightWhite" + + "bg" "bg0" "bg1" "bg2" "bg3" "bg4" + "fg" "fg0" "fg1" "fg2" "fg3" "fg4" + + "orange" "brightOrange" + ]); + }; + }; + + config = { + cxl.desktop.theme.colors = import ./theme/${cfg.theme.name}.nix; + }; +} + diff --git a/snowfall/modules/home/desktop/theme/gruvbox.nix b/snowfall/modules/home/desktop/theme/gruvbox.nix new file mode 100644 index 0000000..c955374 --- /dev/null +++ b/snowfall/modules/home/desktop/theme/gruvbox.nix @@ -0,0 +1,27 @@ +{ + accent = "cc241d"; + + black = "282828"; brightBlack = "928374"; + red = "cc241d"; brightRed = "fb4934"; + green = "98971a"; brightGreen = "b8bb26"; + yellow = "d79921"; brightYellow = "fabd2f"; + blue = "458588"; brightBlue = "83a598"; + magenta = "b16286"; brightMagenta = "d3869b"; + cyan = "689d6a"; brightCyan = "8ec07c"; + white = "a89984"; brightWhite = "ebdbb2"; + + bg = "282828"; + bg0 = "282828"; + bg1 = "3c3836"; + bg2 = "504945"; + bg3 = "665c54"; + bg4 = "7c6f64"; + + fg = "ebdbb2"; + fg0 = "fbf1c7"; + fg1 = "ebdbb2"; + fg2 = "d5c4a1"; + fg3 = "bdae93"; + fg4 = "a89984"; +} + diff --git a/themes/lycoris.nix b/themes/lycoris.nix deleted file mode 100644 index e62df29..0000000 --- a/themes/lycoris.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "lycoris.png"; - - colors = { - accent = "cc241d"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/matama.nix b/themes/matama.nix deleted file mode 100644 index 1a7ee5f..0000000 --- a/themes/matama.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "matama.png"; - - colors = { - accent = "b16286"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/mem.nix b/themes/mem.nix deleted file mode 100644 index df80f0e..0000000 --- a/themes/mem.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "mem.png"; - - colors = { - accent = "f6e43a"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "f6e43a"; #NOTE: brightYellow has been changed - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/nonon.nix b/themes/nonon.nix deleted file mode 100644 index 7d91dd4..0000000 --- a/themes/nonon.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "nonon.png"; - - colors = { - accent = "cc241d"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/ryo.nix b/themes/ryo.nix deleted file mode 100644 index 9621624..0000000 --- a/themes/ryo.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "ryo.png"; - - colors = { - accent = "458588"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/shinobu.nix b/themes/shinobu.nix deleted file mode 100644 index 229dd5f..0000000 --- a/themes/shinobu.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "shinobu.png"; - - colors = { - accent = "cc241d"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} diff --git a/themes/skull.nix b/themes/skull.nix deleted file mode 100644 index 8ebdd1e..0000000 --- a/themes/skull.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - background = "skull.png"; - - colors = { - accent = "458588"; - - black = "282828"; brightBlack = "928374"; - red = "cc241d"; brightRed = "fb4934"; - green = "98971a"; brightGreen = "b8bb26"; - yellow = "d79921"; brightYellow = "fabd2f"; - blue = "458588"; brightBlue = "83a598"; - magenta = "b16286"; brightMagenta = "d3869b"; - cyan = "689d6a"; brightCyan = "8ec07c"; - white = "a89984"; brightWhite = "ebdbb2"; - - bg = "282828"; - bg0 = "282828"; - bg1 = "3c3836"; - bg2 = "504945"; - bg3 = "665c54"; - bg4 = "7c6f64"; - - fg = "ebdbb2"; - fg0 = "fbf1c7"; - fg1 = "ebdbb2"; - fg2 = "d5c4a1"; - fg3 = "bdae93"; - fg4 = "a89984"; - - orange = "d65d0e"; brightOrange = "fe8019"; - }; -} |