diff --git a/Droidnix/README.html b/Droidnix/README.html index 41e0fcea7..58271edf3 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,140 +204,140 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

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

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -397,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. @@ -427,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

@@ -506,9 +506,9 @@ com.logseq.Logseq
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

@@ -550,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.

@@ -641,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.

@@ -719,9 +719,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, ... }:
@@ -790,9 +790,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. @@ -850,9 +850,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

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

@@ -1025,9 +1025,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

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

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

@@ -1206,9 +1206,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1267,9 +1267,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

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

@@ -1356,9 +1356,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1391,9 +1391,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1413,9 +1413,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

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

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

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1581,9 +1581,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1629,9 +1629,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

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

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1819,9 +1819,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1888,9 +1888,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

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

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

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

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -2048,9 +2048,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

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

@@ -2120,9 +2120,9 @@ in
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

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

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2232,9 +2232,9 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

@@ -2290,9 +2290,9 @@ in
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

@@ -2349,9 +2349,9 @@ in
-
-

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

-
+
+

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

+

This sets the dbus implementation

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

@@ -2455,9 +2455,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

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

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

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

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

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

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

@@ -2604,9 +2604,9 @@ in
-
-

generated/modules/traveldroid/system/swaync.nix

-
+
+

generated/modules/traveldroid/system/swaync.nix

+

This sets the dbus implementation

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

@@ -2723,9 +2723,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

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

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

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

@@ -3283,9 +3283,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -3339,7 +3339,7 @@ bind = $mainMod, S, togglegroup # Cycle tabs in the group bind = $mainMod, bracketright, changegroupactive, f bind = $mainMod, bracketleft, changegroupactive, b -bind = $mainMod, T, exec, ~/.config/scripts/layout-selector.sh +bind = $mainMod, T, exec, quickshell -p ~/.config/quickshell/layoutswitcher # Focus movement bind = $mainMod, H, movefocus, l @@ -3460,9 +3460,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

