diff --git a/.gitignore b/.gitignore index b2f4826..a5c12bb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ a.out zig-* *.bak test +cmd/tablegen/tablegen diff --git a/cmd/tablegen/main.go b/cmd/tablegen/main.go index f8a9aca..5d3f459 100644 --- a/cmd/tablegen/main.go +++ b/cmd/tablegen/main.go @@ -29,7 +29,15 @@ func main() { profile := profiles.Profiles()[profileKeys[i]] // Name - fmt.Printf("|%s", profile.Names[0]) + fmt.Printf("|") + + for i, name := range profile.Names { + fmt.Printf("%s", name) + + if i < len(profile.Names) - 1 { + fmt.Printf(", ") + } + } // Level fmt.Printf("|%d", profile.Level) diff --git a/cmd/tablegen/unique_table.sh b/cmd/tablegen/unique_table.sh new file mode 100755 index 0000000..2a9887b --- /dev/null +++ b/cmd/tablegen/unique_table.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +./tablegen | gawk '!a[$0]++' diff --git a/profiles/README.md b/profiles/README.md index 558cddb..e4eb540 100644 --- a/profiles/README.md +++ b/profiles/README.md @@ -14,9 +14,7 @@ the version, there is also a list of aliases that link to the original profile |apk editor studio|1|dri|x11|xdg-templates:rw, xdg-download:rw| |appimage pool|2|dri|wayland, x11, network|~/Applications:rw| |appimageupdate|2|dri|x11, network|~/Applications:rw| -|aranym|3|dri, input|x11, audio, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| -|aranym|3|dri, input|x11, audio, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| -|aranym|3|dri, input|x11, audio, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| +|aranym, aranym jit, aranym mmu|3|dri, input|x11, audio, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| |armagetron advanced|3|dri, input|x11, audio, network|| |badlion client|2|dri|x11, audio, network|| |balenaetcher|0|||| @@ -29,8 +27,7 @@ the version, there is also a list of aliases that link to the original profile |conky|1|dri|x11, pid|| |cool retro term|2|dri|x11, network|~/.config/nvim:ro, ~/.profile:ro, ~/.bashrc:ro, ~/.zshrc:ro, ~/.viminfo:ro| |cro-mag rally|3|dri|x11, alsa|| -|deadbeef|2|dri|x11, audio, network|xdg-music:rw| -|deadbeef|2|dri|x11, audio, network|xdg-music:rw| +|deadbeef, deadbeef nightly|2|dri|x11, audio, network|xdg-music:rw| |deemix-gui|2|dri|x11, audio, network|xdg-music:rw| |densify|2|dri|x11|xdg-documents:rw| |desmume|2|dri, input|x11, alsa|xdg-download:rw, ~/Games:rw, ~/Roms:rw| @@ -43,14 +40,10 @@ the version, there is also a list of aliases that link to the original profile |endless sky|2|dri|x11, alsa|xdg-templates:rw, xdg-documents:rw| |eternal lands (appimage)|1|dri|x11, audio, network|| |fireboy and watergirl: in the forest temple|1|dri|x11, pulseaudio|| -|firefox|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| -|firefox|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| -|firefox|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| +|firefox, firefox beta, firefox nightly|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| |fontforge|2|dri|x11|xdg-documents:rw, ~/.fonts:rw| |fractale|2|dri|x11|| -|freecad|1|dri|x11|xdg-documents:rw, xdg-templates:rw| -|freecad|1|dri|x11|xdg-documents:rw, xdg-templates:rw| -|freecad|1|dri|x11|xdg-documents:rw, xdg-templates:rw| +|freecad, freecad conda, freecad weekly|1|dri|x11|xdg-documents:rw, xdg-templates:rw| |gambatte_qt|2|dri, input|x11, alsa|xdg-download:rw, ~/Games:rw, ~/Roms:rw| |geometrize|2|dri|x11|xdg-pictures:rw| |gnu image manipulation program|1|dri|x11|xdg-pictures:rw| @@ -94,9 +87,7 @@ the version, there is also a list of aliases that link to the original profile |pokete|3||alsa, network|| |potato presenter|2|dri|x11|xdg-documents:rw| |ppsspp|2|dri|x11, audio|xdg-download:ro, ~/Games:ro, ~/Roms:ro| -|python|3|||| -|python|3|||| -|python|3|||| +|python, python2, python3|3|||| |runelite|1|dri|x11, audio, network|| |ryujinx|2|dri, input|x11, alsa, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| |sengi|1|dri|x11, audio, network|| @@ -112,10 +103,9 @@ the version, there is also a list of aliases that link to the original profile |stellarium|1|dri|x11|| |stunt car remake|3|dri|x11, alsa|| |subsurface|1|dri|x11|xdg-documents:ro| -|yuzu|2|dri, input|x11, alsa, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| +|yuzu, suyu, sudachi|2|dri, input|x11, alsa, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| |supertux 2|3|dri, input|x11, audio, network|| |supertuxkart|3|dri, input|x11, audio, network|| -|yuzu|2|dri, input|x11, alsa, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro| |synthein|3|dri|x11, alsa|| |tapecalc|2|dri|x11|| |texstudio|1|dri|x11|xdg-documents:rw, xdg-templates:rw| @@ -123,10 +113,7 @@ the version, there is also a list of aliases that link to the original profile |thorium browser|2|dri|x11, pulseaudio, network|xdg-download:rw| |tiled|2|dri|x11|xdg-documents:rw, xdg-pictures:rw, xdg-templates:rw| |upscayl|1|dri|x11|xdg-pictures:rw| -|visual studio code|2|dri|x11, network|xdg-documents:rw| -|visual studio code|2|dri|x11, network|xdg-documents:rw| -|waterfox|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| -|waterfox|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| +|visual studio code, vscode|2|dri|x11, network|xdg-documents:rw| +|waterfox, waterfox classic|2|dri|x11, pulseaudio, network, dbus|xdg-download:rw| |xonotic|3|dri|x11, alsa, network|| |yabg|3|dri, input|x11, pulseaudio|| -|yuzu|2|dri, input|x11, alsa, network|xdg-download:ro, ~/Games:ro, ~/Roms:ro|