summaryrefslogtreecommitdiff
path: root/sysutil.sh
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-06 10:34:05 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-06 10:34:05 +0800
commit01abbff07781d55101f5a347634de49631709579 (patch)
tree6069e2ea6e007ff932cdfa917d922b9b1c186230 /sysutil.sh
parent582c7ad0569e4bc52a86b38e9a51f07f41842e15 (diff)
more hyprland scripts
Diffstat (limited to 'sysutil.sh')
-rwxr-xr-xsysutil.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutil.sh b/sysutil.sh
index 3bf6946..8dba1bd 100755
--- a/sysutil.sh
+++ b/sysutil.sh
@@ -11,7 +11,7 @@ function prepsound() {
sDIR=/usr/share/sounds/freedesktop/stereo
}
-function playsound() {
+function playSound() {
if [ ! $sDIR ]; then
echo Warning: Sound directory not set, setting to default
prepsound
@@ -51,6 +51,10 @@ function screenshot() {
$HOME/scripts/hyprshot $@
}
+function volume() {
+ $HOME/scripts/hyprvol $@
+}
+
if [ "$1" ]; then
$@
fi