diff --git a/de/home/.config/eww/scripts/bar/volume-status b/de/home/.config/eww/scripts/bar/volume-status deleted file mode 100755 index dc1857a..0000000 --- a/de/home/.config/eww/scripts/bar/volume-status +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then - echo 0 - exit -else - echo "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/[^0-9]//g')" -fi diff --git a/de/home/.config/eww/scripts/bar/vpn-status b/de/home/.config/eww/scripts/bar/vpn-status deleted file mode 100755 index 0d77b97..0000000 --- a/de/home/.config/eww/scripts/bar/vpn-status +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -nm_active=`nmcli con show --active` -vpn_active='false' - -if [ -z ${1} ];then - if echo "${nm_active}" | grep -q 'vpn' || echo "${nm_active}" | grep -q 'wireguard';then - vpn_active='true' - fi -else - if echo "${nm_active}" | grep -q "${1}";then - vpn_active='true' - fi -fi - -printf '%s' "${vpn_active}"