diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-09-02 17:36:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-09-02 17:36:35 +0800 |
| commit | 582c7ad0569e4bc52a86b38e9a51f07f41842e15 (patch) | |
| tree | 49bd07d6e6cfc85ee9d825ead224fbaed98160b4 /startupsound.sh | |
| parent | 4bafe49e51237da9f4f92c935912426d3661cc11 (diff) | |
init hyprland scripts
Diffstat (limited to 'startupsound.sh')
| -rwxr-xr-x | startupsound.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/startupsound.sh b/startupsound.sh index 43284c7..b793f27 100755 --- a/startupsound.sh +++ b/startupsound.sh @@ -1,2 +1,3 @@ #!/bin/bash -/usr/bin/paplay /home/system/.local/share/sounds/win11startup.mp3 +XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share} +pw-play $XDG_DATA_HOME/sounds/win11startup.mp3 || paplay $XDG_DATA_HOME/sounds/win11startup.mp3 |
