diff --git a/Droidnix/README.html b/Droidnix/README.html index dc55a86d4..72e95e1e1 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,142 +204,141 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

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

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -399,16 +398,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. @@ -429,9 +428,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

@@ -509,9 +508,9 @@ com.logseq.Logseq
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

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

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

generated/modules/traveldroid/system/colors.nix

-
+
+

generated/modules/traveldroid/system/colors.nix

+

Setting the colors for Droidnix.

@@ -725,12 +724,11 @@ 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, ... }:
+
{ config, pkgs, lib, flakeRoot, ... }:
 {
   boot.loader = {
     systemd-boot.enable = true;
@@ -796,9 +794,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. @@ -856,9 +854,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

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

@@ -1032,9 +1030,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

@@ -1125,82 +1123,18 @@ in }; }; } -
-
-

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

-
{ pkgs, config, lib, ... }:
-let
-  username = config.defaultUser or "henrov";
-in
-{
-  ############################
-  # System-level packages
-  ############################
-  environment.systemPackages = with pkgs; [
-    flameshot
-  ];
-
-  ############################
-  # Home Manager user-level configuration
-  ############################
-  home-manager.users."${username}" = {
-    home.sessionVariables = {
-      SCREENSHOT_TOOL = "flameshot";
-      USERNAME        = username;
-    };
-
-    # Create ~/Pictures/Screenshots by touching a dummy file
-    home.file."Pictures/Screenshots/.keep" = {
-      text = "";   # empty file
-    };
-
-    services.flameshot = {
-      enable = true;
-      settings = {
-        General = {
-          uiColor = "#97cbbe";
-          contrastUiColor = "#1e1e2e";
-          showDesktopNotification = true;
-          savePath = "/home/${username}/Pictures/Screenshots";
-          filenamePattern = "$Y-$m-$d_$H-$M-$S";
-          useGrimAdapter = true;
-        };
-      };
-    };
-
-    systemd.user.services.flameshot = {
-      Service = {
-        Environment = [
-          "WAYLAND_DISPLAY=wayland-1"
-          "XDG_CURRENT_DESKTOP=hyprland"
-          "XDG_SESSION_TYPE=wayland"
-        ];
-      };
-    };
-  };
-}
-
-
-
-
-
-

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 -

-
-
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
-{ config, pkgs, ... }:
+
{ config, pkgs, ... }:
 let
   username = config.defaultUser or "henrov";
 in
@@ -1223,9 +1157,9 @@ in
 
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1277,9 +1211,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

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

@@ -1366,9 +1300,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1403,9 +1337,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1425,15 +1359,14 @@ in
-
-

generated/modules/traveldroid/apps/zeditor.nix

-
+
+

generated/modules/traveldroid/apps/zeditor.nix

+

This sets Zed Editor

-
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
-{ lib, config, pkgs, flakeRoot, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 let
   username = config.defaultUser or "henrov";
   sysName = "zed";
@@ -1483,9 +1416,9 @@ in
 
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

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

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

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1651,9 +1584,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1698,9 +1631,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

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

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1868,9 +1801,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1916,9 +1849,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

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

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -2021,13 +1954,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, ... }:
 
@@ -2046,9 +1979,9 @@ in
 
-
-

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -2068,9 +2001,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

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

@@ -2140,9 +2073,9 @@ in
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -2169,9 +2102,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2252,9 +2185,9 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

@@ -2310,9 +2243,9 @@ in
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

@@ -2369,9 +2302,9 @@ in
-
-

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

-
+
+

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

+

This sets the dbus implementation

@@ -2419,9 +2352,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 imho fits the aesthetic I am aiming for

@@ -2469,9 +2402,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2520,9 +2453,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

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

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2571,9 +2504,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the quickshell implementation

@@ -2619,9 +2552,9 @@ in
-
-

generated/modules/traveldroid/system/swaync.nix

-
+
+

generated/modules/traveldroid/system/swaync.nix

+

This sets the dbus implementation

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

@@ -2738,9 +2671,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -3253,9 +3186,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

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

@@ -3298,9 +3231,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -3324,13 +3257,6 @@ 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 2>/dev/null -# bind = , XF86Screenshot, exec, flameshot gui 2>/dev/null -# 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 bind = ALT SHIFT, TAB, cyclenext, prev @@ -3388,17 +3314,18 @@ bind = $mainMod, F, fullscreen, 0 bind = $mainMod SHIFT, F, fullscreen, 1 # Workspaces -bind = $mainMod, 1, workspace, 1, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 1 -bind = $mainMod, 2, workspace, 2, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 2 -bind = $mainMod, 3, workspace, 3, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 3 -bind = $mainMod, 4, workspace, 4, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 4 -bind = $mainMod, 5, workspace, 5, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 5 -bind = $mainMod, 6, workspace, 6, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 6 -bind = $mainMod, 7, workspace, 7, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 7 -bind = $mainMod, 8, workspace, 8, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 8 -bind = $mainMod, 9, workspace, 9, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 9 -bind = $mainMod, 0, workspace, 10, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 0 +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 +# Moving windows to workspaces bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -3463,11 +3390,6 @@ bind = $mainMod, W, exec, zen bind = CTRL ALT, T, exec, solidtime-desktop bind = , XF86Calculator, exec, gnome-calculator -######################### -# Auto apps -######################### -bind = , workspace, exec, ~/.config/scripts/set-workspace-wallpaper.sh - ######################### # System stuff ######################### @@ -3477,9 +3399,9 @@ bind = $mainMod, U, exec, qs -c updater
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3490,19 +3412,17 @@ exec-once = systemctl --user start --no-block xdg-desktop-portal exec-once = hypridle exec-once = awww-daemon exec-once = awww img ~/Wallpapers/pictures/01.jpg -exec-once = ~/.config/scripts/set-workspace-wallpaper.sh -exec-once = ~/.config/scripts/workspace-listener.sh +exec-once = ~/Wallpapers/scripts/ws-daemon.sh exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 exec-once = nextcloud --background -# exec-once = QT_QPA_PLATFORM=wayland flameshot 2> >(grep -v "wlroots" >&2) exec-once = waybar
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3533,9 +3453,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3565,9 +3485,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

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

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

-
+
+

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

+

