- Relocate themes to assets/themes/ and update all references. - Implement custom SDDM theme and Plymouth theme enhancements. - Add themed templates for Alacritty, Hyprland, Waybar, and other apps. - Introduce Makima key remapper module and configuration. - Add Voxtype and Walker configurations. - Implement systemd power management and timeout optimizations. - Add Nautilus-python extensions for LocalSend. - Update branding assets and ASCII art integration.
29 lines
797 B
Bash
Executable File
29 lines
797 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Manage persistent runtime state files for Nnomarchy indicators.
|
|
# Usage: nnomarchy-state <set|clear> <state-name-or-pattern>
|
|
# Used to track whether things like reboot, restart, etc are required.
|
|
# DO NOT use this for configuration toggles (suspend, screensaver, etc).
|
|
# Use declarative Nnomarchy NixOS home-manager options for those instead.
|
|
|
|
STATE_DIR="$HOME/.local/state/nnomarchy"
|
|
mkdir -p "$STATE_DIR"
|
|
|
|
COMMAND="$1"
|
|
STATE_NAME="$2"
|
|
|
|
if [[ -z $COMMAND ]]; then
|
|
echo "Usage: nnomarchy-state <set|clear> <state-name-or-pattern>"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -z $STATE_NAME ]]; then
|
|
echo "Usage: nnomarchy-state $COMMAND <state-name>"
|
|
exit 1
|
|
fi
|
|
|
|
case "$COMMAND" in
|
|
set) touch "$STATE_DIR/$STATE_NAME" ;;
|
|
clear) find "$STATE_DIR" -maxdepth 1 -type f -name "$STATE_NAME" -delete ;;
|
|
esac
|