aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-04-01 04:30:13 +0900
committerGitHub <noreply@github.com>2024-04-01 04:30:13 +0900
commit34912183044d1fb6cd04d10d09e00bd1b1db148b (patch)
tree3605c3b667761ba7e82e6719ffaed82be78c3d7c /config/hypr/scripts
parent90e986c2acf89350444ce2ea0c1268d571089744 (diff)
parentb3e8d7bd62140e36074f8a8e24d32bf33d10f8d8 (diff)
Merge branch 'development' into patch-1
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/RofiEmoji.sh4
-rwxr-xr-xconfig/hypr/scripts/Volume.sh20
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage