Generate containers file for rofi
This commit is contained in:
@ -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)"
|
||||
|
Reference in New Issue
Block a user