summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2022-01-22 14:20:16 +0100
committerDave Davenport <qball@blame.services>2022-01-22 14:20:16 +0100
commit64062b2a94eadcf883ff9a70c785bde0fb52f93e (patch)
tree9b241822994e98c105acc74e429f286ed2bd3a2c
parentfaa360041e2e7d6e9a60b4d60368b2bdecec708d (diff)
[Doc] Add F.A.Q about icon lookup.
-rw-r--r--doc/rofi.115
-rw-r--r--doc/rofi.1.markdown9
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index f6447ab6..f930b656 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1332,6 +1332,21 @@ The indicator shows:
.fi
.RE
+.SS Why do I see different icons for run,drun and window mode
+.PP
+Each of these modes uses different methods of resolving the icon:
+
+.RS
+.IP \(bu 2
+Window: It first uses the icon that the application exposes via the X11
+Server, if none is set it does a lookup of the window Class name in the icon theme.
+.IP \(bu 2
+drun: It uses the icon set in the desktop file.
+.IP \(bu 2
+run: It does a lookup using the executable name.
+
+.RE
+
.SH EXAMPLES
.PP
Some basic usage examples of \fBrofi\fP:
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index 9d23e12b..d70ea4ab 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -844,6 +844,15 @@ The indicator shows:
`+` Case insensitive and Sorting enabled
`±` Sorting and Case sensitivity enabled"
+### Why do I see different icons for run,drun and window mode
+
+Each of these modes uses different methods of resolving the icon:
+
+* Window: It first uses the icon that the application exposes via the X11
+ Server, if none is set it does a lookup of the window Class name in the icon theme.
+* drun: It uses the icon set in the desktop file.
+* run: It does a lookup using the executable name.
+
## EXAMPLES
Some basic usage examples of **rofi**: