guix-dotfiles/home-config/fish/functions/_tide_item_toolbox.fish

5 lines
172 B
Fish
Raw Normal View History

function _tide_item_toolbox
test -e /run/.toolboxenv &&
_tide_print_item toolbox $tide_toolbox_icon' ' (string match -rg 'name="(.*)"' </run/.containerenv)
end