From 2aec1395cd6bfc617c2fb676c09691addb173bf2 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sat, 11 Apr 2026 22:39:24 +0200 Subject: [PATCH] Regenerated --- Droidnix/README.html | 718 +++++++++--------- Droidnix/README.org | 62 +- Droidnix/generated/.config/hypr/bindings.conf | 1 - .../.config/quickshell/powermenu/shell.qml | 61 +- 4 files changed, 445 insertions(+), 397 deletions(-) diff --git a/Droidnix/README.html b/Droidnix/README.html index 217f49adf..58d8c7be5 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,127 +204,127 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -340,25 +340,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: @@ -371,9 +371,9 @@ The Droidnix repository is organized into two main parts:

-
-

Root Level

-
+
+

Root Level

+
  • flake.nix is the entry point and imports:
      @@ -384,16 +384,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 +414,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

@@ -494,9 +494,9 @@ com.todoist.Todoist 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.

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

generated/modules/traveldroid/system/Colors.nix

-
+
+

generated/modules/traveldroid/system/Colors.nix

+

Setting the colors for Droidnix.

@@ -656,9 +656,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
{ config, pkgs, lib, flakeRoot, ... }:
 
@@ -704,9 +704,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. @@ -764,9 +764,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -825,13 +825,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

@@ -939,9 +939,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

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

@@ -1078,9 +1078,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1138,9 +1138,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

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

@@ -1222,9 +1222,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1257,9 +1257,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1279,9 +1279,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1344,13 +1344,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

@@ -1368,9 +1368,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1396,9 +1396,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1444,9 +1444,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

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

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1634,9 +1634,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1703,9 +1703,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

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

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -1791,13 +1791,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, ... }:
 
@@ -1815,9 +1815,9 @@ in
 
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

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

generated/modules/traveldroid/system/copy_scripts.nix

-
+
+

generated/modules/traveldroid/system/copy_scripts.nix

+
{ lib, config, pkgs, flakeRoot, ... }:
 let
@@ -1878,9 +1878,9 @@ in
 
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

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

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

@@ -2013,9 +2013,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2080,9 +2080,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

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

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2124,9 +2124,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

@@ -2179,13 +2179,13 @@ in
-
-

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

