Something went wrong. Try again.
My personal dotfiles, for now.
Something went wrong. Try again.
704 B · 29 lines
Lua
at trunk
123456789101112131415161718192021222324252627282930Status:children_add(function(self) local h = self._current.hovered if h and h.link_to then return " -> " .. tostring(h.link_to) else return "" endend, 3300, Status.LEFT)
Header:children_add(function() if ya.target_family() ~= "unix" then return "" end return ui.Span(ya.user_name() .. "@" .. ya.host_name() .. ":"):fg("blue")end, 500, Header.LEFT)
Status:children_add(function() local h = cx.active.current.hovered if not h or ya.target_family() ~= "unix" then return "" end
return ui.Line { ui.Span(ya.user_name(h.cha.uid) or tostring(h.cha.uid)):fg("magenta"), ":", ui.Span(ya.group_name(h.cha.gid) or tostring(h.cha.gid)):fg("magenta"), " ", }end, 500, Status.RIGHT)