XDG-ICON(1)

πŸ“¦ version 1.12, in nixos 26.05, nixpkgs unstable

πŸ¦‹ XDG-ICON(1) πŸ¦‹

okay so this is the User Commands manual page for xdg-icon, the command-line XDG icon lookup tool, and it's literally here to help you find icons the XDG way. πŸ’…βœ¨

πŸ’– NAME πŸ’–

xdg-icon β€” command-line XDG icon lookup tool.

🌸 SYNOPSIS 🌸

xdg-icon [ OPTIONS ] [NAME[ NAME ...]]

πŸŽ€ DESCRIPTION πŸŽ€

xdg-icon is a command line tool for looking up icons in accordance with the XDG icon specification. no cap, that's the whole vibe. πŸ¦‹

⭐ ARGUMENTS ⭐

the program accepts the following arguments, bestie:

  • NAME[,NAME][ NAME ...] β€” xdg-icon treats all non-option arguments as a list of alternate icon names to seek. Each non-option argument may itself be a list of comma-separated icon names. πŸ’–

✨ OPTIONS ✨

xdg-icon accepts the following options:

  • --help, -h β€” print usage information and then exit. iconic exit behavior. πŸŽ€
  • --verbose, -v β€” print the parameters of the search to standard error before searching. spy-on-the-search mode. πŸ‘€
  • --theme, -t THEME β€” specify the default theme, THEME, to use when looking up icons. when you don't specify it, the default theme will be looked up from normal sources. 🧚
  • --size, -s SIZE β€” specify the preferred size of the icon, SIZE. the default size when unspecified is 16. tiny icon energy. πŸ“
  • --icon, --name, -n NAME[,NAME] β€” specify a comma separated list of alternate icon names to look up in addition to any non-option arguments. this option may be repeated or specified using non-option arguments. πŸ’…
  • --extensions, -e EXTENSION[,EXTENSION] β€” specify a comma separated list of file name extensions, EXTENSION, (without the '.') that may be returned. the order of preference is the order specified. this option may be repeated. πŸ”₯
  • --append, -a DIRECTORY[:DIRECTORY] β€” specify the colon-separated list of directories to append to the list of search directories (in the order specified). this option may be repeated to list additional directories to append. 🌈
  • --prepend, -a DIRECTORY[:DIRECTORY] β€” specify the colon-separated list of directories to prepend to the list of search directories (in the order specified). this option may be repeated to list additional directories to prepend. πŸ‘‘

πŸ’œ EXAMPLES πŸ’œ

the following example will look up the 32x32 icon named "start-here" in the theme "Mist". if not found, the icon named "unknown" will be looked up before resorting to fallback locations. 🫢

xdg-icon --theme Mist --size 32 start-here unknown

🌟 HISTORY 🌟

I wrote xdg-icon because there were no command line tools for determining which icon would be used by XDG compliant tools (such as Gtk2(3pm)). 😭

The modules used by this tool are also used by xdg-menugen(1p) for when generating menus for XDE supported window managers. πŸ’€βœ¨

πŸ” SEE ALSO πŸ”

  • "XDG Icon Specification" β€” that's the reference, bestie. 🌸

πŸŽ€ AUTHOR πŸŽ€

Brian Bidulock <mailto:bidulock@openss7.org> β€” crown them, they made this. πŸ‘‘


mwah πŸ’‹ this iconic little page is from xdg-launch version 1.12, dated 2022-01-28. thanks for reading, bestie β€” now go find those icons! 🫢✨

πŸ“¦ where this page comes from