fix(system): enable uwsm and fix session detection to allow VM login
- Enable programs.uwsm for session management. - Improve SDDM theme session detection logic to be case-insensitive and more robust. - Perform a global cleanup of 'Nnomarchy' and 'org.nnomarchy' typos across all scripts and configurations.
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Nnomarchy on-boot initialization script.
|
||||
# Nomarchy on-boot initialization script.
|
||||
# Automatically detects the hardware, applies necessary runtime tweaks,
|
||||
# and sets the correct screen resolution/scaling.
|
||||
|
||||
# 1. Automatically configure optimal screen resolution and scaling
|
||||
nnomarchy-hyprland-monitor-scaling-cycle >/dev/null 2>&1
|
||||
nomarchy-hyprland-monitor-scaling-cycle >/dev/null 2>&1
|
||||
|
||||
# 2. Hardware-specific runtime tweaks
|
||||
if nnomarchy-hw-match "Laptop 16"; then
|
||||
if nomarchy-hw-match "Laptop 16"; then
|
||||
# Framework 16 specific tweaks
|
||||
nnomarchy-theme-set-keyboard-f16 >/dev/null 2>&1
|
||||
nomarchy-theme-set-keyboard-f16 >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if nnomarchy-hw-asus-rog; then
|
||||
if nomarchy-hw-asus-rog; then
|
||||
# Asus ROG specific tweaks
|
||||
nnomarchy-theme-set-keyboard-asus-rog >/dev/null 2>&1
|
||||
nomarchy-theme-set-keyboard-asus-rog >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# 3. Declarative hardware configuration check (nixos-hardware)
|
||||
|
||||
Reference in New Issue
Block a user