mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Update .config/fastfetch/startup.jsonc
Update .config/hypr/hyprland.conf Update .config/hypr/hyprland/animations.conf Update .config/hypr/hyprland/binds/audio.conf Update .config/hypr/hyprland/binds/clipboard.conf Update .config/hypr/hyprland/exec.conf Update .config/hypr/hyprland/general.conf Update .config/hypr/hyprland/rules/pavucontrol.conf Update .config/hypr/hyprland/rules/vesktop.conf Update .config/mako/config Update .config/waybar/colors.css Update .config/waybar/config.jsonc Update .config/waybar/style.css Update .config/wofi/colors Update .config/wofi/style.css Update .local/bin/change_colors.sh Update .local/bin/system_setup.sh Update .local/bin/wp-vol.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Get the volume level and convert it to a percentage
|
||||
volume=$(wpctl get-volume @DEFAULT_AUDIO_SINK@)
|
||||
volume=$(wpctl get-volume @DEFAULT_SINK@)
|
||||
volume=$(echo "$volume" | awk '{print $2}')
|
||||
volume=$(echo "( $volume * 100 ) / 1" | bc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user