From 2e0f6163f61cb1e4195f1a08ad1148e57a4f5843 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 2 Aug 2026 18:18:07 +0530 Subject: feat: Added package option to each module, darkman service - Added package options to each module which defines the package/derivation that should be used in all other modules - Added a systemd oneshot service that autosets darkman to dark mode - Removed the prompt from rofi --- modules/scripts/usque-warp/script.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/scripts/usque-warp') diff --git a/modules/scripts/usque-warp/script.sh b/modules/scripts/usque-warp/script.sh index a959cc4..5736018 100644 --- a/modules/scripts/usque-warp/script.sh +++ b/modules/scripts/usque-warp/script.sh @@ -27,13 +27,11 @@ is_running() { } ensure_config() { - echo "usque config not found." echo "Creating $CONFIG_DIR..." mkdir -p "$CONFIG_DIR" + rm -f "$CONFIG" echo "Registering Cloudflare WARP account..." - yes | usque register - echo "Generating usque config..." - usque generate -o "$CONFIG" + usque -c "$CONFIG" register < <(yes) if [[ ! -f "$CONFIG" ]]; then echo "Failed to create config file: $CONFIG" exit 1 -- cgit v1.2.3