diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 18c286be..2271b822 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -21,6 +21,9 @@ exec-once = $scriptsDir/Polkit.sh # Battery Notification exec-once = $scriptsDir/BatteryNotify.sh +# Welcome Notification +exec-once = $RunCMD welcome + # starup apps exec-once = waybar & exec-once = swaync & diff --git a/config/hypr/scripts/Music_cmd.sh b/config/hypr/scripts/Music_cmd.sh index 1a272c49..125f1717 100755 --- a/config/hypr/scripts/Music_cmd.sh +++ b/config/hypr/scripts/Music_cmd.sh @@ -45,7 +45,7 @@ controls() { case "$chosen" in "$play") playerctl --player=mpv play && notify-send -u normal -i "$1" "▶️ Resuming music" ;; "$pause") playerctl --player=mpv pause && notify-send -u normal -i "$1" "⏸️ Music paused" ;; - "$stop") kill $(pidof "rofi-music") && notify-send -u normal -i "$1" "🛑 Music stopped" ;; + "$stop") pkill mpv && notify-send -u normal -i "$1" "🛑 Music stopped" ;; "$next_track") playerctl --player=mpv next && notify-send -u normal -i "$1" "⏭️ Next track playing" ;; "$prev_track") playerctl --player=mpv previous && notify-send -u normal -i "$1" "⏮️ Previous track playing" ;; "$increase_volume") adjust_volume 0.1 "🔊 Increasing track volume" ;; diff --git a/config/hypr/scripts/Ui_cmd.sh b/config/hypr/scripts/Ui_cmd.sh index b6080259..c4c6409c 100755 --- a/config/hypr/scripts/Ui_cmd.sh +++ b/config/hypr/scripts/Ui_cmd.sh @@ -178,3 +178,11 @@ disable_opaque() { sleep 0.2 hyprctl setprop address:$(hyprctl -j activewindow | jq -r -c ".address") forceopaque 1 lock } + +welcome() { +sleep 1 + +name=$(whoami) + +notify-send "Hello" "${name}?,you're back? welcome what will we do today!" +}