1

Generate containers file for rofi

This commit is contained in:
2023-05-25 00:14:39 +02:00
parent f5c25b7a0b
commit bb8d06ee7f
5 changed files with 12 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish
# User chooses VPN server, running servers are marked in green
set SERVERS (cat /etc/rofi-vpns) # TODO: This file should probably be generated by nix?
set SERVERS (cat /etc/rofi-vpns)
set PROMPT ""
for SERVER in $SERVERS
set SERVER_RUNNING "$(systemctl list-units $SERVER.service | grep $SERVER.service)"