call menus from waybar
This commit is contained in:
parent
c84f9047fe
commit
4d412a1613
6 changed files with 78 additions and 6 deletions
7
.local/scripts/networkmenu.fish
Executable file
7
.local/scripts/networkmenu.fish
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
# Select the network connection profile
|
||||
set options (nmcli --terse --fields name connection show)
|
||||
set input (menu $options || exit)
|
||||
|
||||
notify-send "Connect to network $input" (nmcli connection up $input)
|
||||
Loading…
Add table
Add a link
Reference in a new issue