chore: nmtui network manager

This commit is contained in:
hesam-init 2024-03-26 20:12:24 +03:30
parent ad37e4bd9c
commit b77104624f
3 changed files with 6 additions and 2 deletions

View file

@ -24,7 +24,7 @@ $pkg_manager = octoxbps
$screenshot = $SCRIPT_PATH/hyprshot.sh
$pavucontrol = $SCRIPT_PATH/pavucontrol-launch.sh
$nekoray = $SCRIPT_PATH/nekoray-launch.sh
$network_manager = $SCRIPT_PATH/wpa-launch.sh
$network_manager = $SCRIPT_PATH/nmtui-launch.sh
$random_wallpaper = $SCRIPT_PATH/wallpaper-daemon.sh
$kill_wallpaper_daemon = $SCRIPT_PATH/kill-wallpaper-daemon.sh
$waybar_toggle = $SCRIPT_PATH/waybar-toggle.sh

View file

@ -2,4 +2,8 @@
window_class="floating"
if [[ $(pidof nmtui) ]]; then
pkill nmtui
fi
exec alacritty --class $window_class -e nmtui

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [[ $(pidof wpa-cute) ]]; then
pkill -f wpa-cute
pkill wpa-cute
fi
exec wpa-cute