dotfiles/fish/functions/_tide_item_distrobox.fish

5 lines
227 B
Fish
Raw Normal View History

2023-10-08 22:26:07 -05:00
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