This commit is contained in:
2026-02-22 20:46:25 +01:00
parent 6361515b17
commit ef04405651
2 changed files with 3 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
libnotify
gh gh
trash-cli trash-cli
pandoc pandoc

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
#
# Get the volume level and convert it to a percentage # Get the volume level and convert it to a percentage
volume=$(wpctl get-volume @DEFAULT_SINK@) volume=$(wpctl get-volume @DEFAULT_SINK@)
volume=$(echo "$volume" | awk '{print $2}') volume=$(echo "$volume" | awk '{print $2}')