From 37fdb75bd975a0b2e4bee2c91b48cb4320c92a3c Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Tue, 21 Apr 2026 22:20:17 +0200 Subject: [PATCH] Regenerated --- Droidnix/README.html | 1054 +++++++++++------ Droidnix/README.org | 297 ++++- Droidnix/generated/.config/hypr/bindings.conf | 20 +- Droidnix/generated/.config/swaync/config.json | 53 + Droidnix/generated/.config/swaync/style.css | 194 +++ Droidnix/generated/assets/2_b_installed.conf | 1 + .../modules/traveldroid/system/swaync.nix | 17 + 7 files changed, 1238 insertions(+), 398 deletions(-) create mode 100644 Droidnix/generated/.config/swaync/config.json create mode 100644 Droidnix/generated/.config/swaync/style.css create mode 100644 Droidnix/generated/modules/traveldroid/system/swaync.nix diff --git a/Droidnix/README.html b/Droidnix/README.html index 156fcf5ad..256e957b5 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,137 +204,140 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -350,25 +353,25 @@

Introduction   intro

-
-

What is Droidnix

-
+
+

What is Droidnix

+

Droidnix is a modular, declarative NixOS + Home Manager configuration system. with 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
  • +
  • Core
  • +
  • Hyprland
-
-

Goals, project Structure, import hierarchy

-
+
+

Goals, project Structure, import hierarchy

+

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

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -394,16 +397,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. @@ -424,9 +427,9 @@ The generated/ directory contains all generated configurations, div The .assets/ folder contains all static files, such as configs, scripts, and themes. These files are not generated and can be edited directly.

-
-

generated/assets/2_b_installed.conf

-
+
+

generated/assets/2_b_installed.conf

+

This is a list of additional apps to install

@@ -498,13 +501,14 @@ zoxide #flatpaks eu.betterbird.Betterbird com.todoist.Todoist +com.logseq.Logseq
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

@@ -546,9 +550,9 @@ keys=hyprctl binds This section contains the Org blocks for tangling Nix code into the generated folders.

-
-

generated/flake.nix

-
+
+

generated/flake.nix

+

The Nix flake definition for Droidnix.

@@ -637,9 +641,9 @@ The Nix flake definition for Droidnix.
-
-

generated/modules/traveldroid/system/colors.nix

-
+
+

generated/modules/traveldroid/system/colors.nix

+

Setting the colors for Droidnix.

@@ -723,9 +727,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
 { config, pkgs, lib, flakeRoot, ... }:
@@ -794,9 +798,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. @@ -854,9 +858,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -915,13 +919,13 @@ in
 
-
-

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

@@ -1029,9 +1033,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

@@ -1127,9 +1131,9 @@ in
-
-

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

@@ -1179,9 +1183,9 @@ in
-
-

generated/modules/traveldroid/apps/kdeconnect.nix

-
+
+

generated/modules/traveldroid/apps/kdeconnect.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

@@ -1210,9 +1214,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1270,9 +1274,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

@@ -1311,9 +1315,9 @@ in
-
-

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

@@ -1359,9 +1363,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1394,9 +1398,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1416,9 +1420,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1532,13 +1536,13 @@ in
-
-

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

@@ -1556,9 +1560,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1584,9 +1588,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1632,9 +1636,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -1721,9 +1725,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1822,9 +1826,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1891,9 +1895,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -1923,9 +1927,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -2004,13 +2008,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, ... }:
 
@@ -2029,9 +2033,9 @@ in
 
-
-

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -2051,9 +2055,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

@@ -2080,9 +2084,9 @@ in
-
-

generated/modules/traveldroid/system/copy_scripts.nix

-
+
+

generated/modules/traveldroid/system/copy_scripts.nix

+

This copies any scripts from generated.config/scripts to ~/.config/scripts and makes any .sh files executable.

@@ -2123,9 +2127,9 @@ in
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -2152,9 +2156,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2235,9 +2239,9 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

@@ -2293,9 +2297,9 @@ in
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

@@ -2352,9 +2356,9 @@ in
-
-

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

-
+
+

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

+

This sets the dbus implementation

@@ -2402,9 +2406,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

