feat: wpa cute launch keybind

This commit is contained in:
hesam-init 2024-02-25 13:34:55 +03:30
parent 156ebdf050
commit 0f9763d943
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -2,4 +2,4 @@
window_class="floating"
alacritty --class $window_class -e nmtui
exec alacritty --class $window_class -e nmtui

View file

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