- 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.
18 lines
446 B
Bash
Executable File
18 lines
446 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Toggles wifi power saving declaratively.
|
|
# Usage: nnomarchy-wifi-powersave <on|off>
|
|
|
|
STATE_FILE="/etc/nixos/state.json"
|
|
|
|
case "$1" in
|
|
on) value="true" ;;
|
|
off) value="false" ;;
|
|
*) echo "Usage: nnomarchy-wifi-powersave <on|off>"; exit 1 ;;
|
|
esac
|
|
|
|
sudo jq ".wifi.powersave = $value" "$STATE_FILE" > /tmp/state.json && sudo mv /tmp/state.json "$STATE_FILE"
|
|
|
|
echo "Wifi powersave set to $1. Applying changes..."
|
|
sudo sys-update
|