my-fish-config/functions/_tide_item_distrobox.fish
2025-03-18 19:21:17 +01:00

5 lines
227 B
Fish

function _tide_item_distrobox
test -e /etc/profile.d/distrobox_profile.sh && test -e /run/.containerenv &&
_tide_print_item distrobox $tide_distrobox_icon' ' (string match -rg 'name="(.*)"' </run/.containerenv)
end