Flatalias
a CLI tool to automatically create formatted flatpak app launch shortcut commands in BASH, FISH and ZSH usind "alias"
Install / Use
/learn @boredsquirrel/FlataliasREADME
flatalias
a CLI tool to automatically create formatted flatpak app launch shortcut commands in BASH, FISH and ZSH usind "alias"
Usage:
- download to your $PATH for example
~/.local/binor~/.bin - make it executable
chmod +x flatalias - run it
How it works:
- it lists your installed Flatpak apps
- From this list it extracts the application IDs and formats it to have no dashes, underlines or capital letters
- It searches for the formatted appID in your
~/.bashrc,~/.config/fish/config.fishor~/.zshrc - If its not there, it appens a line like following to the document (append = it skips shell config files you don't use!)
alias libreoffice="flatpak run org.libreoffice.LibreOffice"
Edge cases where problems can occur
- you have two apps with the same name but different origin, only one app is aliased
org.origin1.app
org.origin2.app
- you have an app that is called the same in your path, for example
firefoxand theFirefox Flatpak
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