These are config files for .config/hypr

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

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3618,9 +3538,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3699,9 +3619,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3802,9 +3722,9 @@ windowrule {
-
-

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

-
+
+

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

+

These setttings configure rules for workspaces

@@ -3819,9 +3739,9 @@ workspace = 6, monitor:DP-1 #, layout:dwindle
-
-

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

-
+
+

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

+

offers a audio widget

@@ -4215,9 +4135,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -4365,9 +4285,9 @@ ShellRoot {
-
-

generated/.config/quickshell/updater/shell.qml

-
+
+

generated/.config/quickshell/updater/shell.qml

+

Updates the system

@@ -4616,9 +4536,9 @@ ShellRoot {
-
-

generated/.config/quickshell/layoutswitcher/shell.qml

-
+
+

generated/.config/quickshell/layoutswitcher/shell.qml

+

Provides a layout menu

@@ -4765,9 +4685,9 @@ ShellRoot {
-
-

generated/.config/waybar/scripts/batterywarn.sh

-
+
+

generated/.config/waybar/scripts/batterywarn.sh

+

Providing an media

@@ -4784,9 +4704,9 @@ fi
-
-

generated/.config/waybar/scripts/media.sh

-
+
+

generated/.config/waybar/scripts/media.sh

+

Providing an media

@@ -4885,9 +4805,9 @@ jq -c -n \
-
-

generated/.config/scripts/numlock-check.sh

-
+
+

generated/.config/scripts/numlock-check.sh

+

Count keyboards and enable numlock if more then 1, else disable

@@ -4909,9 +4829,9 @@ fi
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

Enables a terminal power menu

@@ -4966,9 +4886,9 @@ main
-
-

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

-
+
+

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

+

Providing an media

@@ -4983,9 +4903,9 @@ Providing an media
-
-

generated/.config/shared/colors.css

-
+
+

generated/.config/shared/colors.css

+

A file containing color variables

@@ -5026,9 +4946,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -5316,9 +5236,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -5355,9 +5275,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

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

@@ -5466,9 +5386,9 @@ These are config files for .config/stylix
-
-

generated/.config/swaync/config.json

-
+
+

generated/.config/swaync/config.json

+

These are config files for waybar

@@ -5529,9 +5449,9 @@ These are config files for waybar
-
-

generated/.config/swaync/style.css

-
+
+

generated/.config/swaync/style.css

+

These are config files for waybar

@@ -5724,9 +5644,9 @@ These are config files for waybar
-
-

generated/.config/waybar/config.jsonc

-
+
+

generated/.config/waybar/config.jsonc

+

These are config files for waybar

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

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

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

-
+
+

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

+

These are config files for waybar

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

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

-
+
+

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

+

These are config files for waybar

@@ -6396,9 +6316,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -6420,9 +6340,9 @@ hyprctl dispatch focuswindow address:"$addr"
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -6446,9 +6366,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -6485,9 +6405,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -6523,9 +6443,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -6552,9 +6472,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

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

@@ -6690,9 +6610,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -6729,7 +6649,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-29 wo 13:51

+

Created: 2026-04-29 wo 14:23

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index de7e195a4..f04dfb1d9 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -338,7 +338,6 @@ in ** =generated/hosts/traveldroid/boot.nix= #+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never -# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- { config, pkgs, lib, flakeRoot, ... }: { boot.loader = { @@ -709,69 +708,11 @@ in }; }; } - -#+END_SRC - -** =generated/disabled/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 -#+BEGIN_SRC nix :tangle generated/disabled/modules/traveldroid/apps/flameshot.nix :noweb yes :mkdirp yes :eval never -{ pkgs, config, lib, ... }: -let - username = config.defaultUser or "henrov"; -in -{ - ############################ - # System-level packages - ############################ - environment.systemPackages = with pkgs; [ - flameshot - ]; - - ############################ - # Home Manager user-level configuration - ############################ - home-manager.users."${username}" = { - home.sessionVariables = { - SCREENSHOT_TOOL = "flameshot"; - USERNAME = username; - }; - - # Create ~/Pictures/Screenshots by touching a dummy file - home.file."Pictures/Screenshots/.keep" = { - text = ""; # empty file - }; - - services.flameshot = { - enable = true; - settings = { - General = { - uiColor = "#97cbbe"; - contrastUiColor = "#1e1e2e"; - showDesktopNotification = true; - savePath = "/home/${username}/Pictures/Screenshots"; - filenamePattern = "$Y-$m-$d_$H-$M-$S"; - useGrimAdapter = true; - }; - }; - }; - - systemd.user.services.flameshot = { - Service = { - Environment = [ - "WAYLAND_DISPLAY=wayland-1" - "XDG_CURRENT_DESKTOP=hyprland" - "XDG_SESSION_TYPE=wayland" - ]; - }; - }; - }; -} #+END_SRC ** =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 #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kdeconnect.nix :noweb yes :mkdirp yes :eval never -# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- { config, pkgs, ... }: let username = config.defaultUser or "henrov"; @@ -973,7 +914,6 @@ in ** =generated/modules/traveldroid/apps/zeditor.nix= This sets Zed Editor #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zeditor.nix :noweb yes :mkdirp yes :eval never -# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- { lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; @@ -2687,13 +2627,6 @@ 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 2>/dev/null -# bind = , XF86Screenshot, exec, flameshot gui 2>/dev/null -# 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 bind = ALT SHIFT, TAB, cyclenext, prev @@ -2751,17 +2684,18 @@ bind = $mainMod, F, fullscreen, 0 bind = $mainMod SHIFT, F, fullscreen, 1 # Workspaces -bind = $mainMod, 1, workspace, 1, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 1 -bind = $mainMod, 2, workspace, 2, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 2 -bind = $mainMod, 3, workspace, 3, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 3 -bind = $mainMod, 4, workspace, 4, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 4 -bind = $mainMod, 5, workspace, 5, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 5 -bind = $mainMod, 6, workspace, 6, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 6 -bind = $mainMod, 7, workspace, 7, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 7 -bind = $mainMod, 8, workspace, 8, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 8 -bind = $mainMod, 9, workspace, 9, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 9 -bind = $mainMod, 0, workspace, 10, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 0 +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 +# Moving windows to workspaces bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -2826,11 +2760,6 @@ bind = $mainMod, W, exec, zen bind = CTRL ALT, T, exec, solidtime-desktop bind = , XF86Calculator, exec, gnome-calculator -######################### -# Auto apps -######################### -bind = , workspace, exec, ~/.config/scripts/set-workspace-wallpaper.sh - ######################### # System stuff ######################### @@ -2847,11 +2776,9 @@ exec-once = systemctl --user start --no-block xdg-desktop-portal exec-once = hypridle exec-once = awww-daemon exec-once = awww img ~/Wallpapers/pictures/01.jpg -exec-once = ~/.config/scripts/set-workspace-wallpaper.sh -exec-once = ~/.config/scripts/workspace-listener.sh +exec-once = ~/Wallpapers/scripts/ws-daemon.sh exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 exec-once = nextcloud --background -# exec-once = QT_QPA_PLATFORM=wayland flameshot 2> >(grep -v "wlroots" >&2) exec-once = waybar #+END_SRC diff --git a/Droidnix/assets/traveldroid/Wallpapers/scripts/workspace-listener.sh b/Droidnix/assets/traveldroid/Wallpapers/scripts/workspace-listener.sh deleted file mode 100644 index 69862f6d7..000000000 --- a/Droidnix/assets/traveldroid/Wallpapers/scripts/workspace-listener.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -socket="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" - -socat -U - UNIX-CONNECT:$socket | while read -r line; do - if [[ "$line" == workspace* ]]; then - ~/.config/hypr/scripts/set-workspace-wallpaper.sh - fi -done \ No newline at end of file diff --git a/Droidnix/assets/traveldroid/Wallpapers/scripts/ws-daemon.sh b/Droidnix/assets/traveldroid/Wallpapers/scripts/ws-daemon.sh new file mode 100755 index 000000000..d273f1492 --- /dev/null +++ b/Droidnix/assets/traveldroid/Wallpapers/scripts/ws-daemon.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +SOCK="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" + +socat -U - UNIX-CONNECT:"$SOCK" | while read -r line; do + case "$line" in + workspace>>*) + WS="${line#workspace>>}" + ~/Wallpapers/scripts/ws-wallpaper.sh "$WS" + ;; + esac +done diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index 9998d6e81..51fad8148 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -18,13 +18,6 @@ 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 2>/dev/null -# bind = , XF86Screenshot, exec, flameshot gui 2>/dev/null -# 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 bind = ALT SHIFT, TAB, cyclenext, prev @@ -82,17 +75,18 @@ bind = $mainMod, F, fullscreen, 0 bind = $mainMod SHIFT, F, fullscreen, 1 # Workspaces -bind = $mainMod, 1, workspace, 1, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 1 -bind = $mainMod, 2, workspace, 2, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 2 -bind = $mainMod, 3, workspace, 3, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 3 -bind = $mainMod, 4, workspace, 4, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 4 -bind = $mainMod, 5, workspace, 5, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 5 -bind = $mainMod, 6, workspace, 6, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 6 -bind = $mainMod, 7, workspace, 7, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 7 -bind = $mainMod, 8, workspace, 8, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 8 -bind = $mainMod, 9, workspace, 9, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 9 -bind = $mainMod, 0, workspace, 10, exec, ~/Wallpapers/scripts/ws-wallpaper.sh 0 +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 +# Moving windows to workspaces bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -157,11 +151,6 @@ bind = $mainMod, W, exec, zen bind = CTRL ALT, T, exec, solidtime-desktop bind = , XF86Calculator, exec, gnome-calculator -######################### -# Auto apps -######################### -bind = , workspace, exec, ~/.config/scripts/set-workspace-wallpaper.sh - ######################### # System stuff ######################### diff --git a/Droidnix/generated/.config/hypr/exec-once.conf b/Droidnix/generated/.config/hypr/exec-once.conf index c19bb4a5c..fba504e3c 100644 --- a/Droidnix/generated/.config/hypr/exec-once.conf +++ b/Droidnix/generated/.config/hypr/exec-once.conf @@ -5,9 +5,7 @@ exec-once = systemctl --user start --no-block xdg-desktop-portal exec-once = hypridle exec-once = awww-daemon exec-once = awww img ~/Wallpapers/pictures/01.jpg -exec-once = ~/.config/scripts/set-workspace-wallpaper.sh -exec-once = ~/.config/scripts/workspace-listener.sh +exec-once = ~/Wallpapers/scripts/ws-daemon.sh exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 exec-once = nextcloud --background -# exec-once = QT_QPA_PLATFORM=wayland flameshot 2> >(grep -v "wlroots" >&2) exec-once = waybar diff --git a/Droidnix/generated/hosts/traveldroid/boot.nix b/Droidnix/generated/hosts/traveldroid/boot.nix index 82879277e..395a5dee1 100644 --- a/Droidnix/generated/hosts/traveldroid/boot.nix +++ b/Droidnix/generated/hosts/traveldroid/boot.nix @@ -1,5 +1,4 @@ # --- 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. --- { config, pkgs, lib, flakeRoot, ... }: { boot.loader = { diff --git a/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix b/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix index 3d550dcb6..c4004e9e4 100644 --- a/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix +++ b/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix @@ -1,5 +1,4 @@ # --- 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. --- { config, pkgs, ... }: let username = config.defaultUser or "henrov"; diff --git a/Droidnix/generated/modules/traveldroid/apps/zeditor.nix b/Droidnix/generated/modules/traveldroid/apps/zeditor.nix index d681e0720..9d402143f 100644 --- a/Droidnix/generated/modules/traveldroid/apps/zeditor.nix +++ b/Droidnix/generated/modules/traveldroid/apps/zeditor.nix @@ -1,5 +1,4 @@ # --- 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. --- { lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov";