hyprland scripts
This commit is contained in:
9
.config/hypr/scripts/goxlr/goxlr-settings-start.sh
Executable file
9
.config/hypr/scripts/goxlr/goxlr-settings-start.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Source the functions file
|
||||
notify-send "GoXLR inteface is starting"
|
||||
|
||||
# nohup goxlr-daemon &
|
||||
sleep 10
|
||||
goxlr-client profiles device load 'Default'
|
||||
notify-send "GoXLR start complete"
|
||||
11
.config/hypr/scripts/goxlr/goxlr-start.sh
Executable file
11
.config/hypr/scripts/goxlr/goxlr-start.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Source the functions file
|
||||
source "$HOME/.config/function_helper.sh"
|
||||
|
||||
SCRIPT="goxlr-daemon"
|
||||
SCRIPT2="$HOME/.config/hypr/scripts/goxlr/goxlr-settings-start.sh"
|
||||
|
||||
nohup "$SCRIPT" &
|
||||
send_notification "normal" "GOXLR daemon Started" "Launched the GOXLR Daemon to control the Audio" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||
nohup "$SCRIPT2" &
|
||||
11
.config/hypr/scripts/goxlr/headphones.sh
Executable file
11
.config/hypr/scripts/goxlr/headphones.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Source the functions file
|
||||
source "$HOME/.config/function_helper.sh"
|
||||
|
||||
SCRIPT="goxlr-client volume line-out 0"
|
||||
SCRIPT2="goxlr-client volume headphones 60"
|
||||
|
||||
$SCRIPT
|
||||
$SCRIPT2
|
||||
send_notification "normal" "Switched to Headphones" "Muted the Speaker and set the Headphones to a appropiate Volume." "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||
11
.config/hypr/scripts/goxlr/speaker.sh
Executable file
11
.config/hypr/scripts/goxlr/speaker.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Source the functions file
|
||||
source "$HOME/.config/function_helper.sh"
|
||||
|
||||
SCRIPT="goxlr-client volume line-out 100"
|
||||
SCRIPT2="goxlr-client volume headphones 0"
|
||||
|
||||
$SCRIPT
|
||||
$SCRIPT2
|
||||
send_notification "normal" "Switched to Speaker" "Muted the Headphones and set the Speaker to a appropiate Volume." "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||
Reference in New Issue
Block a user