Skip to content

Commit 4db5986

Browse files
authored
Merge pull request #214 from danielfrrrr/fun-sorting
fun: sort the categories alphabetically
2 parents d68f720 + 44eb203 commit 4db5986

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

internal/ui/fun/config.go

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ var Categories = []Category{
1515
"torbrowser-launcher", "vimb", "vivaldi", "w3m",
1616
},
1717
},
18-
{
19-
Name: "Editors",
20-
Packages: []string{
21-
"code", "e3", "ed", "emacs", "geany", "gedit", "helix", "kakoune", "kate",
22-
"gnome-text-editor", "gobby", "leafpad", "micro", "mousepad", "nano", "neovim",
23-
"notepadqq", "orbiton", "orbiton-nano", "scite", "vi", "vim", "vis", "xed", "zed",
24-
},
25-
},
2618
{
2719
Name: "Desktop Environments",
2820
Packages: []string{
@@ -33,24 +25,17 @@ var Categories = []Category{
3325
},
3426
},
3527
{
36-
Name: "File Managers",
37-
Packages: []string{
38-
"caja", "dolphin", "konqueror", "mc", "nautilus", "nemo", "pcmanfm", "thunar",
39-
},
40-
},
41-
{
42-
Name: "Linux Kernels",
28+
Name: "Editors",
4329
Packages: []string{
44-
"linux", "linux-hardened", "linux-lts", "linux-rt", "linux-rt-lts", "linux-zen",
30+
"code", "e3", "ed", "emacs", "geany", "gedit", "helix", "kakoune", "kate",
31+
"gnome-text-editor", "gobby", "leafpad", "micro", "mousepad", "nano", "neovim",
32+
"notepadqq", "orbiton", "orbiton-nano", "scite", "vi", "vim", "vis", "xed", "zed",
4533
},
4634
},
4735
{
48-
Name: "Window Managers",
36+
Name: "File Managers",
4937
Packages: []string{
50-
"awesome", "blackbox", "bspwm", "cage", "ctwm", "cwm", "dwm", "fluxbox", "fvwm3",
51-
"herbstluftwm", "hyprland", "i3-wm", "icewm", "jwm", "labwc", "mangowc", "niri",
52-
"notion", "openbox", "pekwm", "qtile", "ratpoison", "river", "spectrwm", "stumpwm",
53-
"sway", "wayfire", "weston", "windowmaker", "xmonad", "xorg-twm",
38+
"caja", "dolphin", "konqueror", "mc", "nautilus", "nemo", "pcmanfm", "thunar",
5439
},
5540
},
5641
{
@@ -61,31 +46,32 @@ var Categories = []Category{
6146
},
6247
},
6348
{
64-
Name: "Shells",
49+
Name: "Instant Messaging Clients",
6550
Packages: []string{
66-
"bash", "dash", "dunesh", "elvish", "fish", "nushell", "oil", "tcsh", "xonsh", "zsh",
51+
"caprine", "chatty", "deltachat-desktop", "dino", "discord", "element-desktop",
52+
"finch", "fractal", "gajim", "gomuks", "hexchat", "irssi", "jami-qt", "kaidan",
53+
"konversation", "kopete", "kvirc", "mcabber", "neochat", "nheko", "pidgin", //nolint:misspell
54+
"polari", "pork", "profanity", "psi", "senpai", "signal-desktop",
55+
"telegram-desktop", "tiny", "toxic", "utox", "weechat", "wire-desktop",
6756
},
6857
},
6958
{
70-
Name: "Terminal Emulators",
59+
Name: "Linux Kernels",
7160
Packages: []string{
72-
"alacritty", "contour", "foot", "ghostty", "gnome-console", "gnome-terminal", "kitty",
73-
"konsole", "lxterminal", "mate-terminal", "ptyxis", "rio", "rxvt-unicode", "terminator",
74-
"wezterm", "xfce4-terminal", "xterm", "yakuake",
61+
"linux", "linux-hardened", "linux-lts", "linux-rt", "linux-rt-lts", "linux-zen",
7562
},
7663
},
7764
{
78-
Name: "Xorg GPU Drivers",
65+
Name: "Runtime Environments",
7966
Packages: []string{
80-
"nvidia-utils", "xf86-video-amdgpu", "xf86-video-ati", "xf86-video-intel",
81-
"xf86-video-nouveau", "xf86-video-openchrome", "xf86-video-vmware",
67+
"bash", "deno", "erlang-nox", "java-environment-common", "lua", "nodejs",
68+
"perl", "php", "python", "ruby",
8269
},
8370
},
8471
{
85-
Name: "Runtime Environments",
72+
Name: "Shells",
8673
Packages: []string{
87-
"bash", "deno", "erlang-nox", "java-environment-common", "lua", "nodejs",
88-
"perl", "php", "python", "ruby",
74+
"bash", "dash", "dunesh", "elvish", "fish", "nushell", "oil", "tcsh", "xonsh", "zsh",
8975
},
9076
},
9177
{
@@ -95,13 +81,11 @@ var Categories = []Category{
9581
},
9682
},
9783
{
98-
Name: "Instant Messaging Clients",
84+
Name: "Terminal Emulators",
9985
Packages: []string{
100-
"caprine", "chatty", "deltachat-desktop", "dino", "discord", "element-desktop",
101-
"finch", "fractal", "gajim", "gomuks", "hexchat", "irssi", "jami-qt", "kaidan",
102-
"konversation", "kopete", "kvirc", "mcabber", "neochat", "nheko", "pidgin", //nolint:misspell
103-
"polari", "pork", "profanity", "psi", "senpai", "signal-desktop",
104-
"telegram-desktop", "tiny", "toxic", "utox", "weechat", "wire-desktop",
86+
"alacritty", "contour", "foot", "ghostty", "gnome-console", "gnome-terminal", "kitty",
87+
"konsole", "lxterminal", "mate-terminal", "ptyxis", "rio", "rxvt-unicode", "terminator",
88+
"wezterm", "xfce4-terminal", "xterm", "yakuake",
10589
},
10690
},
10791
{
@@ -110,6 +94,22 @@ var Categories = []Category{
11094
"gtk3", "gtk4", "qt5-base", "qt6-base",
11195
},
11296
},
97+
{
98+
Name: "Window Managers",
99+
Packages: []string{
100+
"awesome", "blackbox", "bspwm", "cage", "ctwm", "cwm", "dwm", "fluxbox", "fvwm3",
101+
"herbstluftwm", "hyprland", "i3-wm", "icewm", "jwm", "labwc", "mangowc", "niri",
102+
"notion", "openbox", "pekwm", "qtile", "ratpoison", "river", "spectrwm", "stumpwm",
103+
"sway", "wayfire", "weston", "windowmaker", "xmonad", "xorg-twm",
104+
},
105+
},
106+
{
107+
Name: "Xorg GPU Drivers",
108+
Packages: []string{
109+
"nvidia-utils", "xf86-video-amdgpu", "xf86-video-ati", "xf86-video-intel",
110+
"xf86-video-nouveau", "xf86-video-openchrome", "xf86-video-vmware",
111+
},
112+
},
113113
}
114114

115115
func FindCategory(name string) *Category {

0 commit comments

Comments
 (0)