diff --git a/config/eww/quick-settings/quick-settings.scss b/config/eww/quick-settings/quick-settings.scss index 6af857e..8553908 100644 --- a/config/eww/quick-settings/quick-settings.scss +++ b/config/eww/quick-settings/quick-settings.scss @@ -151,11 +151,6 @@ margin-top: 30px; margin-bottom: 20px; - .slider { - margin-left: 10px; - margin-right: 10px; - } - .slider-label { font-size: 30px; min-width: 30px; @@ -165,6 +160,7 @@ min-height: 55px; min-width: 400px; margin-left: 18px; + margin-right: 20px; highlight { margin: 0px; diff --git a/config/eww/scripts/notif.sh b/config/eww/scripts/notif.sh index 5526f29..a986143 100755 --- a/config/eww/scripts/notif.sh +++ b/config/eww/scripts/notif.sh @@ -9,7 +9,7 @@ state () { } icon () { - local COUNT=$(swaync-client -c) + COUNT=$(swaync-client -c) if [[ $(swaync-client -D) == "true" ]]; then echo " 󱏨" diff --git a/config/eww/scripts/volume.sh b/config/eww/scripts/volume.sh index 70cffe9..4a30dc3 100755 --- a/config/eww/scripts/volume.sh +++ b/config/eww/scripts/volume.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash -# @requires: pactl - -#SINK=$(pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1) SINK="@DEFAULT_SINK@" percentage () { @@ -54,8 +51,6 @@ get_class () { } get_vol () { - #local percent=$(get_percentage) - #echo $percent | tr -d '%' echo $(pactl get-sink-volume @DEFAULT_SINK@ | grep Volume | awk '{print $5}' | tr % " ") }