feat: airplane mode (#104) + crisper fastfetch logo (#122)
Some checks failed
Check / eval (push) Has been cancelled
Some checks failed
Check / eval (push) Has been cancelled
Airplane: runtime Wi-Fi+Bluetooth kill-switch with prior-state restore, System menu + SUPER+CTRL+R, Waybar plane glyph (self-hides, whole-swap parity). Fastfetch: chafa sextants at 24×12 (was block 20×10) for a finer monogram; V2 kitty screenshots under boreal and summer-night.
This commit is contained in:
@@ -864,6 +864,13 @@ ${themeRows}
|
||||
&& exec nomarchy-nightlight toggle
|
||||
notify-send "Night light" "Not available (nomarchy.nightlight off?)."; exit 0 ;;
|
||||
|
||||
airplane)
|
||||
# Runtime Wi-Fi + Bluetooth kill-switch (#104). Priors restored on
|
||||
# disengage; Waybar plane glyph self-hides when off.
|
||||
command -v nomarchy-airplane >/dev/null 2>&1 \
|
||||
&& exec nomarchy-airplane toggle
|
||||
notify-send "Airplane mode" "Not available."; exit 0 ;;
|
||||
|
||||
autotheme)
|
||||
# Look & Feel › Auto theme — automatic day/night theme switch
|
||||
# (settings.autoTheme, applied by the nomarchy-auto-theme timer from
|
||||
@@ -1169,6 +1176,12 @@ ${themeRows}
|
||||
choice=$( {
|
||||
row "Network${menuHint "network"}" network-wireless
|
||||
row "VPN" network-vpn
|
||||
# Airplane mode (#104): runtime Wi-Fi+BT kill-switch. Label
|
||||
# tracks the session flag; tool is always on PATH via airplane.nix.
|
||||
if [ "$(nomarchy-airplane is-active 2>/dev/null)" = on ]
|
||||
then row "Airplane mode (on)${menuHint "airplane"}" network-wireless-offline
|
||||
else row "Airplane mode (off)${menuHint "airplane"}" network-wireless-offline
|
||||
fi
|
||||
command -v blueman-manager >/dev/null 2>&1 \
|
||||
&& row "Bluetooth${menuHint "bluetooth"}" bluetooth
|
||||
[ -e "''${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/pulse/native" ] \
|
||||
@@ -1225,6 +1238,7 @@ ${themeRows}
|
||||
"$BACK") exec "$0" ;;
|
||||
*Network*) exec "$0" network ;;
|
||||
*VPN*) exec "$0" vpn ;;
|
||||
*"Airplane mode"*) exec "$0" airplane ;;
|
||||
*Bluetooth*) exec "$0" bluetooth ;;
|
||||
*Audio*) exec "$0" audio ;;
|
||||
*Display*) exec "$0" display ;;
|
||||
@@ -1349,7 +1363,7 @@ ${themeRows}
|
||||
esac ;;
|
||||
|
||||
*)
|
||||
echo "usage: nomarchy-menu [lookfeel|tools|system|power|power-profile|powermgmt|batterylimit|theme|clipboard|calc|files|emoji|web|network|bluetooth|audio|display|display-profile|keyboard|printers|capture|colorpicker|keybinds|ask|dnd|nightlight|autotimezone|autologin|autocommit|vpn|snapshot|doctor|firmware|fingerprint|controlcenter|rollback|whatchanged]" >&2
|
||||
echo "usage: nomarchy-menu [lookfeel|tools|system|power|power-profile|powermgmt|batterylimit|theme|clipboard|calc|files|emoji|web|network|bluetooth|airplane|audio|display|display-profile|keyboard|printers|capture|colorpicker|keybinds|ask|dnd|nightlight|autotimezone|autologin|autocommit|vpn|snapshot|doctor|firmware|fingerprint|controlcenter|rollback|whatchanged]" >&2
|
||||
exit 64 ;;
|
||||
esac
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user