From 4bb25b394501efc87c3adbad4e4e735ce8d0eecb Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Mon, 13 Apr 2026 14:12:16 +0200 Subject: [PATCH] Regenerated --- Droidnix/README.html | 843 ++++++++++-------- Droidnix/README.org | 109 ++- Droidnix/generated/.config/hypr/bindings.conf | 4 +- .../.config/scripts/wofi-launcher.sh | 8 + Droidnix/generated/.config/waybar/config | 2 +- 5 files changed, 541 insertions(+), 425 deletions(-) create mode 100755 Droidnix/generated/.config/scripts/wofi-launcher.sh diff --git a/Droidnix/README.html b/Droidnix/README.html index d58524418..1b1d200f6 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,128 +204,133 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

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

-
-

Root Level

-
+
+

Root Level

+
  • flake.nix is the entry point and imports:
      @@ -385,16 +390,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. @@ -415,9 +420,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

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

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

generated/modules/traveldroid/system/Colors.nix

-
+
+

generated/modules/traveldroid/system/Colors.nix

+

Setting the colors for Droidnix.

@@ -657,9 +662,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
{ config, pkgs, lib, flakeRoot, ... }:
 
@@ -705,9 +710,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. @@ -765,9 +770,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

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

@@ -940,9 +945,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

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

@@ -1079,9 +1084,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1139,9 +1144,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

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

@@ -1223,9 +1228,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1258,9 +1263,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1280,9 +1285,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

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

@@ -1369,9 +1374,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1397,9 +1402,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1445,9 +1450,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

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

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1635,9 +1640,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1704,9 +1709,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

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

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -1792,13 +1797,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, ... }:
 
@@ -1817,9 +1822,9 @@ in
 
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

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

generated/modules/traveldroid/system/copy_scripts.nix

-
+
+

generated/modules/traveldroid/system/copy_scripts.nix

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

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

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

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

@@ -2015,9 +2020,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2082,9 +2087,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

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

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2126,9 +2131,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

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

@@ -2249,9 +2254,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -2764,9 +2769,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -2787,9 +2792,9 @@ animations {
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

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

@@ -2815,8 +2820,8 @@ These are config files for .config/hypr # Terminal / launcher / kill / reload bind = $mainMod, E, exec, thunar bind = $mainMod, RETURN, exec, kitty -bind = $mainMod, Space, exec, wofi --show drun --style ~/.config/wofi/style.css -bind = ALT, Space, exec, wofi --show drun +bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh +bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh bind = $mainMod, Q, killactive, bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, R, exec, hyprctl reload @@ -2969,9 +2974,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

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

@@ -3018,9 +3023,9 @@ listener {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -3066,9 +3071,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3100,9 +3105,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3165,9 +3170,9 @@ decoration {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3224,9 +3229,9 @@ windowrule {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3251,9 +3256,9 @@ workspace = 10
-
-

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

-
+
+

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

+

offers a adio widget

@@ -3647,9 +3652,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -3797,9 +3802,9 @@ ShellRoot {
-
-

generated/.config/scripts/media.sh

-
+
+

generated/.config/scripts/media.sh

+

Providing an media

@@ -3899,9 +3904,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

Choose your layout

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

@@ -3999,9 +4004,9 @@ done
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

A file containing color variables

@@ -4057,9 +4062,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -4078,9 +4083,26 @@ flatpak update -y
-
-

generated/.config/shared/Colors.css

-
+
+

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

+
+

+Providing an media +

+
+
wofi --show drun \
+     --style ~/.config/wofi/style.css \
+     --no-actions \
+     --allow-images=false \
+     --columns 1 \
+     --prompt "Apps"
+
+
+
+
+
+

generated/.config/shared/Colors.css

+

A file containing color variables

@@ -4120,9 +4142,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -4410,9 +4432,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -4449,9 +4471,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

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

@@ -4561,9 +4583,9 @@ These are config files for .config/stylix
-
-

generated/.config/waybar/config

-
+
+

generated/.config/waybar/config

+

These are config files for waybar

@@ -4741,7 +4763,7 @@ These are config files for waybar "format-disconnected": "Disconnected ⚠", "tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", - "on-click": "networkmanager_dmenu", + "on-click": "networkmanager_dmenu -dmenu "wofi -dmenu --style ~/.config/wofi/style.css"", "on-click-right": "nm-connection-editor" }, @@ -4802,9 +4824,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

@@ -5029,9 +5051,9 @@ label#custom-media.module {
-
-

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

-
+
+

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

+

These are config files for waybar

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

@@ -5100,9 +5122,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -5118,9 +5140,9 @@ hyprctl dispatch focuswindow address:$addr
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -5157,9 +5179,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -5195,9 +5217,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -5246,106 +5268,163 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

-These are config files for .config/wofi +This is the default layout for wofi +#+BEGINSRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never +@import url("file:///home/henrov/.config/shared/Colors.css");

-
-
@import url("file:///home/henrov/.config/shared/Colors.css");
 
-/* Global styles */
-   * {
+

+* — GLOBAL — * +

+
+
+
+
+

{

+
+

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

-/* --- DRUN menu (full size) --- */ -#main { - background: - linear-gradient(@base-alpha, @base-alpha) padding-box, /* Inner fill */ - linear-gradient(45deg, @blue, @green) border-box; /* Gradient border */ - border: 2px solid transparent; /* required for border-box layering */ - border-radius: 30px; - padding: 20px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); - width: 800px; - height: 600px; -} - -/* --- DMENU menu --- */ -#dmenu { +

+* — MAIN WINDOW (works for BOTH drun + dmenu) — * +#window, #main, #outer-box { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; border: 2px solid transparent; border-radius: 30px; - padding: 10px; /* smaller padding for half-height */ - box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); - width: 800px; - height: 150px; -} + padding: 10px; + box-shadow: 0 0 20px rgba(0,0,0,0.3); +

-/* Input field */ +

+ width: 800px; +} +

+ +

+* — INNER LAYOUT (force compact like dmenu) — * +#inner-box { + spacing: 4px; +} +

+ +

+* — INPUT FIELD — * #input { background-color: @surface0; color: @text; border: 1px solid @surface1; border-radius: 30px; - padding: 5px 10px; - margin-bottom: 10px; + padding: 6px 12px; + margin-bottom: 8px; } +

-/* Entries */ +

+* — ENTRY (default state) — * #entry { - background-color: rgba(200,200,200,0.2); - color: @text; - border-radius: 30px; - padding: 5px 10px; - margin: 2px 0; - border: 2px solid transparent; /* needed for gradient on selection */ - transition: all 0.2s ease; -} + background-color: rgba(200,200,200,0.15); + color: @subtext1; +

-/* Entry focus (hover or typing) */ +

+border-radius: 30px; +padding: 6px 12px; +margin: 2px 0; +

+ +

+ border: 2px solid transparent; + transition: all 0.15s ease; +} +

+ +

+* — HOVER / FOCUS — * #entry:focus { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; color: @lavender; - border-radius: 30px; } +

-/* Entry selection */ +

+* — SELECTED — * #entry:selected { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; color: @text; - border-radius: 30px; } +

-/* Scrollbar */ +

+* — ICONS (drun only, keep subtle) — * +#entry image { + margin-right: 10px; + opacity: 0.8; +} +

+ +

+* — SCROLLBAR — * +#scroll { + margin-top: 5px; +} +

+ +

#scrollbar { background-color: @surface0; border-radius: 30px; - width: 8px; + width: 6px; } +

-#scrollbar.handle { +

+#scrollbar handle { background-color: @blue; border-radius: 30px; } - +

+ +

+* — DMENU SPECIFIC (force same look) — * +#dmenu { + padding: 0; +} +

+ +

+* Remove weird spacing differences * +#outer-box > box { + spacing: 4px; +} +

+ +

+* Optional: hide prompt icon spacing inconsistencies * +#prompt { + margin-right: 6px; + color: @subtext0; +} +#+ENDSRC +

-
-
-
-

generated/.config/zed/settings.json

-
+
+

generated/.config/zed/settings.json

+

These are config files for Zed editor

@@ -5381,9 +5460,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -5408,7 +5487,7 @@ fi

Author: Henro Veijer

-

Created: 2026-04-13 ma 13:48

+

Created: 2026-04-13 ma 14:12

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 0ca57cc6f..1d47abeb5 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -2245,8 +2245,8 @@ $mainMod = SUPER # Terminal / launcher / kill / reload bind = $mainMod, E, exec, thunar bind = $mainMod, RETURN, exec, kitty -bind = $mainMod, Space, exec, wofi --show drun --style ~/.config/wofi/style.css -bind = ALT, Space, exec, wofi --show drun +bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh +bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh bind = $mainMod, Q, killactive, bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, R, exec, hyprctl reload @@ -3412,6 +3412,17 @@ echo "📦 Updating Flatpaks..." flatpak update -y #+END_SRC +** =generated/.config/scripts/wofi-launcher.sh= +Providing an media +#+BEGIN_SRC sh :tangle generated/.config/scripts/wofi-launcher.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never +wofi --show drun \ + --style ~/.config/wofi/style.css \ + --no-actions \ + --allow-images=false \ + --columns 1 \ + --prompt "Apps" +#+END_SRC + ** =generated/.config/shared/Colors.css= A file containing color variables #+BEGIN_SRC css :tangle generated/.config/shared/Colors.css :noweb yes :mkdirp yes :eval never @@ -4041,7 +4052,7 @@ These are config files for waybar "format-disconnected": "Disconnected ⚠", "tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", - "on-click": "networkmanager_dmenu", + "on-click": "networkmanager_dmenu -dmenu "wofi -dmenu --style ~/.config/wofi/style.css"", "on-click-right": "nm-connection-editor" }, @@ -4503,94 +4514,112 @@ prompt = > ... #+END_SRC ** =generated/.config/wofi/style.css= -These are config files for .config/wofi +This is the default layout for wofi #+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never @import url("file:///home/henrov/.config/shared/Colors.css"); -/* Global styles */ - * { +/* --- GLOBAL --- */ +* { background-color: transparent; color: @text; font-family: "JetBrainsMono Nerd Font", monospace; font-size: 12pt; } -/* --- DRUN menu (full size) --- */ -#main { - background: - linear-gradient(@base-alpha, @base-alpha) padding-box, /* Inner fill */ - linear-gradient(45deg, @blue, @green) border-box; /* Gradient border */ - border: 2px solid transparent; /* required for border-box layering */ - border-radius: 30px; - padding: 20px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); - width: 800px; - height: 600px; -} - -/* --- DMENU menu --- */ -#dmenu { +/* --- MAIN WINDOW (works for BOTH drun + dmenu) --- */ +#window, #main, #outer-box { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; border: 2px solid transparent; border-radius: 30px; - padding: 10px; /* smaller padding for half-height */ - box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); + padding: 10px; + box-shadow: 0 0 20px rgba(0,0,0,0.3); + width: 800px; - height: 150px; } -/* Input field */ +/* --- INNER LAYOUT (force compact like dmenu) --- */ +#inner-box { + spacing: 4px; +} + +/* --- INPUT FIELD --- */ #input { background-color: @surface0; color: @text; border: 1px solid @surface1; border-radius: 30px; - padding: 5px 10px; - margin-bottom: 10px; + padding: 6px 12px; + margin-bottom: 8px; } -/* Entries */ +/* --- ENTRY (default state) --- */ #entry { - background-color: rgba(200,200,200,0.2); - color: @text; + background-color: rgba(200,200,200,0.15); + color: @subtext1; + border-radius: 30px; - padding: 5px 10px; + padding: 6px 12px; margin: 2px 0; - border: 2px solid transparent; /* needed for gradient on selection */ - transition: all 0.2s ease; + + border: 2px solid transparent; + transition: all 0.15s ease; } -/* Entry focus (hover or typing) */ +/* --- HOVER / FOCUS --- */ #entry:focus { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; color: @lavender; - border-radius: 30px; } -/* Entry selection */ +/* --- SELECTED --- */ #entry:selected { background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; color: @text; - border-radius: 30px; } -/* Scrollbar */ +/* --- ICONS (drun only, keep subtle) --- */ +#entry image { + margin-right: 10px; + opacity: 0.8; +} + +/* --- SCROLLBAR --- */ +#scroll { + margin-top: 5px; +} + #scrollbar { background-color: @surface0; border-radius: 30px; - width: 8px; + width: 6px; } -#scrollbar.handle { +#scrollbar handle { background-color: @blue; border-radius: 30px; } + +/* --- DMENU SPECIFIC (force same look) --- */ +#dmenu { + padding: 0; +} + +/* Remove weird spacing differences */ +#outer-box > box { + spacing: 4px; +} + +/* Optional: hide prompt icon spacing inconsistencies */ +#prompt { + margin-right: 6px; + color: @subtext0; +} #+END_SRC diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index 4fb2728d4..68a69b7d0 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -4,8 +4,8 @@ $mainMod = SUPER # Terminal / launcher / kill / reload bind = $mainMod, E, exec, thunar bind = $mainMod, RETURN, exec, kitty -bind = $mainMod, Space, exec, wofi --show drun --style ~/.config/wofi/style.css -bind = ALT, Space, exec, wofi --show drun +bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh +bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh bind = $mainMod, Q, killactive, bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, R, exec, hyprctl reload diff --git a/Droidnix/generated/.config/scripts/wofi-launcher.sh b/Droidnix/generated/.config/scripts/wofi-launcher.sh new file mode 100755 index 000000000..3eb0e0869 --- /dev/null +++ b/Droidnix/generated/.config/scripts/wofi-launcher.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +wofi --show drun \ + --style ~/.config/wofi/style.css \ + --no-actions \ + --allow-images=false \ + --columns 1 \ + --prompt "Apps" diff --git a/Droidnix/generated/.config/waybar/config b/Droidnix/generated/.config/waybar/config index 89edcf32b..1639be0af 100644 --- a/Droidnix/generated/.config/waybar/config +++ b/Droidnix/generated/.config/waybar/config @@ -171,7 +171,7 @@ "format-disconnected": "Disconnected ⚠", "tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", - "on-click": "networkmanager_dmenu", + "on-click": "networkmanager_dmenu -dmenu "wofi -dmenu --style ~/.config/wofi/style.css"", "on-click-right": "nm-connection-editor" },