summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-02 08:34:59 -0400
committerluxagraf <sng@luxagraf.net>2023-11-02 08:34:59 -0400
commit39a390ba2610bd1a0bba0876084948d67ef159d4 (patch)
tree3b6c72c3ab8d2b920cbd5312304d2c545d48076e
parentab987e10f154f5536bb8fd936ae0966e909fa969 (diff)
added my dev launcher, vpn script and updated weather script
-rwxr-xr-xapps/dev.desktop9
-rwxr-xr-xconnected.sh2
-rwxr-xr-xdev.sh2
-rwxr-xr-xweather.sh2
4 files changed, 14 insertions, 1 deletions
diff --git a/apps/dev.desktop b/apps/dev.desktop
new file mode 100755
index 0000000..523afe4
--- /dev/null
+++ b/apps/dev.desktop
@@ -0,0 +1,9 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Type=Application
+Name=Shopping
+Exec=/usr/bin/vivaldi-snapshot --user-data-dir=/home/lxf/.config/dev --app-id=aghbiahboaiuignceidepookljebhfak
+Icon=chrome-celnaknmndcdcjcagffhbhciignkeokb-Default
+StartupWMClass=crx_aghbiahbpaijignceidepookljebhfak
diff --git a/connected.sh b/connected.sh
new file mode 100755
index 0000000..5eaffd5
--- /dev/null
+++ b/connected.sh
@@ -0,0 +1,2 @@
+ip=$(curl https://am.i.mullvad.net/connected | grep -Pom 1 '[0-9.]{7,15}')
+echo "VPN:"$ip
diff --git a/dev.sh b/dev.sh
new file mode 100755
index 0000000..5adfeb1
--- /dev/null
+++ b/dev.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+exo-open ~/bin/apps/dev.desktop
diff --git a/weather.sh b/weather.sh
index 967a085..f23deba 100755
--- a/weather.sh
+++ b/weather.sh
@@ -10,7 +10,7 @@
API_KEY="addb94619729b6651f54d5c9984a45d4"
# Check on http://openweathermap.org/find :
-CITY_ID="4177908"
+CITY_ID="5277856"
# Select applicable temperature symbol "˚C" or "˚F" :
SYMBOL_CELSIUS="˚F"