@@ -2458,9 +2462,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2509,9 +2513,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

+
{ lib, config, ... }:
 
@@ -2527,9 +2531,9 @@ This sets the networking.
 
-
-

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2553,9 +2557,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

@@ -2607,14 +2611,41 @@ in
+
+

generated/modules/traveldroid/system/swaync.nix

+
+

+This sets the dbus implementation +

+
+
{ config, pkgs, lib, ... }:
+
+{
+  environment.systemPackages = [ pkgs.swaynotificationcenter ];
+
+  home-manager.users.${config.mainUser} = {
+
+    services.swaync = {
+      enable = true;
+      # Neither settings nor style are managed by Nix.
+      # Swaync will read both from ~/.config/swaync/ directly:
+      #   ~/.config/swaync/config.json
+      #   ~/.config/swaync/style.css
+    };
+  };
+}
+
-
-

generated/users

-
-
-

generated/users/

-
+
+
+
+

generated/users

+
+
+
+

generated/users/

+

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

@@ -2676,9 +2707,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

@@ -2779,9 +2810,9 @@ package-archive-priorities '(("gnu" . 99)
-
-

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -3191,9 +3222,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -3212,9 +3243,9 @@ These are config files for .config/hypr
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -3236,9 +3267,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -3256,18 +3287,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen # Flameshot keybindings -# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c -# bind = $mainMod SHIFT, S, exec, flameshot gui -# bind = , XF86Screenshot, exec, flameshot gui -# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c -# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev @@ -3413,9 +3444,9 @@ bind = $mainMod, U, exec, kitty -e bash -lc "$HOME/.config/scripts/update.sh"
-
-

generated/.config/hypr/exec-once.conf

-
+
+

generated/.config/hypr/exec-once.conf

+

These are config files for .config/hypr

@@ -3436,9 +3467,9 @@ exec-once = flameshot
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3469,9 +3500,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3501,9 +3532,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -3522,9 +3553,9 @@ source = ./workspace-rules.conf
-
-

generated/.config/hypr/layer-rules.conf

-
+
+

generated/.config/hypr/layer-rules.conf

+

