diff options
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/RofiEmoji.sh | 4 | ||||
| -rwxr-xr-x | config/hypr/scripts/Volume.sh | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index 60eff33d..4c51ee8a 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -2,12 +2,12 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Rofi Emoticons. Not my own. Cant remember the source -sed '1,/^### DATA ###$/d' $0 | +sed '1,/^# # DATA # #$/d' $0 | rofi -dmenu -config ~/.config/rofi/config-long.rasi| cut -d ' ' -f 1 | tr -d '\n' | wl-copy exit -# DATA # +# # DATA # # 😀 grinning face face smile happy joy :D grin 😃 grinning face with big eyes face happy joy haha :D :) smile funny 😄 grinning face with smiling eyes face happy joy funny haha laugh like :D :) smile diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh index e8612c38..37a0603b 100755 --- a/config/hypr/scripts/Volume.sh +++ b/config/hypr/scripts/Volume.sh @@ -42,17 +42,19 @@ notify_user() { # Increase Volume inc_volume() { if [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify_user + toggle_mute + else + pamixer -i 5 && notify_user fi - pamixer -i 5 && notify_user } # Decrease Volume dec_volume() { if [ "$(pamixer --get-mute)" == "true" ]; then - pamixer -u && notify_user + toggle_mute + else + pamixer -d 5 && notify_user fi - pamixer -d 5 && notify_user } # Toggle Mute @@ -102,17 +104,19 @@ notify_mic_user() { # Increase MIC Volume inc_mic_volume() { if [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer --default-source -u && notify_mic_user + toggle_mic + else + pamixer --default-source -i 5 && notify_mic_user fi - pamixer --default-source -i 5 && notify_mic_user } # Decrease MIC Volume dec_mic_volume() { if [ "$(pamixer --default-source --get-mute)" == "true" ]; then - pamixer --default-source -u && notify_mic_user + toggle-mic + else + pamixer --default-source -d 5 && notify_mic_user fi - pamixer --default-source -d 5 && notify_mic_user } # Execute accordingly |
