diff --git a/hyprland/.config/hypr/conf/environments/default.conf b/hyprland/.config/hypr/conf/environments/default.conf index 1cc2aac..b566137 100644 --- a/hyprland/.config/hypr/conf/environments/default.conf +++ b/hyprland/.config/hypr/conf/environments/default.conf @@ -10,8 +10,8 @@ $scr_path = ~/.config/hypr/scripts $mainMod = SUPER $terminal = alacritty -o "window.opacity=0" $fileManager = thunar -$network_manager = wpa-cute $screenshot = $scr_path/hyprshot.sh +$network_manager = $scr_path/wpa-launch.sh $random_wallpaper = $scr_path/wallpaper-daemon.sh $waybar_toggle = $scr_path/waybar-toggle.sh $volume_control = $scr_path/volume-control.sh diff --git a/hyprland/.config/hypr/scripts/nmtui-launch.sh b/hyprland/.config/hypr/scripts/nmtui-launch.sh index ec2425b..2b4c582 100755 --- a/hyprland/.config/hypr/scripts/nmtui-launch.sh +++ b/hyprland/.config/hypr/scripts/nmtui-launch.sh @@ -2,4 +2,4 @@ window_class="floating" -alacritty --class $window_class -e nmtui +exec alacritty --class $window_class -e nmtui diff --git a/hyprland/.config/hypr/scripts/wpa-launch.sh b/hyprland/.config/hypr/scripts/wpa-launch.sh new file mode 100755 index 0000000..dfbdb84 --- /dev/null +++ b/hyprland/.config/hypr/scripts/wpa-launch.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if [[ $(pidof wpa-cute) ]]; then + pkill -f wpa-cute +fi + +exec wpa-cute