From 6fbd76171b1f8f357524de20009380a93ca9bbf9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 3 Sep 2021 01:26:14 +0200 Subject: 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 --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3