mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
436 lines
7.8 KiB
Bash
Executable file
436 lines
7.8 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
function icon_map() {
|
|
case "$1" in
|
|
"Keynote" | "Keynote 讲演")
|
|
icon_result=":keynote:"
|
|
;;
|
|
"Figma")
|
|
icon_result=":figma:"
|
|
;;
|
|
"VMware Fusion")
|
|
icon_result=":vmware_fusion:"
|
|
;;
|
|
"Alacritty" | "Hyper" | "iTerm2" | "kitty" | "Terminal" | "终端" | "WezTerm")
|
|
icon_result=":terminal:"
|
|
;;
|
|
"Microsoft To Do" | "Things")
|
|
icon_result=":things:"
|
|
;;
|
|
"Keyboard Maestro")
|
|
icon_result=":keyboard_maestro:"
|
|
;;
|
|
"App Store")
|
|
icon_result=":app_store:"
|
|
;;
|
|
"CleanMyMac X")
|
|
icon_result=":desktop:"
|
|
;;
|
|
"Android Messages")
|
|
icon_result=":android_messages:"
|
|
;;
|
|
"Reeder")
|
|
icon_result=":reeder5:"
|
|
;;
|
|
"Joplin")
|
|
icon_result=":joplin:"
|
|
;;
|
|
"Discord" | "Discord Canary" | "Discord PTB")
|
|
icon_result=":discord:"
|
|
;;
|
|
"Logseq")
|
|
icon_result=":logseq:"
|
|
;;
|
|
"Microsoft Excel")
|
|
icon_result=":microsoft_excel:"
|
|
;;
|
|
"Microsoft PowerPoint")
|
|
icon_result=":microsoft_power_point:"
|
|
;;
|
|
"Telegram")
|
|
icon_result=":telegram:"
|
|
;;
|
|
"Transmit")
|
|
icon_result=":transmit:"
|
|
;;
|
|
"Pi-hole Remote")
|
|
icon_result=":pihole:"
|
|
;;
|
|
"League of Legends")
|
|
icon_result=":league_of_legends:"
|
|
;;
|
|
"Element")
|
|
icon_result=":element:"
|
|
;;
|
|
"Zulip")
|
|
icon_result=":zulip:"
|
|
;;
|
|
"Sequel Ace")
|
|
icon_result=":sequel_ace:"
|
|
;;
|
|
"Zed")
|
|
icon_result=":zed:"
|
|
;;
|
|
"TeamSpeak 3")
|
|
icon_result=":team_speak:"
|
|
;;
|
|
"1Password")
|
|
icon_result=":one_password:"
|
|
;;
|
|
"Caprine")
|
|
icon_result=":caprine:"
|
|
;;
|
|
"카카오톡")
|
|
icon_result=":kakaotalk:"
|
|
;;
|
|
"Dropbox")
|
|
icon_result=":dropbox:"
|
|
;;
|
|
"Kakoune")
|
|
icon_result=":kakoune:"
|
|
;;
|
|
"Rider" | "JetBrains Rider")
|
|
icon_result=":rider:"
|
|
;;
|
|
"Godot")
|
|
icon_result=":godot:"
|
|
;;
|
|
"qutebrowser")
|
|
icon_result=":qute_browser:"
|
|
;;
|
|
"Typora")
|
|
icon_result=":text:"
|
|
;;
|
|
"Sequel Pro")
|
|
icon_result=":sequel_pro:"
|
|
;;
|
|
"Reminders" | "提醒事项")
|
|
icon_result=":reminders:"
|
|
;;
|
|
"Setapp")
|
|
icon_result=":setapp:"
|
|
;;
|
|
"Finder" | "访达")
|
|
icon_result=":finder:"
|
|
;;
|
|
"Matlab")
|
|
icon_result=":matlab:"
|
|
;;
|
|
"LibreWolf")
|
|
icon_result=":libre_wolf:"
|
|
;;
|
|
"Notes" | "备忘录")
|
|
icon_result=":notes:"
|
|
;;
|
|
"Notion")
|
|
icon_result=":notion:"
|
|
;;
|
|
"Brave Browser")
|
|
icon_result=":brave_browser:"
|
|
;;
|
|
"Spotlight")
|
|
icon_result=":spotlight:"
|
|
;;
|
|
"Iris")
|
|
icon_result=":iris:"
|
|
;;
|
|
"Tower")
|
|
icon_result=":tower:"
|
|
;;
|
|
"Jellyfin Media Player")
|
|
icon_result=":jellyfin:"
|
|
;;
|
|
"Code" | "Code - Insiders")
|
|
icon_result=":code:"
|
|
;;
|
|
"Linear")
|
|
icon_result=":linear:"
|
|
;;
|
|
"Live")
|
|
icon_result=":ableton:"
|
|
;;
|
|
"Parallels Desktop")
|
|
icon_result=":parallels:"
|
|
;;
|
|
"Final Cut Pro")
|
|
icon_result=":final_cut_pro:"
|
|
;;
|
|
"Chromium" | "Google Chrome" | "Google Chrome Canary")
|
|
icon_result=":google_chrome:"
|
|
;;
|
|
"GitHub Desktop")
|
|
icon_result=":git_hub:"
|
|
;;
|
|
"Firefox")
|
|
icon_result=":firefox:"
|
|
;;
|
|
"Slack")
|
|
icon_result=":slack:"
|
|
;;
|
|
"Spotify")
|
|
icon_result=":spotify:"
|
|
;;
|
|
"Neovide" | "MacVim" | "Vim" | "VimR")
|
|
icon_result=":vim:"
|
|
;;
|
|
"KeePassXC")
|
|
icon_result=":kee_pass_x_c:"
|
|
;;
|
|
"PomoDone App")
|
|
icon_result=":pomodone:"
|
|
;;
|
|
"DEVONthink 3")
|
|
icon_result=":devonthink3:"
|
|
;;
|
|
"Color Picker" | "数码测色计")
|
|
icon_result=":color_picker:"
|
|
;;
|
|
"Tweetbot" | "Twitter")
|
|
icon_result=":twitter:"
|
|
;;
|
|
"Default")
|
|
icon_result=":default:"
|
|
;;
|
|
"Pages" | "Pages 文稿")
|
|
icon_result=":pages:"
|
|
;;
|
|
"Emacs")
|
|
icon_result=":emacs:"
|
|
;;
|
|
"MAMP" | "MAMP PRO")
|
|
icon_result=":mamp:"
|
|
;;
|
|
"Canary Mail" | "HEY" | "Mail" | "Mailspring" | "MailMate" | "邮件")
|
|
icon_result=":mail:"
|
|
;;
|
|
"WebStorm")
|
|
icon_result=":web_storm:"
|
|
;;
|
|
"TickTick")
|
|
icon_result=":tick_tick:"
|
|
;;
|
|
"TIDAL")
|
|
icon_result=":tidal:"
|
|
;;
|
|
"VLC")
|
|
icon_result=":vlc:"
|
|
;;
|
|
"Blender")
|
|
icon_result=":blender:"
|
|
;;
|
|
"Music" | "音乐")
|
|
icon_result=":music:"
|
|
;;
|
|
"Calendar" | "日历" | "Fantastical" | "Cron" | "Amie")
|
|
icon_result=":calendar:"
|
|
;;
|
|
"Evernote Legacy")
|
|
icon_result=":evernote_legacy:"
|
|
;;
|
|
"Microsoft Word")
|
|
icon_result=":microsoft_word:"
|
|
;;
|
|
"Safari" | "Safari浏览器" | "Safari Technology Preview")
|
|
icon_result=":safari:"
|
|
;;
|
|
"MoneyMoney")
|
|
icon_result=":bank:"
|
|
;;
|
|
"Xcode")
|
|
icon_result=":xcode:"
|
|
;;
|
|
"Numbers" | "Numbers 表格")
|
|
icon_result=":numbers:"
|
|
;;
|
|
"ClickUp")
|
|
icon_result=":click_up:"
|
|
;;
|
|
"Arc")
|
|
icon_result=":arc:"
|
|
;;
|
|
"Zeplin")
|
|
icon_result=":zeplin:"
|
|
;;
|
|
"Trello")
|
|
icon_result=":trello:"
|
|
;;
|
|
"Vivaldi")
|
|
icon_result=":vivaldi:"
|
|
;;
|
|
"Calibre")
|
|
icon_result=":book:"
|
|
;;
|
|
"Min")
|
|
icon_result=":min_browser:"
|
|
;;
|
|
"网易云音乐")
|
|
icon_result=":netease_music:"
|
|
;;
|
|
"GrandTotal" | "Receipts")
|
|
icon_result=":dollar:"
|
|
;;
|
|
"zoom.us")
|
|
icon_result=":zoom:"
|
|
;;
|
|
"Folx")
|
|
icon_result=":folx:"
|
|
;;
|
|
"微信")
|
|
icon_result=":wechat:"
|
|
;;
|
|
"Orion" | "Orion RC")
|
|
icon_result=":orion:"
|
|
;;
|
|
"Notability")
|
|
icon_result=":notability:"
|
|
;;
|
|
"Todoist")
|
|
icon_result=":todoist:"
|
|
;;
|
|
"Replit")
|
|
icon_result=":replit:"
|
|
;;
|
|
"Tor Browser")
|
|
icon_result=":tor_browser:"
|
|
;;
|
|
"Drafts")
|
|
icon_result=":drafts:"
|
|
;;
|
|
"Preview" | "预览" | "Skim" | "zathura")
|
|
icon_result=":pdf:"
|
|
;;
|
|
"PyCharm")
|
|
icon_result=":pycharm:"
|
|
;;
|
|
"Audacity")
|
|
icon_result=":audacity:"
|
|
;;
|
|
"Cypress")
|
|
icon_result=":cypress:"
|
|
;;
|
|
"VSCodium")
|
|
icon_result=":vscodium:"
|
|
;;
|
|
"Podcasts" | "播客")
|
|
icon_result=":podcasts:"
|
|
;;
|
|
"DingTalk" | "钉钉" | "阿里钉")
|
|
icon_result=":dingtalk:"
|
|
;;
|
|
"OBS")
|
|
icon_result=":obsstudio:"
|
|
;;
|
|
"Firefox Developer Edition" | "Firefox Nightly")
|
|
icon_result=":firefox_developer_edition:"
|
|
;;
|
|
"Alfred")
|
|
icon_result=":alfred:"
|
|
;;
|
|
"OmniFocus")
|
|
icon_result=":omni_focus:"
|
|
;;
|
|
"Skype")
|
|
icon_result=":skype:"
|
|
;;
|
|
"Spark Desktop")
|
|
icon_result=":spark:"
|
|
;;
|
|
"Docker" | "Docker Desktop")
|
|
icon_result=":docker:"
|
|
;;
|
|
"Signal")
|
|
icon_result=":signal:"
|
|
;;
|
|
"Pine")
|
|
icon_result=":pine:"
|
|
;;
|
|
"Insomnia")
|
|
icon_result=":insomnia:"
|
|
;;
|
|
"Microsoft Edge")
|
|
icon_result=":microsoft_edge:"
|
|
;;
|
|
"Affinity Photo")
|
|
icon_result=":affinity_photo:"
|
|
;;
|
|
"Sketch")
|
|
icon_result=":sketch:"
|
|
;;
|
|
"Android Studio")
|
|
icon_result=":android_studio:"
|
|
;;
|
|
"Bitwarden")
|
|
icon_result=":bit_warden:"
|
|
;;
|
|
"Affinity Publisher")
|
|
icon_result=":affinity_publisher:"
|
|
;;
|
|
"Zotero")
|
|
icon_result=":zotero:"
|
|
;;
|
|
"Sublime Text")
|
|
icon_result=":sublime_text:"
|
|
;;
|
|
"Warp")
|
|
icon_result=":warp:"
|
|
;;
|
|
"Messages" | "信息" | "Nachrichten")
|
|
icon_result=":messages:"
|
|
;;
|
|
"Obsidian")
|
|
icon_result=":obsidian:"
|
|
;;
|
|
"IntelliJ IDEA")
|
|
icon_result=":idea:"
|
|
;;
|
|
"Atom")
|
|
icon_result=":atom:"
|
|
;;
|
|
"FaceTime" | "FaceTime 通话")
|
|
icon_result=":face_time:"
|
|
;;
|
|
"Yuque" | "语雀")
|
|
icon_result=":yuque:"
|
|
;;
|
|
"Grammarly Editor")
|
|
icon_result=":grammarly:"
|
|
;;
|
|
"Mattermost")
|
|
icon_result=":mattermost:"
|
|
;;
|
|
"Affinity Designer")
|
|
icon_result=":affinity_designer:"
|
|
;;
|
|
"mpv")
|
|
icon_result=":mpv:"
|
|
;;
|
|
"Thunderbird")
|
|
icon_result=":thunderbird:"
|
|
;;
|
|
"Airmail")
|
|
icon_result=":airmail:"
|
|
;;
|
|
"Microsoft Teams")
|
|
icon_result=":microsoft_teams:"
|
|
;;
|
|
"Bear")
|
|
icon_result=":bear:"
|
|
;;
|
|
"System Preferences" | "System Settings" | "系统设置")
|
|
icon_result=":gear:"
|
|
;;
|
|
"Nova")
|
|
icon_result=":nova:"
|
|
;;
|
|
"WhatsApp")
|
|
icon_result=":whats_app:"
|
|
;;
|
|
*)
|
|
icon_result=":default:"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
icon_map "$1"
|
|
|
|
echo "$icon_result"
|