aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/scripts')
-rwxr-xr-x.config/waybar/scripts/album_art.sh9
-rwxr-xr-x.config/waybar/scripts/doppler1
-rwxr-xr-x.config/waybar/scripts/hyprdoppler1
-rwxr-xr-x.config/waybar/scripts/hyprweather1
-rwxr-xr-x.config/waybar/scripts/onclick-weather2
-rwxr-xr-x.config/waybar/scripts/pacpackages2
-rwxr-xr-x.config/waybar/scripts/pacupdate4
-rwxr-xr-x.config/waybar/scripts/vpn-toggle8
-rwxr-xr-x.config/waybar/scripts/weather3
9 files changed, 0 insertions, 31 deletions
diff --git a/.config/waybar/scripts/album_art.sh b/.config/waybar/scripts/album_art.sh
deleted file mode 100755
index 5a8cdab..0000000
--- a/.config/waybar/scripts/album_art.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-album_art=$(playerctl -p spotify_player metadata mpris:artUrl)
-if [[ -z $album_art ]]
-then
- # spotify is dead, we should die too.
- exit
-fi
-curl -s "${album_art}" --output "/tmp/cover.jpeg"
-echo "/tmp/cover.jpeg"
diff --git a/.config/waybar/scripts/doppler b/.config/waybar/scripts/doppler
deleted file mode 100755
index 3d1b7dc..0000000
--- a/.config/waybar/scripts/doppler
+++ /dev/null
@@ -1 +0,0 @@
-curl -s "https://meteoinfo.ru/hmc-output/rmap/phenomena.gif" | imv - -H 1200 -W 1200
diff --git a/.config/waybar/scripts/hyprdoppler b/.config/waybar/scripts/hyprdoppler
deleted file mode 100755
index d383b32..0000000
--- a/.config/waybar/scripts/hyprdoppler
+++ /dev/null
@@ -1 +0,0 @@
-hyprctl dispatch exec "[float; size 1200 1200;]" '/home/awy/.config/waybar/scripts/doppler'
diff --git a/.config/waybar/scripts/hyprweather b/.config/waybar/scripts/hyprweather
deleted file mode 100755
index 6a1e698..0000000
--- a/.config/waybar/scripts/hyprweather
+++ /dev/null
@@ -1 +0,0 @@
-hyprctl dispatch exec "[float; size 1430 1100;]" 'foot "/home/awy/.config/waybar/scripts/onclick-weather"'
diff --git a/.config/waybar/scripts/onclick-weather b/.config/waybar/scripts/onclick-weather
deleted file mode 100755
index 9592932..0000000
--- a/.config/waybar/scripts/onclick-weather
+++ /dev/null
@@ -1,2 +0,0 @@
-curl wttr.in
-read -p "Press Enter to continue..."
diff --git a/.config/waybar/scripts/pacpackages b/.config/waybar/scripts/pacpackages
deleted file mode 100755
index e362ee2..0000000
--- a/.config/waybar/scripts/pacpackages
+++ /dev/null
@@ -1,2 +0,0 @@
-doas pacman -Sy > /dev/null 2>&1
-pacman -Qu | grep -Fcv "[ignored]" | sed "s/^/📦 /;s/^📦 0$//g"
diff --git a/.config/waybar/scripts/pacupdate b/.config/waybar/scripts/pacupdate
deleted file mode 100755
index 0bdf32e..0000000
--- a/.config/waybar/scripts/pacupdate
+++ /dev/null
@@ -1,4 +0,0 @@
-doas pacman -Syu --noconfirm
-sleep 5
-hyprctl notify 5 10000 "rgb(ff1ea3)" " Packages have been upgraded"
-pkill -RTMIN+8 waybar
diff --git a/.config/waybar/scripts/vpn-toggle b/.config/waybar/scripts/vpn-toggle
deleted file mode 100755
index 4b48203..0000000
--- a/.config/waybar/scripts/vpn-toggle
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-if [ -d /sys/class/net/wg0 ]; then
- doas wg-quick down wg0
- hyprctl notify 5 5000 "rgb(ff0000)" " VPN is disabled"
-else
- doas wg-quick up wg0
- hyprctl notify 5 5000 "rgb(008000)" " VPN is enabled"
-fi
diff --git a/.config/waybar/scripts/weather b/.config/waybar/scripts/weather
deleted file mode 100755
index 1e87ac8..0000000
--- a/.config/waybar/scripts/weather
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-#curl -s "wttr.in/?format=3" | awk '{print $3, $4}'
-curl -s "wttr.in/Moscow?format='%c%t'" | sed "s/'//g" | sed 's/ / /g'