1

Generate containers file for rofi

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

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish
# User chooses service, running services are marked in green
set SERVICES (cat ~/NixFlake/config/rofi/menus/containers.txt) # TODO: This file should probably be generated by nix?
set SERVICES (cat /etc/rofi-containers)
set PROMPT ""
for SERVICE in $SERVICES
set SERVICE_RUNNING "$(systemctl list-units podman-$SERVICE.service | grep podman-$SERVICE.service)"