From 455cca75a24abb9b31a84a6c0ab516045d0b1080 Mon Sep 17 00:00:00 2001 From: Autumn Date: Wed, 13 May 2026 19:28:47 +0100 Subject: [meta] added install script --- install.nu | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 install.nu (limited to 'install.nu') diff --git a/install.nu b/install.nu new file mode 100755 index 0000000..640a920 --- /dev/null +++ b/install.nu @@ -0,0 +1,24 @@ +#!/usr/bin/env nu + +# +# ~~~ firefox config installer +# + +# +# ~~~ variables + +# get profile location +let PROFILE_DIR = match (uname | get nodename) { + "glados" | "wheatley" => $"($env.HOME)/.config/librewolf/librewolf/Main", + "hx7124" => $"($env.HOME)/Application Support/librewolf/Profiles/Main", + _ => { error make -u { msg: "invalid device" } } +} + +# +# ~~~ install + +# make userChrome directory +mkdir $"($PROFILE_DIR)/chrome" + +# copy userChrome +cp "css/userChrome.css" $"($PROFILE_DIR)/chrome/" -- cgit v1.3