This commit is contained in:
2025-10-20 20:36:42 +02:00
parent a759548d2e
commit e3f119b29a
4 changed files with 36 additions and 32 deletions

View File

@@ -1,9 +1,9 @@
mute=$(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}')
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}' | tr -d '%')
mute=$(wpctl get-volume @DEFAULT_SINK@ | grep -o "muted")
volume=$(wpctl get-volume @DEFAULT_SINK@ | awk '{print int($1*100)}')
# /-- Mic -->
if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "yes"; then
mic_mute=$(wpctl get-volume @DEFAULT_SOURCE@ | grep -o "muted")
if [[ "$mic_mute" == "muted" ]]; then
eww update micClass="micOff"
eww update micIcon="󰍭"
else

View File

@@ -3,6 +3,10 @@
{
programs.git = {
enable = true;
settings.user = {
name = "4Lost";
email = "elias.schroeter@e.email";
}
userName = "4Lost";
userEmail = "elias.schroeter@e.email";
signing = {

View File

@@ -15,7 +15,7 @@
source = ./src;
};
wayland.windowManager.river = let
wayland.windowManager.river-classic = let
all_tags = "$(((1 << 32) - 1))";
scratch_tag = "$((1 << 20 ))";
all_but_scratch_tag = "$(( ((1 << 32) - 1) ^ ${scratch_tag} ))";