From 44eb2034e30ebb8ba80b27e8dc49f256bca46b1e Mon Sep 17 00:00:00 2001 From: daniel <193309918+danielfrrrr@users.noreply.github.com> Date: Wed, 18 Mar 2026 00:26:29 -0300 Subject: [PATCH] fun: sort the categories alphabetically --- internal/ui/fun/config.go | 78 +++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/internal/ui/fun/config.go b/internal/ui/fun/config.go index 49d43630..9f7672a5 100644 --- a/internal/ui/fun/config.go +++ b/internal/ui/fun/config.go @@ -15,14 +15,6 @@ var Categories = []Category{ "torbrowser-launcher", "vimb", "vivaldi", "w3m", }, }, - { - Name: "Editors", - Packages: []string{ - "code", "e3", "ed", "emacs", "geany", "gedit", "helix", "kakoune", "kate", - "gnome-text-editor", "gobby", "leafpad", "micro", "mousepad", "nano", "neovim", - "notepadqq", "orbiton", "orbiton-nano", "scite", "vi", "vim", "vis", "xed", "zed", - }, - }, { Name: "Desktop Environments", Packages: []string{ @@ -33,24 +25,17 @@ var Categories = []Category{ }, }, { - Name: "File Managers", - Packages: []string{ - "caja", "dolphin", "konqueror", "mc", "nautilus", "nemo", "pcmanfm", "thunar", - }, - }, - { - Name: "Linux Kernels", + Name: "Editors", Packages: []string{ - "linux", "linux-hardened", "linux-lts", "linux-rt", "linux-rt-lts", "linux-zen", + "code", "e3", "ed", "emacs", "geany", "gedit", "helix", "kakoune", "kate", + "gnome-text-editor", "gobby", "leafpad", "micro", "mousepad", "nano", "neovim", + "notepadqq", "orbiton", "orbiton-nano", "scite", "vi", "vim", "vis", "xed", "zed", }, }, { - Name: "Window Managers", + Name: "File Managers", Packages: []string{ - "awesome", "blackbox", "bspwm", "cage", "ctwm", "cwm", "dwm", "fluxbox", "fvwm3", - "herbstluftwm", "hyprland", "i3-wm", "icewm", "jwm", "labwc", "mangowc", "niri", - "notion", "openbox", "pekwm", "qtile", "ratpoison", "river", "spectrwm", "stumpwm", - "sway", "wayfire", "weston", "windowmaker", "xmonad", "xorg-twm", + "caja", "dolphin", "konqueror", "mc", "nautilus", "nemo", "pcmanfm", "thunar", }, }, { @@ -61,31 +46,32 @@ var Categories = []Category{ }, }, { - Name: "Shells", + Name: "Instant Messaging Clients", Packages: []string{ - "bash", "dash", "dunesh", "elvish", "fish", "nushell", "oil", "tcsh", "xonsh", "zsh", + "caprine", "chatty", "deltachat-desktop", "dino", "discord", "element-desktop", + "finch", "fractal", "gajim", "gomuks", "hexchat", "irssi", "jami-qt", "kaidan", + "konversation", "kopete", "kvirc", "mcabber", "neochat", "nheko", "pidgin", //nolint:misspell + "polari", "pork", "profanity", "psi", "senpai", "signal-desktop", + "telegram-desktop", "tiny", "toxic", "utox", "weechat", "wire-desktop", }, }, { - Name: "Terminal Emulators", + Name: "Linux Kernels", Packages: []string{ - "alacritty", "contour", "foot", "ghostty", "gnome-console", "gnome-terminal", "kitty", - "konsole", "lxterminal", "mate-terminal", "ptyxis", "rio", "rxvt-unicode", "terminator", - "wezterm", "xfce4-terminal", "xterm", "yakuake", + "linux", "linux-hardened", "linux-lts", "linux-rt", "linux-rt-lts", "linux-zen", }, }, { - Name: "Xorg GPU Drivers", + Name: "Runtime Environments", Packages: []string{ - "nvidia-utils", "xf86-video-amdgpu", "xf86-video-ati", "xf86-video-intel", - "xf86-video-nouveau", "xf86-video-openchrome", "xf86-video-vmware", + "bash", "deno", "erlang-nox", "java-environment-common", "lua", "nodejs", + "perl", "php", "python", "ruby", }, }, { - Name: "Runtime Environments", + Name: "Shells", Packages: []string{ - "bash", "deno", "erlang-nox", "java-environment-common", "lua", "nodejs", - "perl", "php", "python", "ruby", + "bash", "dash", "dunesh", "elvish", "fish", "nushell", "oil", "tcsh", "xonsh", "zsh", }, }, { @@ -95,13 +81,11 @@ var Categories = []Category{ }, }, { - Name: "Instant Messaging Clients", + Name: "Terminal Emulators", Packages: []string{ - "caprine", "chatty", "deltachat-desktop", "dino", "discord", "element-desktop", - "finch", "fractal", "gajim", "gomuks", "hexchat", "irssi", "jami-qt", "kaidan", - "konversation", "kopete", "kvirc", "mcabber", "neochat", "nheko", "pidgin", //nolint:misspell - "polari", "pork", "profanity", "psi", "senpai", "signal-desktop", - "telegram-desktop", "tiny", "toxic", "utox", "weechat", "wire-desktop", + "alacritty", "contour", "foot", "ghostty", "gnome-console", "gnome-terminal", "kitty", + "konsole", "lxterminal", "mate-terminal", "ptyxis", "rio", "rxvt-unicode", "terminator", + "wezterm", "xfce4-terminal", "xterm", "yakuake", }, }, { @@ -110,6 +94,22 @@ var Categories = []Category{ "gtk3", "gtk4", "qt5-base", "qt6-base", }, }, + { + Name: "Window Managers", + Packages: []string{ + "awesome", "blackbox", "bspwm", "cage", "ctwm", "cwm", "dwm", "fluxbox", "fvwm3", + "herbstluftwm", "hyprland", "i3-wm", "icewm", "jwm", "labwc", "mangowc", "niri", + "notion", "openbox", "pekwm", "qtile", "ratpoison", "river", "spectrwm", "stumpwm", + "sway", "wayfire", "weston", "windowmaker", "xmonad", "xorg-twm", + }, + }, + { + Name: "Xorg GPU Drivers", + Packages: []string{ + "nvidia-utils", "xf86-video-amdgpu", "xf86-video-ati", "xf86-video-intel", + "xf86-video-nouveau", "xf86-video-openchrome", "xf86-video-vmware", + }, + }, } func FindCategory(name string) *Category {