These are config files for .config/hypr

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

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3556,9 +3587,9 @@ scrolling {
-
-

generated/.config/hypr/monitor-rules.conf

-
+
+

generated/.config/hypr/monitor-rules.conf

+

These are config files for .config/hypr

@@ -3569,9 +3600,9 @@ monitor = eDP-1, preferred, auto-left, 1.5
-
-

generated/.config/hypr/theming.conf

-
+
+

generated/.config/hypr/theming.conf

+

These are config files for .config/hypr

@@ -3637,9 +3668,9 @@ misc {
-
-

generated/.config/hypr/window-rules.conf

-
+
+

generated/.config/hypr/window-rules.conf

+

These are config files for .config/hypr

@@ -3703,9 +3734,9 @@ windowrule {
-
-

generated/.config/hypr/workspace-rules.conf

-
+
+

generated/.config/hypr/workspace-rules.conf

+

These setttings configure rules for workspaces

@@ -3720,9 +3751,9 @@ workspace = 6, monitor:DP-1, layout:dwindle
-
-

generated/.config/quickshell/media/shell.qml

-
+
+

generated/.config/quickshell/media/shell.qml

+

offers a adio widget

@@ -4116,9 +4147,9 @@ ShellRoot {
-
-

generated/.config/quickshell/powermenu/shell.qml

-
+
+

generated/.config/quickshell/powermenu/shell.qml

+

Provides a powermenu

@@ -4266,9 +4297,9 @@ ShellRoot {
-
-

generated/.config/scripts/batterywarn.sh

-
+
+

generated/.config/scripts/batterywarn.sh

+

Providing an media

@@ -4285,9 +4316,9 @@ fi
-
-

generated/.config/scripts/media.sh

-
+
+

generated/.config/scripts/media.sh

+

Providing an media

@@ -4387,9 +4418,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

Choose your layout

@@ -4431,9 +4462,9 @@ hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

Enables a terminal power menu

@@ -4488,9 +4519,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -4515,9 +4546,9 @@ flatpak update -y
-
-

generated/.config/scripts/wofi-launcher.sh

-
+
+

generated/.config/scripts/wofi-launcher.sh

+

Providing an media

@@ -4532,9 +4563,9 @@ Providing an media
-
-

generated/.config/shared/Colors.css

-
+
+

generated/.config/shared/Colors.css

+

A file containing color variables

@@ -4574,9 +4605,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -4864,9 +4895,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -4903,9 +4934,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -4935,9 +4966,9 @@ These are config files for .config/stylix
-
-

generated/.config/stylix/palette.html

-
+
+

generated/.config/stylix/palette.html

+

These are config files for .config/stylix

@@ -5010,14 +5041,281 @@ These are config files for .config/stylix <p>See the <a href="https://nix-community.github.io/stylix">Stylix documentation</a> for how to apply these colors on NixOS.</p> </body> </html> + +
+
+
+
+

generated/.config/swaync/config.json

+
+

+These are config files for waybar +

+
+
{
+  "positionX": "right",
+  "positionY": "top",
+  "layer": "overlay",
+  "control-center-layer": "top",
+  "layer-shell": true,
+  "cssPriority": "application",
+  "control-center-margin-top": 8,
+  "control-center-margin-bottom": 8,
+  "control-center-margin-right": 8,
+  "control-center-margin-left": 0,
+  "notification-2fa-action": true,
+  "notification-inline-replies": false,
+  "notification-icon-size": 48,
+  "notification-body-image-height": 100,
+  "notification-body-image-width": 200,
+  "timeout": 10,
+  "timeout-low": 5,
+  "timeout-critical": 0,
+  "fit-to-screen": true,
+  "control-center-width": 500,
+  "control-center-height": 600,
+  "notification-window-width": 400,
+  "keyboard-shortcuts": true,
+  "image-visibility": "when-available",
+  "transition-time": 200,
+  "hide-on-clear": false,
+  "hide-on-action": true,
+  "script-fail-notify": true,
+  "widgets": [
+    "inhibitors",
+    "title",
+    "dnd",
+    "notifications"
+  ],
+  "widget-config": {
+    "inhibitors": {
+      "text": "Inhibitors",
+      "button-text": "Clear All",
+      "clear-all-button": true
+    },
+    "title": {
+      "text": "Notifications",
+      "clear-all-button": true,
+      "button-text": "Clear All"
+    },
+    "dnd": {
+      "text": "Do Not Disturb"
+    },
+    "notifications": {}
+  }
+}
+
+
+
+
+
+

generated/.config/swaync/style.css

+
+

+These are config files for waybar +

+
+
@import url("~/.config/shared/Colors.css");
+
+   * {
+  all: unset;
+  font-size: 13px;
+  font-family: sans-serif;
+  transition: 200ms;
+}
+
+/* ── Gradient border mixin via background-image trick ──────────────────────
+   Elements that need a gradient border get:
+     background-image: linear-gradient(@base, @base),
+                       linear-gradient(45deg, @blue, @green);
+     background-clip: padding-box, border-box;
+     background-origin: padding-box, border-box;
+     border: 1px solid transparent;
+   This paints the gradient behind the element, clipped to the border area.
+   ────────────────────────────────────────────────────────────────────────── */
+
+/* ── Notification rows ─────────────────────────────────────────────────── */
+
+.notification-row {
+  outline: none;
+  margin: 4px 0;
+}
+
+.notification-row:focus,
+.notification-row:hover {
+  opacity: 0.85;
+}
+
+/* ── Individual notification ───────────────────────────────────────────── */
+
+.notification {
+  border-radius: 12px;
+  padding: 8px;
+  margin: 4px 8px;
+  color: @text;
+  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
+
+  /* gradient border */
+  border: 1px solid transparent;
+  background-image:
+    linear-gradient(@base-alpha, @base-alpha),
+    linear-gradient(45deg, @blue, @green);
+  background-clip: padding-box, border-box;
+  background-origin: padding-box, border-box;
+}
+
+.notification-content {
+  padding: 4px;
+}
+
+.notification-default-action {
+  border-radius: 12px;
+}
+
+.notification-default-action:hover {
+  background: alpha(@blue, 0.1);
+}
+
+/* ── Text elements ─────────────────────────────────────────────────────── */
+
+.summary {
+  font-size: 13px;
+  font-weight: bold;
+  color: @text;
+}
+
+.time {
+  font-size: 11px;
+  color: @overlay0;
+}
+
+.body {
+  font-size: 12px;
+  color: @subtext1;
+}
+
+/* ── Control center ────────────────────────────────────────────────────── */
+
+.control-center {
+  border-radius: 16px;
+  padding: 8px;
+  margin: 8px;
+  color: @text;
+  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
+
+  /* gradient border */
+  border: 1px solid transparent;
+  background-image:
+    linear-gradient(@mantle, @mantle),
+    linear-gradient(45deg, @blue, @green);
+  background-clip: padding-box, border-box;
+  background-origin: padding-box, border-box;
+}
+
+.control-center-list {
+  background: transparent;
+}
+
+.control-center-list-placeholder {
+  opacity: 0.4;
+  font-size: 14px;
+}
+
+/* ── Misc windows ──────────────────────────────────────────────────────── */
+
+.floating-notifications {
+  background: transparent;
+}
+
+.blank-window {
+  background: transparent;
+}
+
+/* ── Widget: title ─────────────────────────────────────────────────────── */
+
+.widget-title {
+  font-size: 14px;
+  font-weight: bold;
+  color: @blue;
+  padding: 8px 4px 4px 4px;
+}
+
+.widget-title > button {
+  font-size: 12px;
+  color: @overlay0;
+  background: alpha(@blue, 0.1);
+  border-radius: 8px;
+  padding: 2px 8px;
+}
+
+.widget-title > button:hover {
+  background: alpha(@blue, 0.2);
+  color: @text;
+}
+
+/* ── Widget: Do Not Disturb ────────────────────────────────────────────── */
+
+.widget-dnd {
+  padding: 4px;
+}
+
+.widget-dnd > switch {
+  border-radius: 20px;
+  background: alpha(@surface1, 0.3);
+
+  /* gradient border */
+  border: 1px solid transparent;
+  background-image:
+    linear-gradient(alpha(@surface1, 0.3), alpha(@surface1, 0.3)),
+    linear-gradient(45deg, @blue, @green);
+  background-clip: padding-box, border-box;
+  background-origin: padding-box, border-box;
+}
+
+.widget-dnd > switch:checked {
+  background-image:
+    linear-gradient(alpha(@blue, 0.5), alpha(@blue, 0.5)),
+    linear-gradient(45deg, @blue, @green);
+  background-clip: padding-box, border-box;
+  background-origin: padding-box, border-box;
+}
+
+.widget-dnd > switch slider {
+  border-radius: 20px;
+  background: @text;
+  min-width: 20px;
+  min-height: 20px;
+}
+
+/* ── Widget: inhibitors ────────────────────────────────────────────────── */
+
+.widget-inhibitors {
+  padding: 4px;
+  color: @red;
+  font-size: 12px;
+}
+
+/* ── Close button ──────────────────────────────────────────────────────── */
+
+.close-button {
+  background: alpha(@red, 0.15);
+  border-radius: 6px;
+  color: @red;
+  padding: 2px 6px;
+  font-size: 11px;
+}
+
+.close-button:hover {
+  background: alpha(@red, 0.3);
+}
 
 
-
-

generated/.config/waybar/config

-
+
+

generated/.config/waybar/config

+

These are config files for waybar

@@ -5252,9 +5550,9 @@ These are config files for waybar
-
-

generated/.config/waybar/style-dark.css

-
+
+

generated/.config/waybar/style-dark.css

+

This file contains all css for waybar

@@ -5487,9 +5785,9 @@ label#custom-windows:not(.active) {
-
-

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

-
+
+

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

+

These are config files for waybar

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

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

-
+
+

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

+

These are config files for waybar

@@ -5558,9 +5856,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -5582,9 +5880,9 @@ hyprctl dispatch focuswindow address:"$addr"
-
-

generated/.config/scripts/kdeconnect-status.sh

-
+
+

generated/.config/scripts/kdeconnect-status.sh

+

These are config files for waybar

@@ -5608,9 +5906,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -5647,9 +5945,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -5685,9 +5983,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -5714,9 +6012,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

@@ -5812,9 +6110,9 @@ This is the default layout for wofi
-
-

generated/.config/zed/settings.json

-
+
+

generated/.config/zed/settings.json

+

These are config files for Zed editor

@@ -5850,9 +6148,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -5889,7 +6187,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-21 di 21:53

+

Created: 2026-04-21 di 22:20

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 14129ef86..bf3a6c2e7 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -135,6 +135,7 @@ zoxide #flatpaks eu.betterbird.Betterbird com.todoist.Todoist +com.logseq.Logseq #+END_SRC ** =generated/assets/aliases.conf= @@ -2022,6 +2023,27 @@ in } #+END_SRC +** =generated/modules/traveldroid/system/swaync.nix= +This sets the dbus implementation +#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never +{ config, pkgs, lib, ... }: + +{ + environment.systemPackages = [ pkgs.swaynotificationcenter ]; + + home-manager.users.${config.mainUser} = { + + services.swaync = { + enable = true; + # Neither settings nor style are managed by Nix. + # Swaync will read both from ~/.config/swaync/ directly: + # ~/.config/swaync/config.json + # ~/.config/swaync/style.css + }; + }; +} +#+END_SRC + * generated/users ** =generated/users/= @@ -2635,18 +2657,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen # Flameshot keybindings -# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c -# bind = $mainMod SHIFT, S, exec, flameshot gui -# bind = , XF86Screenshot, exec, flameshot gui -# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c -# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev @@ -4251,6 +4273,261 @@ These are config files for .config/stylix

See the Stylix documentation for how to apply these colors on NixOS.

+#+END_SRC + +** =generated/.config/swaync/config.json= +These are config files for waybar +#+BEGIN_SRC json :tangle generated/.config/swaync/config.json :noweb yes :mkdirp yes :eval never +{ + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "top", + "layer-shell": true, + "cssPriority": "application", + "control-center-margin-top": 8, + "control-center-margin-bottom": 8, + "control-center-margin-right": 8, + "control-center-margin-left": 0, + "notification-2fa-action": true, + "notification-inline-replies": false, + "notification-icon-size": 48, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 10, + "timeout-low": 5, + "timeout-critical": 0, + "fit-to-screen": true, + "control-center-width": 500, + "control-center-height": 600, + "notification-window-width": 400, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "inhibitors", + "title", + "dnd", + "notifications" + ], + "widget-config": { + "inhibitors": { + "text": "Inhibitors", + "button-text": "Clear All", + "clear-all-button": true + }, + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "notifications": {} + } +} +#+END_SRC + +** =generated/.config/swaync/style.css= +These are config files for waybar +#+BEGIN_SRC css :tangle generated/.config/swaync/style.css :noweb yes :mkdirp yes :eval never +@import url("~/.config/shared/Colors.css"); + + * { + all: unset; + font-size: 13px; + font-family: sans-serif; + transition: 200ms; +} + +/* ── Gradient border mixin via background-image trick ────────────────────── + Elements that need a gradient border get: + background-image: linear-gradient(@base, @base), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; + border: 1px solid transparent; + This paints the gradient behind the element, clipped to the border area. + ────────────────────────────────────────────────────────────────────────── */ + +/* ── Notification rows ─────────────────────────────────────────────────── */ + +.notification-row { + outline: none; + margin: 4px 0; +} + +.notification-row:focus, +.notification-row:hover { + opacity: 0.85; +} + +/* ── Individual notification ───────────────────────────────────────────── */ + +.notification { + border-radius: 12px; + padding: 8px; + margin: 4px 8px; + color: @text; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(@base-alpha, @base-alpha), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.notification-content { + padding: 4px; +} + +.notification-default-action { + border-radius: 12px; +} + +.notification-default-action:hover { + background: alpha(@blue, 0.1); +} + +/* ── Text elements ─────────────────────────────────────────────────────── */ + +.summary { + font-size: 13px; + font-weight: bold; + color: @text; +} + +.time { + font-size: 11px; + color: @overlay0; +} + +.body { + font-size: 12px; + color: @subtext1; +} + +/* ── Control center ────────────────────────────────────────────────────── */ + +.control-center { + border-radius: 16px; + padding: 8px; + margin: 8px; + color: @text; + box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(@mantle, @mantle), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.control-center-list { + background: transparent; +} + +.control-center-list-placeholder { + opacity: 0.4; + font-size: 14px; +} + +/* ── Misc windows ──────────────────────────────────────────────────────── */ + +.floating-notifications { + background: transparent; +} + +.blank-window { + background: transparent; +} + +/* ── Widget: title ─────────────────────────────────────────────────────── */ + +.widget-title { + font-size: 14px; + font-weight: bold; + color: @blue; + padding: 8px 4px 4px 4px; +} + +.widget-title > button { + font-size: 12px; + color: @overlay0; + background: alpha(@blue, 0.1); + border-radius: 8px; + padding: 2px 8px; +} + +.widget-title > button:hover { + background: alpha(@blue, 0.2); + color: @text; +} + +/* ── Widget: Do Not Disturb ────────────────────────────────────────────── */ + +.widget-dnd { + padding: 4px; +} + +.widget-dnd > switch { + border-radius: 20px; + background: alpha(@surface1, 0.3); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(alpha(@surface1, 0.3), alpha(@surface1, 0.3)), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.widget-dnd > switch:checked { + background-image: + linear-gradient(alpha(@blue, 0.5), alpha(@blue, 0.5)), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.widget-dnd > switch slider { + border-radius: 20px; + background: @text; + min-width: 20px; + min-height: 20px; +} + +/* ── Widget: inhibitors ────────────────────────────────────────────────── */ + +.widget-inhibitors { + padding: 4px; + color: @red; + font-size: 12px; +} + +/* ── Close button ──────────────────────────────────────────────────────── */ + +.close-button { + background: alpha(@red, 0.15); + border-radius: 6px; + color: @red; + padding: 2px 6px; + font-size: 11px; +} + +.close-button:hover { + background: alpha(@red, 0.3); +} #+END_SRC diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index 8dce2e9ce..c6888230f 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -12,18 +12,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen # Flameshot keybindings -# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c -# bind = $mainMod SHIFT, S, exec, flameshot gui -# bind = , XF86Screenshot, exec, flameshot gui -# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c -# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev diff --git a/Droidnix/generated/.config/swaync/config.json b/Droidnix/generated/.config/swaync/config.json new file mode 100644 index 000000000..029d5466b --- /dev/null +++ b/Droidnix/generated/.config/swaync/config.json @@ -0,0 +1,53 @@ +// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +{ + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "top", + "layer-shell": true, + "cssPriority": "application", + "control-center-margin-top": 8, + "control-center-margin-bottom": 8, + "control-center-margin-right": 8, + "control-center-margin-left": 0, + "notification-2fa-action": true, + "notification-inline-replies": false, + "notification-icon-size": 48, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 10, + "timeout-low": 5, + "timeout-critical": 0, + "fit-to-screen": true, + "control-center-width": 500, + "control-center-height": 600, + "notification-window-width": 400, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "inhibitors", + "title", + "dnd", + "notifications" + ], + "widget-config": { + "inhibitors": { + "text": "Inhibitors", + "button-text": "Clear All", + "clear-all-button": true + }, + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "notifications": {} + } +} diff --git a/Droidnix/generated/.config/swaync/style.css b/Droidnix/generated/.config/swaync/style.css new file mode 100644 index 000000000..2c001342e --- /dev/null +++ b/Droidnix/generated/.config/swaync/style.css @@ -0,0 +1,194 @@ +/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */ +@import url("~/.config/shared/Colors.css"); + + * { + all: unset; + font-size: 13px; + font-family: sans-serif; + transition: 200ms; +} + +/* ── Gradient border mixin via background-image trick ────────────────────── + Elements that need a gradient border get: + background-image: linear-gradient(@base, @base), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; + border: 1px solid transparent; + This paints the gradient behind the element, clipped to the border area. + ────────────────────────────────────────────────────────────────────────── */ + +/* ── Notification rows ─────────────────────────────────────────────────── */ + +.notification-row { + outline: none; + margin: 4px 0; +} + +.notification-row:focus, +.notification-row:hover { + opacity: 0.85; +} + +/* ── Individual notification ───────────────────────────────────────────── */ + +.notification { + border-radius: 12px; + padding: 8px; + margin: 4px 8px; + color: @text; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(@base-alpha, @base-alpha), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.notification-content { + padding: 4px; +} + +.notification-default-action { + border-radius: 12px; +} + +.notification-default-action:hover { + background: alpha(@blue, 0.1); +} + +/* ── Text elements ─────────────────────────────────────────────────────── */ + +.summary { + font-size: 13px; + font-weight: bold; + color: @text; +} + +.time { + font-size: 11px; + color: @overlay0; +} + +.body { + font-size: 12px; + color: @subtext1; +} + +/* ── Control center ────────────────────────────────────────────────────── */ + +.control-center { + border-radius: 16px; + padding: 8px; + margin: 8px; + color: @text; + box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(@mantle, @mantle), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.control-center-list { + background: transparent; +} + +.control-center-list-placeholder { + opacity: 0.4; + font-size: 14px; +} + +/* ── Misc windows ──────────────────────────────────────────────────────── */ + +.floating-notifications { + background: transparent; +} + +.blank-window { + background: transparent; +} + +/* ── Widget: title ─────────────────────────────────────────────────────── */ + +.widget-title { + font-size: 14px; + font-weight: bold; + color: @blue; + padding: 8px 4px 4px 4px; +} + +.widget-title > button { + font-size: 12px; + color: @overlay0; + background: alpha(@blue, 0.1); + border-radius: 8px; + padding: 2px 8px; +} + +.widget-title > button:hover { + background: alpha(@blue, 0.2); + color: @text; +} + +/* ── Widget: Do Not Disturb ────────────────────────────────────────────── */ + +.widget-dnd { + padding: 4px; +} + +.widget-dnd > switch { + border-radius: 20px; + background: alpha(@surface1, 0.3); + + /* gradient border */ + border: 1px solid transparent; + background-image: + linear-gradient(alpha(@surface1, 0.3), alpha(@surface1, 0.3)), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.widget-dnd > switch:checked { + background-image: + linear-gradient(alpha(@blue, 0.5), alpha(@blue, 0.5)), + linear-gradient(45deg, @blue, @green); + background-clip: padding-box, border-box; + background-origin: padding-box, border-box; +} + +.widget-dnd > switch slider { + border-radius: 20px; + background: @text; + min-width: 20px; + min-height: 20px; +} + +/* ── Widget: inhibitors ────────────────────────────────────────────────── */ + +.widget-inhibitors { + padding: 4px; + color: @red; + font-size: 12px; +} + +/* ── Close button ──────────────────────────────────────────────────────── */ + +.close-button { + background: alpha(@red, 0.15); + border-radius: 6px; + color: @red; + padding: 2px 6px; + font-size: 11px; +} + +.close-button:hover { + background: alpha(@red, 0.3); +} diff --git a/Droidnix/generated/assets/2_b_installed.conf b/Droidnix/generated/assets/2_b_installed.conf index 259306d33..c2034e7aa 100644 --- a/Droidnix/generated/assets/2_b_installed.conf +++ b/Droidnix/generated/assets/2_b_installed.conf @@ -66,3 +66,4 @@ zoxide #flatpaks eu.betterbird.Betterbird com.todoist.Todoist +com.logseq.Logseq diff --git a/Droidnix/generated/modules/traveldroid/system/swaync.nix b/Droidnix/generated/modules/traveldroid/system/swaync.nix new file mode 100644 index 000000000..5cc7b5f49 --- /dev/null +++ b/Droidnix/generated/modules/traveldroid/system/swaync.nix @@ -0,0 +1,17 @@ +# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +{ config, pkgs, lib, ... }: + +{ + environment.systemPackages = [ pkgs.swaynotificationcenter ]; + + home-manager.users.${config.mainUser} = { + + services.swaync = { + enable = true; + # Neither settings nor style are managed by Nix. + # Swaync will read both from ~/.config/swaync/ directly: + # ~/.config/swaync/config.json + # ~/.config/swaync/style.css + }; + }; +}