diff options
| -rwxr-xr-x | config/hypr/scripts/MonitorProfiles.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/hypr/scripts/MonitorProfiles.sh b/config/hypr/scripts/MonitorProfiles.sh index ab124335..6414e826 100755 --- a/config/hypr/scripts/MonitorProfiles.sh +++ b/config/hypr/scripts/MonitorProfiles.sh @@ -31,12 +31,9 @@ done # Rofi Menu chosen_file=$(echo "$mon_profiles_list" | rofi -i -dmenu -config $rofi_theme -mesg "$msg") -# Check if a file was selected if [[ -n "$chosen_file" ]]; then full_path="$monitor_dir/$chosen_file.conf" - cp -r "$target" "$monitor_dir/Previous_Profile.conf" && cp "$full_path" "$target" + cp "$full_path" "$target" + notify-send -u low -i "$iDIR/ja.png" "$chosen_file" "Monitor Profile Loaded" fi - -sleep 1 -"$SCRIPTSDIR/RefreshNoWaybar.sh" |
