diff --git a/Droidnix/README.html b/Droidnix/README.html index a65ffc972..efe9e470d 100644 --- a/Droidnix/README.html +++ b/Droidnix/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Droidnix: A Dendritic NixOS + Home Manager Configuration NixOS Configuration Structure @@ -204,117 +204,122 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -330,26 +335,26 @@

Introduction   intro

-
-

What is Droidnix

-
+
+

What is Droidnix

+

Droidnix is a modular, declarative NixOS + Home Manager configuration system. It allows users to choose between Hyprland and Mangowc as their window manager, with shared and WM-specific configurations managed via Emacs Org and Nix Flakes. The project is designed for reproducibility, maintainability, and cross-machine compatibility.

-
-

Installed components:

-
+
+

Installed components:

+
    -
  • Core
  • -
  • Hyprland
  • -
  • Mangowc
  • +
  • Core
  • +
  • Hyprland
  • +
  • Mangowc
-
-

Goals, project Structure, import hierarchy

-
+
+

Goals, project Structure, import hierarchy

+

This project uses a modular NixOS configuration with Hyprland and MangoWC support, designed for literate programming and cross-device reusability. The Droidnix repository is organized into two main parts: @@ -362,9 +367,9 @@ The Droidnix repository is organized into two main parts:

-
-

Root Level

-
+
+

Root Level

+
  • flake.nix is the entry point and imports:
      @@ -375,16 +380,16 @@ The Droidnix repository is organized into two main parts:
-
-

Generated Structure

-
+
+

Generated Structure

+

The generated/ directory contains all generated configurations, divided into three main groups: system, hyprland, and mangowc.

-
-

First Setup

-
+
+

First Setup

+
  1. Clone this repository.
  2. Run the setup script: ./setup_droid.
  3. @@ -414,9 +419,9 @@ The .assets/ folder contains all static files, such as configs, scr This section contains the Org blocks for tangling Nix code into the generated folders.

-
-

flake.nix

-
+
+

flake.nix

+

The Nix flake definition for Droidnix.

@@ -485,9 +490,9 @@ The Nix flake definition for Droidnix.
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -545,9 +550,9 @@ in
 
-
-

generated/hosts/traveldroid/hardware-configuration.nix

-
+
+

generated/hosts/traveldroid/hardware-configuration.nix

+
  1. Boot into NixOS Live ISO or your installed system.
  2. Open a terminal.
  3. @@ -605,9 +610,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
{ config, pkgs, lib, flakeRoot, ... }:
 
@@ -654,17 +659,17 @@ in
 
-
-

Following are the imported modules

+
+

Following are the imported modules

-
-

generated/traveldroid/modules/apps

-
+
+

generated/traveldroid/modules/apps

+
-
-

generated/modules/traveldroid/apps/2_b_installed.nix

-
+
+

generated/modules/traveldroid/apps/2_b_installed.nix

+

This installs a list of apps

@@ -772,9 +777,9 @@ in {
-
-

generated/assets/2_b_installed.conf

-
+
+

generated/assets/2_b_installed.conf

+

This is a list of additional apps to install

@@ -827,9 +832,9 @@ com.todoist.Todoist
-
-

generated/modules/traveldroid/apps/flameshot.nix

-
+
+

generated/modules/traveldroid/apps/flameshot.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

@@ -868,9 +873,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -928,9 +933,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

@@ -969,9 +974,9 @@ in
-
-

.config/starship.toml

-
+
+

.config/starship.toml

+

These are config files for .config

@@ -1260,9 +1265,9 @@ crust = "#181926"
-
-

generated/modules/traveldroid/apps/thunar.nix

-
+
+

generated/modules/traveldroid/apps/thunar.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

@@ -1303,9 +1308,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1327,7 +1332,7 @@ in force = true; }; ".config/wofi/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; }; @@ -1338,9 +1343,9 @@ in
-
-

.config/wofi/config

-
+
+

.config/wofi/config

+

These are config files for .config/wofi

@@ -1387,39 +1392,42 @@ prompt = >
-
-

.config/wofi/style.css

-
+
+

.config/wofi/style.css

+

These are config files for .config/wofi +#+BEGINSRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never +* Catppuccin Mocha theme for Wofi with gradient borders and transparency *

-
-
/* Catppuccin Mocha theme for Wofi with transparency and rounded corners */
 
-/* === Catppuccin Mocha Palette === */
-
-/* Background / Base */
+

+* = Catppuccin Mocha Palette = * @define-color crust #11111b; @define-color mantle #181825; @define-color base #1e1e2e; @define-color base-alpha rgba(30, 30, 46, 0.9); +

-/* Surface */ +

@define-color surface0 #313244; @define-color surface1 #45475a; @define-color surface2 #585b70; +

-/* Overlays */ +

@define-color overlay0 #6c7086; @define-color overlay1 #7f849c; @define-color overlay2 #9399b2; +

-/* Subtext & Text */ +

@define-color subtext0 #a6adc8; @define-color subtext1 #bac2de; @define-color text #cdd6f4; +

-/* Accents */ +

@define-color rosewater #f5e0dc; @define-color flamingo #f2cdcd; @define-color pink #f5c2e7; @@ -1433,76 +1441,104 @@ These are config files for .config/wofi @define-color sapphire #74c7ec; @define-color blue #89b4fa; @define-color lavender #b4befe; +

- * { +

+* Global styles * +

+
+
+
+
+

{

+
+

background-color: transparent; color: @text; font-family: "JetBrainsMono Nerd Font", monospace; font-size: 12pt; } +

+

+* Main menu container with gradient border * #main { - background-color: @base; - border: 1px solid @surface0; - border-radius: 30px; /* Rounded corners */ + background: + linear-gradient(@base-alpha, @base-alpha) padding-box, * Inner fill * + linear-gradient(45deg, @blue, @green) border-box; * Gradient border * + border: 2px solid transparent; * Required for border-box layering * + border-radius: 30px; padding: 20px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } +

+

+* Input field * #input { background-color: @surface0; color: @text; border: 1px solid @surface1; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; padding: 5px 10px; margin-bottom: 10px; } +

+

+* Entries * #entry { - background-color: rgba( - 200, - 200, - 200, - 0.2 - ); /* very light grey, very transparent */ + background-color: rgba(200,200,200,0.2); color: @text; border-radius: 30px; padding: 5px 10px; margin: 2px 0; + border: 2px solid transparent; * needed for gradient on selection * } +

+

+* Entry focus (hover or typing) * #entry:focus { - background-color: @surface1; - color: @lavender; - border-radius: 30px; /* Rounded corners */ background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; + color: @lavender; + border-radius: 30px; } +

+

+* Entry selection * #entry:selected { - background-color: @surface2; + background: + linear-gradient(@base-alpha, @base-alpha) padding-box, + linear-gradient(45deg, @blue, @green) border-box; color: @text; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; } +

+

+* Scrollbar * #scrollbar { background-color: @surface0; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; width: 8px; } +

+

#scrollbar.handle { background-color: @blue; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; } - +#+ENDSRC +

-
-
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1522,9 +1558,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1587,9 +1623,9 @@ in
-
-

=generated/.config/zsh/.zshrc

-
+
+

=generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -1610,9 +1646,9 @@ fi
-
-

generated/modules/traveldroid/apps/emacs/emacs.nix

-
+
+

generated/modules/traveldroid/apps/emacs/emacs.nix

+

This installs emacs

@@ -1708,9 +1744,9 @@ in
-
-

generated/.config/emacs/early-init.el

-
+
+

generated/.config/emacs/early-init.el

+

This contaions emacs

@@ -1811,9 +1847,9 @@ package-archive-priorities '(("gnu" . 99)
-
-

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -2224,13 +2260,13 @@ the top of the file."
-
-

generated/modules/traveldroid/desktop

-
+
+

generated/modules/traveldroid/desktop

+
-
-

generated/modules/traveldroid/desktop/fonts.nix

-
+
+

generated/modules/traveldroid/desktop/fonts.nix

+

This file installs and configures fonts

@@ -2248,9 +2284,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -2276,9 +2312,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -2325,9 +2361,9 @@ in
-
-

.config/hypr/animations.conf

-
+
+

.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -2348,9 +2384,9 @@ animations {
-
-

.config/hypr/behaviour.conf

-
+
+

.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -2364,9 +2400,9 @@ These are config files for .config/hypr
-
-

.config/hypr/bindings.conf

-
+
+

.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -2534,9 +2570,9 @@ bind = , workspace, exec, ~/.config/hypr/scripts/set-workspace-wallpaper.sh
-
-

.config/hypr/exec-once.conf

-
+
+

.config/hypr/exec-once.conf

+

These are config files for .config/hypr

@@ -2555,9 +2591,9 @@ exec-once = nextcloud --background
-
-

.config/hypr/hypridle.conf

-
+
+

.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -2582,9 +2618,9 @@ listener {
-
-

.config/hypr/hyprland.conf

-
+
+

.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -2630,9 +2666,9 @@ misc {
-
-

.config/hypr/hyprlock.conf

-
+
+

.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -2673,9 +2709,9 @@ label {
-
-

.config/hypr/layer-rules.conf

-
+
+

.config/hypr/layer-rules.conf

+

These are config files for .config/hypr

@@ -2690,9 +2726,9 @@ layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window
-
-

.config/hypr/layout.conf

-
+
+

.config/hypr/layout.conf

+

These are config files for .config/hypr

@@ -2702,9 +2738,9 @@ These are config files for .config/hypr
-
-

.config/hypr/monitor-rules.conf

-
+
+

.config/hypr/monitor-rules.conf

+

These are config files for .config/hypr

@@ -2715,9 +2751,9 @@ monitor=DP-1,3840x1080@144,1920x0,1
-
-

.config/hypr/scripts/layout-selector.sh

-
+
+

.config/hypr/scripts/layout-selector.sh

+

These are config files for .config/hypr/scripts

@@ -2760,9 +2796,9 @@ hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-

.config/hypr/theming.css

-
+
+

.config/hypr/theming.css

+

These are config files for .config/hypr

@@ -2811,9 +2847,9 @@ decoration {
-
-

.config/hypr/window-rules.conf

-
+
+

.config/hypr/window-rules.conf

+

These are config files for .config/hypr

@@ -2851,9 +2887,9 @@ windowrule {
-
-

.config/hypr/workspace-rules.conf

-
+
+

.config/hypr/workspace-rules.conf

+

These are config files for .config/hypr

@@ -2879,9 +2915,9 @@ workspace = 10
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -2980,9 +3016,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -3069,9 +3105,9 @@ in
 
-
-

.config/stylix/stylix.conf

-
+
+

.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -3108,9 +3144,9 @@ icons = {
-
-

.config/stylix/palette.json

-
+
+

.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -3140,9 +3176,9 @@ These are config files for .config/stylix
-
-

.config/stylix/palette.html

-
+
+

.config/stylix/palette.html

+

These are config files for .config/stylix

@@ -3220,9 +3256,9 @@ These are config files for .config/stylix
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -3245,7 +3281,7 @@ in force = true; }; ".config/waybar/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; ".config/waybar/scripts/bluetooth-status.sh" = { @@ -3288,9 +3324,9 @@ in
-
-

.config/waybar/config

-
+
+

.config/waybar/config

+

These are config files for waybar

@@ -3498,9 +3534,9 @@ These are config files for waybar
-
-

.config/waybar/style.css

-
+
+

.config/waybar/style.css

+

This file contains all css for waybar

@@ -3725,9 +3761,9 @@ window#waybar {
-
-

.config/waybar/scripts/bluetooth-status.sh

-
+
+

.config/waybar/scripts/bluetooth-status.sh

+

These are config files for waybar

@@ -3753,9 +3789,9 @@ printf '{"text": "%s", "tooltip": "%s"}\n' "$icon" "$tooltip"
-
-

.config/waybar/scripts/hypr-workspaces.sh

-
+
+

.config/waybar/scripts/hypr-workspaces.sh

+

These are config files for waybar

@@ -3785,9 +3821,9 @@ jq -c -n \
-
-

.config/waybar/scripts/hypr-workspacesmenu.sh

-
+
+

.config/waybar/scripts/hypr-workspacesmenu.sh

+

These are config files for waybar

@@ -3804,9 +3840,9 @@ hyprctl dispatch focuswindow address:$addr
-
-

.config/waypaper/config.ini

-
+
+

.config/waypaper/config.ini

+

These are config files for waypaper

@@ -3843,9 +3879,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -3875,9 +3911,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -3931,13 +3967,13 @@ in
-
-

generated/modules/traveldroid/system

-
+
+

generated/modules/traveldroid/system

+
-
-

generated/modules/traveldroid/system/audio.nix

-
+
+

generated/modules/traveldroid/system/audio.nix

+
{ lib, config, pkgs, ... }:
 
@@ -3955,9 +3991,9 @@ in
 
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+
{ lib, config, pkgs, home-manager, ... }:
 
@@ -3978,9 +4014,9 @@ in
 
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -4007,9 +4043,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/gnome-keyring.nix

-
+
+

generated/modules/traveldroid/system/gnome-keyring.nix

+

This sets the dbus implementation

@@ -4057,9 +4093,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/login-tuigreet.nix

-
+
+

generated/modules/traveldroid/system/login-tuigreet.nix

+

This sets up tuigreeter which is not fancy but imo fits the aesthetic I am aiming for

@@ -4113,9 +4149,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -4178,9 +4214,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

+
{ lib, config, ... }:
 
@@ -4196,9 +4232,9 @@ This sets the networking.
 
-
-

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -4223,13 +4259,13 @@ This sets the dbus implementation
-
-

generated/users

-
+
+

generated/users

+
-
-

generated/users/henrov.nix

-
+
+

generated/users/henrov.nix

+

This is the default user, just search and replace henrov another name if you want to change

@@ -4287,9 +4323,9 @@ in

These are all the prepared config files

-
-

.config/waypaper/config.ini

-
+
+

.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -4326,9 +4362,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

.config/zed/settings.json

-
+
+

.config/zed/settings.json

+

These are config files for .config/zed

@@ -4364,11 +4400,53 @@ These are config files for .config/zed
+
+

~/.config/shared/colors.css

+
+

+These are config files for .config/wofi +

+
+
/* Catppuccin Mocha Palette */
+@define-color crust      #11111b;
+@define-color mantle     #181825;
+@define-color base       #1e1e2e;
+@define-color base-alpha rgba(30, 30, 46, 0.9);
+
+@define-color surface0   #313244;
+@define-color surface1   #45475a;
+@define-color surface2   #585b70;
+
+@define-color overlay0   #6c7086;
+@define-color overlay1   #7f849c;
+@define-color overlay2   #9399b2;
+
+@define-color subtext0   #a6adc8;
+@define-color subtext1   #bac2de;
+@define-color text       #cdd6f4;
+
+@define-color rosewater  #f5e0dc;
+@define-color flamingo   #f2cdcd;
+@define-color pink       #f5c2e7;
+@define-color mauve      #cba6f7;
+@define-color red        #f38ba8;
+@define-color maroon     #eba0ac;
+@define-color peach      #fab387;
+@define-color yellow     #f9e2af;
+@define-color green      #a6e3a1;
+@define-color teal       #94e2d5;
+@define-color sapphire   #74c7ec;
+@define-color blue       #89b4fa;
+@define-color lavender   #b4befe;
+
+
+
+

Author: Henro Veijer

-

Created: 2026-04-09 do 11:23

+

Created: 2026-04-09 do 11:42

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 68b9dd4d6..38fa7995e 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -909,7 +909,7 @@ in force = true; }; ".config/wofi/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; }; @@ -964,32 +964,26 @@ prompt = > ** =.config/wofi/style.css= These are config files for .config/wofi #+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never -/* Catppuccin Mocha theme for Wofi with transparency and rounded corners */ +/* Catppuccin Mocha theme for Wofi with gradient borders and transparency */ /* === Catppuccin Mocha Palette === */ - -/* Background / Base */ @define-color crust #11111b; @define-color mantle #181825; @define-color base #1e1e2e; @define-color base-alpha rgba(30, 30, 46, 0.9); -/* Surface */ @define-color surface0 #313244; @define-color surface1 #45475a; @define-color surface2 #585b70; -/* Overlays */ @define-color overlay0 #6c7086; @define-color overlay1 #7f849c; @define-color overlay2 #9399b2; -/* Subtext & Text */ @define-color subtext0 #a6adc8; @define-color subtext1 #bac2de; @define-color text #cdd6f4; -/* Accents */ @define-color rosewater #f5e0dc; @define-color flamingo #f2cdcd; @define-color pink #f5c2e7; @@ -1004,67 +998,73 @@ These are config files for .config/wofi @define-color blue #89b4fa; @define-color lavender #b4befe; - * { +/* Global styles */ +* { background-color: transparent; color: @text; font-family: "JetBrainsMono Nerd Font", monospace; font-size: 12pt; } +/* Main menu container with gradient border */ #main { - background-color: @base; - border: 1px solid @surface0; - border-radius: 30px; /* Rounded corners */ + background: + linear-gradient(@base-alpha, @base-alpha) padding-box, /* Inner fill */ + linear-gradient(45deg, @blue, @green) border-box; /* Gradient border */ + border: 2px solid transparent; /* Required for border-box layering */ + border-radius: 30px; padding: 20px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } +/* Input field */ #input { background-color: @surface0; color: @text; border: 1px solid @surface1; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; padding: 5px 10px; margin-bottom: 10px; } +/* Entries */ #entry { - background-color: rgba( - 200, - 200, - 200, - 0.2 - ); /* very light grey, very transparent */ + background-color: rgba(200,200,200,0.2); color: @text; border-radius: 30px; padding: 5px 10px; margin: 2px 0; + border: 2px solid transparent; /* needed for gradient on selection */ } +/* Entry focus (hover or typing) */ #entry:focus { - background-color: @surface1; - color: @lavender; - border-radius: 30px; /* Rounded corners */ background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; + color: @lavender; + border-radius: 30px; } +/* Entry selection */ #entry:selected { - background-color: @surface2; + background: + linear-gradient(@base-alpha, @base-alpha) padding-box, + linear-gradient(45deg, @blue, @green) border-box; color: @text; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; } +/* Scrollbar */ #scrollbar { background-color: @surface0; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; width: 8px; } #scrollbar.handle { background-color: @blue; - border-radius: 30px; /* Rounded corners */ + border-radius: 30px; } #+END_SRC @@ -2640,7 +2640,7 @@ in force = true; }; ".config/waybar/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; ".config/waybar/scripts/bluetooth-status.sh" = { @@ -3649,3 +3649,40 @@ These are config files for .config/zed }, } #+END_SRC + + +** =~/.config/shared/colors.css= +These are config files for .config/wofi +#+BEGIN_SRC css :tangle generated/.config/shared/colors.css :noweb yes :mkdirp yes :eval never +/* Catppuccin Mocha Palette */ +@define-color crust #11111b; +@define-color mantle #181825; +@define-color base #1e1e2e; +@define-color base-alpha rgba(30, 30, 46, 0.9); + +@define-color surface0 #313244; +@define-color surface1 #45475a; +@define-color surface2 #585b70; + +@define-color overlay0 #6c7086; +@define-color overlay1 #7f849c; +@define-color overlay2 #9399b2; + +@define-color subtext0 #a6adc8; +@define-color subtext1 #bac2de; +@define-color text #cdd6f4; + +@define-color rosewater #f5e0dc; +@define-color flamingo #f2cdcd; +@define-color pink #f5c2e7; +@define-color mauve #cba6f7; +@define-color red #f38ba8; +@define-color maroon #eba0ac; +@define-color peach #fab387; +@define-color yellow #f9e2af; +@define-color green #a6e3a1; +@define-color teal #94e2d5; +@define-color sapphire #74c7ec; +@define-color blue #89b4fa; +@define-color lavender #b4befe; +#+END_SRC diff --git a/Droidnix/generated/.config/shared/colors.css b/Droidnix/generated/.config/shared/colors.css new file mode 100644 index 000000000..54dc0aaa2 --- /dev/null +++ b/Droidnix/generated/.config/shared/colors.css @@ -0,0 +1,31 @@ +/* Catppuccin Mocha Palette */ +@define-color crust #11111b; +@define-color mantle #181825; +@define-color base #1e1e2e; +@define-color base-alpha rgba(30, 30, 46, 0.9); + +@define-color surface0 #313244; +@define-color surface1 #45475a; +@define-color surface2 #585b70; + +@define-color overlay0 #6c7086; +@define-color overlay1 #7f849c; +@define-color overlay2 #9399b2; + +@define-color subtext0 #a6adc8; +@define-color subtext1 #bac2de; +@define-color text #cdd6f4; + +@define-color rosewater #f5e0dc; +@define-color flamingo #f2cdcd; +@define-color pink #f5c2e7; +@define-color mauve #cba6f7; +@define-color red #f38ba8; +@define-color maroon #eba0ac; +@define-color peach #fab387; +@define-color yellow #f9e2af; +@define-color green #a6e3a1; +@define-color teal #94e2d5; +@define-color sapphire #74c7ec; +@define-color blue #89b4fa; +@define-color lavender #b4befe; diff --git a/Droidnix/generated/modules/traveldroid/apps/wofi.nix b/Droidnix/generated/modules/traveldroid/apps/wofi.nix index cdb970ca2..ad295a5e6 100644 --- a/Droidnix/generated/modules/traveldroid/apps/wofi.nix +++ b/Droidnix/generated/modules/traveldroid/apps/wofi.nix @@ -15,7 +15,7 @@ in force = true; }; ".config/wofi/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; }; diff --git a/Droidnix/generated/modules/traveldroid/desktop/waybar.nix b/Droidnix/generated/modules/traveldroid/desktop/waybar.nix index dd44659fd..bf7068486 100644 --- a/Droidnix/generated/modules/traveldroid/desktop/waybar.nix +++ b/Droidnix/generated/modules/traveldroid/desktop/waybar.nix @@ -16,7 +16,7 @@ in force = true; }; ".config/waybar/style.css" = { - text = builtins.readFile "${assetPath}/style.css"; + text = builtins.readFile "${flakeRoot}/generated/.config/shared/colors.css" + "\n" + builtins.readFile "${assetPath}/style.css"; force = true; }; ".config/waybar/scripts/bluetooth-status.sh" = {