@@ -3483,9 +3483,9 @@ exec-once = flameshot
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3516,9 +3516,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3548,9 +3548,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

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

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3584,9 +3584,9 @@ layerrule = xray 1, match:namespace swaync-control-center
-
-

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3601,9 +3601,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3682,9 +3682,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3748,9 +3748,9 @@ windowrule {
-
-

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

-
+
+

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

+

These setttings configure rules for workspaces

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

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

-
+
+

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

+

offers a adio widget

@@ -4161,9 +4161,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -4311,9 +4311,157 @@ ShellRoot {
-
-

generated/.config/scripts/batterywarn.sh

-
+
+

generated/.config/quickshell/switchlayout/shell.qml

+
+

+Provides a layout menu +

+
+
// --- 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
+        title: "quickshell-layoutswitcher"
+        visible: true
+        width: 220
+        height: contentLayout.implicitHeight + 32
+        color: colors.base
+
+        Shortcut {
+            sequence: "Escape"
+            onActivated: Qt.quit()
+        }
+
+        Rectangle {
+            anchors.fill: parent
+            anchors.margins: -2
+            radius: 18
+            z: -1
+            opacity: Qt.application.active ? 0 : 1
+            Behavior on opacity {
+                NumberAnimation { duration: 150 }
+            }
+            gradient: Gradient {
+                orientation: Gradient.Horizontal
+                GradientStop { position: 0.0; color: colors.blue }
+                GradientStop { position: 1.0; color: colors.green }
+            }
+        }
+
+        Rectangle {
+            anchors.fill: parent
+            radius: 16
+            color: colors.base
+
+            ColumnLayout {
+                id: contentLayout
+                anchors {
+                    top: parent.top
+                    left: parent.left
+                    right: parent.right
+                    margins: 16
+                }
+                spacing: 4
+
+                Text {
+                    text: "󰕰  Layout"
+                    color: colors.text
+                    font.pixelSize: 13
+                    font.bold: true
+                    Layout.bottomMargin: 8
+                }
+
+                Repeater {
+                    model: [
+                        { label: "  Dwindle",   layout: "dwindle"   },
+                        { label: "󰡎  Master",    layout: "master"    },
+                        { label: "󰾲  Scrolling", layout: "scrolling" },
+                        { label: "󱒉  Monocle",   layout: "monocle"   },
+                    ]
+
+                    delegate: Rectangle {
+                        id: item
+                        Layout.fillWidth: true
+                        height: 38
+                        radius: 8
+                        color: hovered ? colors.surface1 : colors.base
+                        property bool hovered: false
+
+                        Rectangle {
+                            anchors.fill: parent
+                            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 {
+                            anchors.verticalCenter: parent.verticalCenter
+                            anchors.left: parent.left
+                            anchors.leftMargin: 12
+                            text: modelData.label
+                            color: item.hovered ? colors.text : colors.subtext1
+                            font.pixelSize: 13
+                        }
+
+                        MouseArea {
+                            anchors.fill: parent
+                            hoverEnabled: true
+                            onEntered: item.hovered = true
+                            onExited:  item.hovered = false
+                            onClicked: proc.running = true
+                        }
+
+                        Process {
+                            id: proc
+                            command: ["hyprctl", "keyword", "general:layout", modelData.layout]
+                            onExited: Qt.quit()
+                        }
+                    }
+                }
+
+                Item { height: 4 }
+            }
+        }
+    }
+}
+
+
+
+
+
+

generated/.config/scripts/batterywarn.sh

+

Providing an media

@@ -4330,9 +4478,9 @@ fi
-
-

generated/.config/scripts/media.sh

-
+
+

generated/.config/scripts/media.sh

+

Providing an media

@@ -4432,53 +4580,9 @@ jq -c -n \
-
-

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

-
-

-Choose your layout -

-
-
# layout-selector.sh
-# Select a workspace layout using Wofi, shows description, applies with layoutmsg
-
-# Define layouts and descriptions
-declare -A LAYOUTS=(
-    [dwindle]="舘 Dwindle: Auto-tiling, windows shrink progressively"
-    [master]="  Master: One main window, others stacked"
-    [scrolling]=" Scrolling: Vertical list, scroll through windows"
-    [monocle]="  Monocle: One window fills the screen"
-    [floating]="  Floating: Free move & resize"
-)
-ORDER=(dwindle master scrolling monocle floating)
-
-# Prepare Wofi menu: show "layoutname: description"
-MENU_ITEMS=()
-for key in "${ORDER[@]}"; do
-    MENU_ITEMS+=("$key: ${LAYOUTS[$key]}")
-done
-
-# Show selection menu via Wofi
-CHOICE=$(printf '%s\n' "${MENU_ITEMS[@]}" | wofi --dmenu --prompt "Select Layout")
-
-# Exit if cancelled
-[ -z "$CHOICE" ] && exit 0
-
-# Extract layout name from selection (before colon)
-LAYOUT_NAME="${CHOICE%%:*}"
-
-# Apply layout via layoutmsg
-hyprctl dispatch layoutmsg setlayout "$LAYOUT_NAME"
-
-# Show OSD feedback
-hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-
-
-
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

Enables a terminal power menu

@@ -4533,9 +4637,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -4560,9 +4664,9 @@ flatpak update -y
-
-

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

-
+
+

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

+

Providing an media

@@ -4577,9 +4681,9 @@ Providing an media
-
-

generated/.config/shared/colors.css

-
+
+

generated/.config/shared/colors.css

+

A file containing color variables

@@ -4619,9 +4723,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -4909,9 +5013,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -4948,9 +5052,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

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

@@ -5059,9 +5163,9 @@ These are config files for .config/stylix
-
-

generated/.config/swaync/config.json

-
+
+

generated/.config/swaync/config.json

+

These are config files for waybar

@@ -5122,9 +5226,9 @@ These are config files for waybar
-
-

generated/.config/swaync/style.css

-
+
+

generated/.config/swaync/style.css

+

These are config files for waybar

@@ -5315,9 +5419,9 @@ These are config files for waybar
-
-

generated/.config/waybar/config.jsonc

-
+
+

generated/.config/waybar/config.jsonc

+

These are config files for waybar

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

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

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

-
+
+

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

+

These are config files for waybar

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

@@ -5896,9 +6000,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -5920,9 +6024,9 @@ hyprctl dispatch focuswindow address:"$addr"
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -5946,9 +6050,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -5985,9 +6089,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -6023,9 +6127,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -6052,9 +6156,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

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

@@ -6188,9 +6292,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -6227,7 +6331,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-22 wo 14:01

+

Created: 2026-04-22 wo 14:25

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 1e2b373a2..3d5ae7bf9 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -2710,7 +2710,7 @@ bind = $mainMod, S, togglegroup # Cycle tabs in the group bind = $mainMod, bracketright, changegroupactive, f bind = $mainMod, bracketleft, changegroupactive, b -bind = $mainMod, T, exec, ~/.config/scripts/layout-selector.sh +bind = $mainMod, T, exec, quickshell -p ~/.config/quickshell/layoutswitcher # Focus movement bind = $mainMod, H, movefocus, l @@ -3608,6 +3608,148 @@ ShellRoot { } #+END_SRC +** =generated/.config/quickshell/switchlayout/shell.qml= +Provides a layout menu +#+BEGIN_SRC qml :tangle generated/.config/quickshell/switchlayout/shell.qml :noweb yes :mkdirp yes :eval never +// --- 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 + title: "quickshell-layoutswitcher" + visible: true + width: 220 + height: contentLayout.implicitHeight + 32 + color: colors.base + + Shortcut { + sequence: "Escape" + onActivated: Qt.quit() + } + + Rectangle { + anchors.fill: parent + anchors.margins: -2 + radius: 18 + z: -1 + opacity: Qt.application.active ? 0 : 1 + Behavior on opacity { + NumberAnimation { duration: 150 } + } + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { position: 0.0; color: colors.blue } + GradientStop { position: 1.0; color: colors.green } + } + } + + Rectangle { + anchors.fill: parent + radius: 16 + color: colors.base + + ColumnLayout { + id: contentLayout + anchors { + top: parent.top + left: parent.left + right: parent.right + margins: 16 + } + spacing: 4 + + Text { + text: "󰕰 Layout" + color: colors.text + font.pixelSize: 13 + font.bold: true + Layout.bottomMargin: 8 + } + + Repeater { + model: [ + { label: " Dwindle", layout: "dwindle" }, + { label: "󰡎 Master", layout: "master" }, + { label: "󰾲 Scrolling", layout: "scrolling" }, + { label: "󱒉 Monocle", layout: "monocle" }, + ] + + delegate: Rectangle { + id: item + Layout.fillWidth: true + height: 38 + radius: 8 + color: hovered ? colors.surface1 : colors.base + property bool hovered: false + + Rectangle { + anchors.fill: parent + 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 { + anchors.verticalCenter: parent.verticalCenter + anchors.left: parent.left + anchors.leftMargin: 12 + text: modelData.label + color: item.hovered ? colors.text : colors.subtext1 + font.pixelSize: 13 + } + + MouseArea { + anchors.fill: parent + hoverEnabled: true + onEntered: item.hovered = true + onExited: item.hovered = false + onClicked: proc.running = true + } + + Process { + id: proc + command: ["hyprctl", "keyword", "general:layout", modelData.layout] + onExited: Qt.quit() + } + } + } + + Item { height: 4 } + } + } + } +} +#+END_SRC + ** =generated/.config/scripts/batterywarn.sh= Providing an media #+BEGIN_SRC sh :tangle generated/.config/scripts/batterywarn.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never @@ -3717,44 +3859,6 @@ jq -c -n \ #+END_SRC -** =generated/.config/scripts/layout-selector.sh= -Choose your layout -#+BEGIN_SRC bash :tangle generated/.config/scripts/layout-selector.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never -# layout-selector.sh -# Select a workspace layout using Wofi, shows description, applies with layoutmsg - -# Define layouts and descriptions -declare -A LAYOUTS=( - [dwindle]="舘 Dwindle: Auto-tiling, windows shrink progressively" - [master]=" Master: One main window, others stacked" - [scrolling]=" Scrolling: Vertical list, scroll through windows" - [monocle]=" Monocle: One window fills the screen" - [floating]=" Floating: Free move & resize" -) -ORDER=(dwindle master scrolling monocle floating) - -# Prepare Wofi menu: show "layoutname: description" -MENU_ITEMS=() -for key in "${ORDER[@]}"; do - MENU_ITEMS+=("$key: ${LAYOUTS[$key]}") -done - -# Show selection menu via Wofi -CHOICE=$(printf '%s\n' "${MENU_ITEMS[@]}" | wofi --dmenu --prompt "Select Layout") - -# Exit if cancelled -[ -z "$CHOICE" ] && exit 0 - -# Extract layout name from selection (before colon) -LAYOUT_NAME="${CHOICE%%:*}" - -# Apply layout via layoutmsg -hyprctl dispatch layoutmsg setlayout "$LAYOUT_NAME" - -# Show OSD feedback -hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000 -#+END_SRC - ** =generated/.config/scripts/power.sh= Enables a terminal power menu #+BEGIN_SRC sh :tangle generated/.config/scripts/power.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index c6888230f..0fa3f84a6 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -48,7 +48,7 @@ bind = $mainMod, S, togglegroup # Cycle tabs in the group bind = $mainMod, bracketright, changegroupactive, f bind = $mainMod, bracketleft, changegroupactive, b -bind = $mainMod, T, exec, ~/.config/scripts/layout-selector.sh +bind = $mainMod, T, exec, quickshell -p ~/.config/quickshell/layoutswitcher # Focus movement bind = $mainMod, H, movefocus, l diff --git a/Droidnix/generated/.config/quickshell/switchlayout/shell.qml b/Droidnix/generated/.config/quickshell/switchlayout/shell.qml new file mode 100644 index 000000000..ae7a5ead6 --- /dev/null +++ b/Droidnix/generated/.config/quickshell/switchlayout/shell.qml @@ -0,0 +1,138 @@ +// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +// --- 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 + title: "quickshell-layoutswitcher" + visible: true + width: 220 + height: contentLayout.implicitHeight + 32 + color: colors.base + + Shortcut { + sequence: "Escape" + onActivated: Qt.quit() + } + + Rectangle { + anchors.fill: parent + anchors.margins: -2 + radius: 18 + z: -1 + opacity: Qt.application.active ? 0 : 1 + Behavior on opacity { + NumberAnimation { duration: 150 } + } + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { position: 0.0; color: colors.blue } + GradientStop { position: 1.0; color: colors.green } + } + } + + Rectangle { + anchors.fill: parent + radius: 16 + color: colors.base + + ColumnLayout { + id: contentLayout + anchors { + top: parent.top + left: parent.left + right: parent.right + margins: 16 + } + spacing: 4 + + Text { + text: "󰕰 Layout" + color: colors.text + font.pixelSize: 13 + font.bold: true + Layout.bottomMargin: 8 + } + + Repeater { + model: [ + { label: " Dwindle", layout: "dwindle" }, + { label: "󰡎 Master", layout: "master" }, + { label: "󰾲 Scrolling", layout: "scrolling" }, + { label: "󱒉 Monocle", layout: "monocle" }, + ] + + delegate: Rectangle { + id: item + Layout.fillWidth: true + height: 38 + radius: 8 + color: hovered ? colors.surface1 : colors.base + property bool hovered: false + + Rectangle { + anchors.fill: parent + 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 { + anchors.verticalCenter: parent.verticalCenter + anchors.left: parent.left + anchors.leftMargin: 12 + text: modelData.label + color: item.hovered ? colors.text : colors.subtext1 + font.pixelSize: 13 + } + + MouseArea { + anchors.fill: parent + hoverEnabled: true + onEntered: item.hovered = true + onExited: item.hovered = false + onClicked: proc.running = true + } + + Process { + id: proc + command: ["hyprctl", "keyword", "general:layout", modelData.layout] + onExited: Qt.quit() + } + } + } + + Item { height: 4 } + } + } + } +}