aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-03 01:26:14 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-03 01:26:14 +0200
commit6fbd76171b1f8f357524de20009380a93ca9bbf9 (patch)
treec6ac00d9ad26151f6357bc9b0823cc4b93481ccd /README.md
parent8c4e3217bf3e3c675f181c34f79448ba036dfcaf (diff)
Add QM_FONT_SCALE environment variable to set font scale. Also add QM_SCALE to not have to rely on GDK_SCALE or xft.dpi
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3a001a5..753de99 100644
--- a/README.md
+++ b/README.md
@@ -148,13 +148,16 @@ Type text and then wait and QuickMedia will automatically search.\
`/me [text]`: Send a message of type "m.emote".\
`/react [text]`: React to the selected message (also works if you are replying to a message).
## Environment variables
-Set `QM_PHONE_FACTOR=1` to disable the room list side panel in matrix.\
Set `QM_THEME` to one of the following: `default, nord` to change the theme.\
-If `xdg-open` is not installed then the `BROWSER` environment variable is used to open links in a browser.
+Set `QM_SCALE` to scale UI.\
+Set `QM_FONT_SCALE` to scale fonts.\
+If `xdg-open` is not installed then the `BROWSER` environment variable is used to open links in a browser.\
+Set `QM_PHONE_FACTOR=1` to disable the room list side panel in matrix.
## UI scaling
-Either set the `GDK_SCALE` environment variable or add `Xft.dpi` to `$HOME/.Xresources` (`xrdb` which is part of the `xorg-xrdb` package needs to be installed).\
+Either set the `QM_SCALE` or `GDK_SCALE` environment variable or add `Xft.dpi` to `$HOME/.Xresources` (`xrdb` which is part of the `xorg-xrdb` package needs to be installed).\
For example a value of 96 for the `Xft.dpi` means 1.0 scaling and 144 (96*1.5) means 1.5 scaling.\
-Note that at the moment, cached images will not be scaled with the dpi. Images do also not scale above their original size.
+Note that at the moment, images do also not scale above their original size.\
+Set `QM_THEME` to scale fonts.
## Tabs
[tabbed](https://tools.suckless.org/tabbed/) can be used to put quickmedia windows into tabs. After installing `tabbed`, run `tabbed -c -k quickmedia launcher -e`.
## License