@@ -2247,9 +2247,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -2762,9 +2762,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -2785,9 +2785,9 @@ animations {
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

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

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -2938,7 +2938,6 @@ bind = , XF86Sleep, exec, systemctl suspend bind = , XF86PowerOff, exec, systemctl poweroff bind = , XF86WakeUp, exec, systemctl suspend bind = $mainMod, L, exec, loginctl lock-session -# bind = $mainMod, X, exec, ~/.config/scripts/powermenu.sh ######################### # Laptop lid settings @@ -2967,9 +2966,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

@@ -2989,9 +2988,9 @@ exec-once = ~/.config/scripts/hypr-autocolwidth.sh
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3016,9 +3015,9 @@ listener {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -3064,9 +3063,9 @@ misc {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3107,9 +3106,9 @@ label {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These are config files for .config/hypr

@@ -3141,9 +3140,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3154,9 +3153,9 @@ monitor=DP-1,3840x1080@144,1920x0,1
-
-

generated/.config/hypr/theming.conf

-
+
+

generated/.config/hypr/theming.conf

+

These are config files for .config/hypr

@@ -3206,9 +3205,9 @@ decoration {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3255,9 +3254,9 @@ windowrule {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3282,20 +3281,38 @@ workspace = 10
-
-

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

-
+
+

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

+

This sets up the zsh in the terminal

-
// PowerMenu.qml
+
// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
 import Quickshell
 import Quickshell.Io
 import QtQuick
 import QtQuick.Layouts
 
 ShellRoot {
+    QtObject {
+        id: colors
+        readonly property color baseAlpha: Qt.rgba(30/255, 30/255, 46/255, 0.9)
+        readonly property color base:      "#1e1e2e"
+        readonly property color surface0:  "#313244"
+        readonly property color surface1:  "#45475a"
+        readonly property color surface2:  "#585b70"
+        readonly property color text:      "#cdd6f4"
+        readonly property color subtext0:  "#a6adc8"
+        readonly property color subtext1:  "#bac2de"
+        readonly property color blue:      "#89b4fa"
+        readonly property color green:     "#a6e3a1"
+        readonly property color teal:      "#94e2d5"
+        readonly property color red:       "#f38ba8"
+        readonly property color mauve:     "#cba6f7"
+        readonly property color peach:     "#fab387"
+        readonly property color lavender:  "#b4befe"
+    }
 
     FloatingWindow {
         id: root
@@ -3305,7 +3322,6 @@ ShellRoot {
         height: contentLayout.implicitHeight + 32
         color: "transparent"
 
-        // Close on Escape
         Shortcut {
             sequence: "Escape"
             onActivated: Qt.quit()
@@ -3314,9 +3330,9 @@ ShellRoot {
         Rectangle {
             anchors.fill: parent
             radius: 16
-            color: Colors.baseAlpha
+            color: colors.baseAlpha
             border.width: 2
-            border.color: Colors.blue
+            border.color: colors.blue
 
             ColumnLayout {
                 id: contentLayout
@@ -3328,24 +3344,22 @@ ShellRoot {
                 }
                 spacing: 4
 
-                // Title
                 Text {
                     text: " Power Menu"
-                    color: Colors.teal
+                    color: colors.teal
                     font.pixelSize: 13
                     font.bold: true
                     Layout.bottomMargin: 8
                 }
 
-                // Menu items
                 Repeater {
                     model: [
-                        { label: " Lock",       cmd: ["loginctl", "lock-session"] },
-                        { label: " Shutdown",   cmd: ["systemctl", "poweroff"] },
-                        { label: " Reboot",     cmd: ["systemctl", "reboot"] },
-                        { label: "󰍃 Logout",    cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] },
-                        { label: " Hibernate",  cmd: ["systemctl", "hibernate"] },
-                        { label: " Suspend",    cmd: ["systemctl", "suspend"] },
+                        { label: " Lock",      cmd: ["loginctl", "lock-session"] },
+                        { label: " Shutdown",  cmd: ["systemctl", "poweroff"] },
+                        { label: " Reboot",    cmd: ["systemctl", "reboot"] },
+                        { label: "󰍃 Logout",   cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] },
+                        { label: " Hibernate", cmd: ["systemctl", "hibernate"] },
+                        { label: " Suspend",   cmd: ["systemctl", "suspend"] },
                     ]
 
                     delegate: Rectangle {
@@ -3353,17 +3367,20 @@ ShellRoot {
                         Layout.fillWidth: true
                         height: 38
                         radius: 8
-                        color: hovered ? Colors.surface1 : "transparent"
-
+                        color: hovered ? colors.surface1 : "transparent"
                         property bool hovered: false
 
-                        // Gradient border on hover
                         Rectangle {
                             anchors.fill: parent
-                            radius: parent.radius
-                            color: "transparent"
-                            border.width: item.hovered ? 2 : 0
-                            border.color: Colors.blue
+                            anchors.margins: -2
+                            radius: parent.radius + 2
+                            visible: item.hovered
+                            z: -1
+                            gradient: Gradient {
+                                orientation: Gradient.Horizontal
+                                GradientStop { position: 0.0; color: colors.blue }
+                                GradientStop { position: 1.0; color: colors.green }
+                            }
                         }
 
                         Text {
@@ -3371,7 +3388,7 @@ ShellRoot {
                             anchors.left: parent.left
                             anchors.leftMargin: 12
                             text: modelData.label
-                            color: item.hovered ? Colors.text : Colors.subtext1
+                            color: item.hovered ? colors.text : colors.subtext1
                             font.pixelSize: 13
                         }
 
@@ -3391,7 +3408,6 @@ ShellRoot {
                     }
                 }
 
-                // Bottom padding
                 Item { height: 4 }
             }
         }
@@ -3401,9 +3417,9 @@ ShellRoot {
 
-
-

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

-
+
+

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

+

Choose your layout

@@ -3445,9 +3461,9 @@ hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-

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

-
+
+

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

+

These are config files for .config/scripts

@@ -3501,9 +3517,9 @@ done
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

A file containing color variables

@@ -3559,9 +3575,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -3580,9 +3596,9 @@ flatpak update -y
-
-

generated/.config/shared/Colors.css

-
+
+

generated/.config/shared/Colors.css

+

A file containing color variables

@@ -3622,9 +3638,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -3912,9 +3928,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -3951,9 +3967,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -3983,9 +3999,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

@@ -4063,9 +4079,9 @@ These are config files for .config/stylix
-
-

generated/.config/waybar/config

-
+
+

generated/.config/waybar/config

+

These are config files for waybar

@@ -4318,9 +4334,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

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

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

-
+
+

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

+

These are config files for waybar

@@ -4560,9 +4576,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

@@ -4604,9 +4620,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -4622,9 +4638,9 @@ hyprctl dispatch focuswindow address:$addr
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -4661,9 +4677,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -4699,9 +4715,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -4750,9 +4766,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

These are config files for .config/wofi

@@ -4847,9 +4863,9 @@ These are config files for .config/wofi
-
-

generated/.config/zed/settings.json

-
+
+

generated/.config/zed/settings.json

+

These are config files for Zed editor

@@ -4885,9 +4901,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -4912,7 +4928,7 @@ fi

Author: Henro Veijer

-

Created: 2026-04-11 za 22:33

+

Created: 2026-04-11 za 22:39

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 2a7ef7c61..7d0436b30 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -2369,7 +2369,6 @@ bind = , XF86Sleep, exec, systemctl suspend bind = , XF86PowerOff, exec, systemctl poweroff bind = , XF86WakeUp, exec, systemctl suspend bind = $mainMod, L, exec, loginctl lock-session -# bind = $mainMod, X, exec, ~/.config/scripts/powermenu.sh ######################### # Laptop lid settings @@ -2654,13 +2653,31 @@ workspace = 10 ** =generated/.config/quickshell/powermenu/shell.qml= This sets up the zsh in the terminal #+BEGIN_SRC qml :tangle generated/.config/quickshell/powermenu/shell.qml :noweb yes :mkdirp yes :eval never -// PowerMenu.qml +// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- import Quickshell import Quickshell.Io import QtQuick import QtQuick.Layouts ShellRoot { + QtObject { + id: colors + readonly property color baseAlpha: Qt.rgba(30/255, 30/255, 46/255, 0.9) + readonly property color base: "#1e1e2e" + readonly property color surface0: "#313244" + readonly property color surface1: "#45475a" + readonly property color surface2: "#585b70" + readonly property color text: "#cdd6f4" + readonly property color subtext0: "#a6adc8" + readonly property color subtext1: "#bac2de" + readonly property color blue: "#89b4fa" + readonly property color green: "#a6e3a1" + readonly property color teal: "#94e2d5" + readonly property color red: "#f38ba8" + readonly property color mauve: "#cba6f7" + readonly property color peach: "#fab387" + readonly property color lavender: "#b4befe" + } FloatingWindow { id: root @@ -2670,7 +2687,6 @@ ShellRoot { height: contentLayout.implicitHeight + 32 color: "transparent" - // Close on Escape Shortcut { sequence: "Escape" onActivated: Qt.quit() @@ -2679,9 +2695,9 @@ ShellRoot { Rectangle { anchors.fill: parent radius: 16 - color: Colors.baseAlpha + color: colors.baseAlpha border.width: 2 - border.color: Colors.blue + border.color: colors.blue ColumnLayout { id: contentLayout @@ -2693,24 +2709,22 @@ ShellRoot { } spacing: 4 - // Title Text { text: " Power Menu" - color: Colors.teal + color: colors.teal font.pixelSize: 13 font.bold: true Layout.bottomMargin: 8 } - // Menu items Repeater { model: [ - { label: " Lock", cmd: ["loginctl", "lock-session"] }, - { label: " Shutdown", cmd: ["systemctl", "poweroff"] }, - { label: " Reboot", cmd: ["systemctl", "reboot"] }, - { label: "󰍃 Logout", cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] }, - { label: " Hibernate", cmd: ["systemctl", "hibernate"] }, - { label: " Suspend", cmd: ["systemctl", "suspend"] }, + { label: " Lock", cmd: ["loginctl", "lock-session"] }, + { label: " Shutdown", cmd: ["systemctl", "poweroff"] }, + { label: " Reboot", cmd: ["systemctl", "reboot"] }, + { label: "󰍃 Logout", cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] }, + { label: " Hibernate", cmd: ["systemctl", "hibernate"] }, + { label: " Suspend", cmd: ["systemctl", "suspend"] }, ] delegate: Rectangle { @@ -2718,17 +2732,20 @@ ShellRoot { Layout.fillWidth: true height: 38 radius: 8 - color: hovered ? Colors.surface1 : "transparent" - + color: hovered ? colors.surface1 : "transparent" property bool hovered: false - // Gradient border on hover Rectangle { anchors.fill: parent - radius: parent.radius - color: "transparent" - border.width: item.hovered ? 2 : 0 - border.color: Colors.blue + anchors.margins: -2 + radius: parent.radius + 2 + visible: item.hovered + z: -1 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { position: 0.0; color: colors.blue } + GradientStop { position: 1.0; color: colors.green } + } } Text { @@ -2736,7 +2753,7 @@ ShellRoot { anchors.left: parent.left anchors.leftMargin: 12 text: modelData.label - color: item.hovered ? Colors.text : Colors.subtext1 + color: item.hovered ? colors.text : colors.subtext1 font.pixelSize: 13 } @@ -2756,7 +2773,6 @@ ShellRoot { } } - // Bottom padding Item { height: 4 } } } diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index ad3892855..066709585 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -129,7 +129,6 @@ bind = , XF86Sleep, exec, systemctl suspend bind = , XF86PowerOff, exec, systemctl poweroff bind = , XF86WakeUp, exec, systemctl suspend bind = $mainMod, L, exec, loginctl lock-session -# bind = $mainMod, X, exec, ~/.config/scripts/powermenu.sh ######################### # Laptop lid settings diff --git a/Droidnix/generated/.config/quickshell/powermenu/shell.qml b/Droidnix/generated/.config/quickshell/powermenu/shell.qml index e673bb952..6f85cfd96 100644 --- a/Droidnix/generated/.config/quickshell/powermenu/shell.qml +++ b/Droidnix/generated/.config/quickshell/powermenu/shell.qml @@ -1,11 +1,29 @@ // --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -// PowerMenu.qml +// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- import Quickshell import Quickshell.Io import QtQuick import QtQuick.Layouts ShellRoot { + QtObject { + id: colors + readonly property color baseAlpha: Qt.rgba(30/255, 30/255, 46/255, 0.9) + readonly property color base: "#1e1e2e" + readonly property color surface0: "#313244" + readonly property color surface1: "#45475a" + readonly property color surface2: "#585b70" + readonly property color text: "#cdd6f4" + readonly property color subtext0: "#a6adc8" + readonly property color subtext1: "#bac2de" + readonly property color blue: "#89b4fa" + readonly property color green: "#a6e3a1" + readonly property color teal: "#94e2d5" + readonly property color red: "#f38ba8" + readonly property color mauve: "#cba6f7" + readonly property color peach: "#fab387" + readonly property color lavender: "#b4befe" + } FloatingWindow { id: root @@ -15,7 +33,6 @@ ShellRoot { height: contentLayout.implicitHeight + 32 color: "transparent" - // Close on Escape Shortcut { sequence: "Escape" onActivated: Qt.quit() @@ -24,9 +41,9 @@ ShellRoot { Rectangle { anchors.fill: parent radius: 16 - color: Colors.baseAlpha + color: colors.baseAlpha border.width: 2 - border.color: Colors.blue + border.color: colors.blue ColumnLayout { id: contentLayout @@ -38,24 +55,22 @@ ShellRoot { } spacing: 4 - // Title Text { text: " Power Menu" - color: Colors.teal + color: colors.teal font.pixelSize: 13 font.bold: true Layout.bottomMargin: 8 } - // Menu items Repeater { model: [ - { label: " Lock", cmd: ["loginctl", "lock-session"] }, - { label: " Shutdown", cmd: ["systemctl", "poweroff"] }, - { label: " Reboot", cmd: ["systemctl", "reboot"] }, - { label: "󰍃 Logout", cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] }, - { label: " Hibernate", cmd: ["systemctl", "hibernate"] }, - { label: " Suspend", cmd: ["systemctl", "suspend"] }, + { label: " Lock", cmd: ["loginctl", "lock-session"] }, + { label: " Shutdown", cmd: ["systemctl", "poweroff"] }, + { label: " Reboot", cmd: ["systemctl", "reboot"] }, + { label: "󰍃 Logout", cmd: ["bash", "-c", "loginctl terminate-session $XDG_SESSION_ID"] }, + { label: " Hibernate", cmd: ["systemctl", "hibernate"] }, + { label: " Suspend", cmd: ["systemctl", "suspend"] }, ] delegate: Rectangle { @@ -63,17 +78,20 @@ ShellRoot { Layout.fillWidth: true height: 38 radius: 8 - color: hovered ? Colors.surface1 : "transparent" - + color: hovered ? colors.surface1 : "transparent" property bool hovered: false - // Gradient border on hover Rectangle { anchors.fill: parent - radius: parent.radius - color: "transparent" - border.width: item.hovered ? 2 : 0 - border.color: Colors.blue + anchors.margins: -2 + radius: parent.radius + 2 + visible: item.hovered + z: -1 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { position: 0.0; color: colors.blue } + GradientStop { position: 1.0; color: colors.green } + } } Text { @@ -81,7 +99,7 @@ ShellRoot { anchors.left: parent.left anchors.leftMargin: 12 text: modelData.label - color: item.hovered ? Colors.text : Colors.subtext1 + color: item.hovered ? colors.text : colors.subtext1 font.pixelSize: 13 } @@ -101,7 +119,6 @@ ShellRoot { } } - // Bottom padding Item { height: 4 } } }