From c167d7e7642af0a1dca3092c41e78ec77d8e3c4a Mon Sep 17 00:00:00 2001 From: bimlas Date: Tue, 29 Mar 2022 20:30:30 +0200 Subject: [PATCH] Documentation update --- README.adoc | 16 +++++++++++++--- xfce4-night-mode.sh | 8 ++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index b883adb..c1e9269 100644 --- a/README.adoc +++ b/README.adoc @@ -7,9 +7,7 @@ https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin[Generic Monitor image::https://i.imgur.com/UVSz6QB.gif[] -It is *important that both the color scheme and the icon theme have both light -and dark variants*. For example, the Adwaita and Adwaita-dark GTK style and -the Elementary and Elementary-dark icon theme are such. +*It is important to set the desired color schemes before use* (see Settings). * https://gitlab.com/bimlas/xfce4-night-mode (main repository) * https://github.com/bimlas/xfce4-night-mode (mirror, *please star if you like the plugin*) @@ -46,6 +44,18 @@ to the settings (see later). For settings, open the XFCE Settings Editor -> `night-mode` channel. +To find out what values to enter, set the color schemes you want and copy them +from the appropriate location: + +* GTK theme +** `xsettings/Net/ThemeName` +* Icon theme +** `xsettings/Net/IconThemeName` +* Cursor theme +** `xsettings/Gtk/CursorThemeName` +* Window manager theme +** `xfwm4/general/theme` + === Switch at a time specified by antoher program For example, to use http://jonls.dk/redshift/[Redshift] or another program to diff --git a/xfce4-night-mode.sh b/xfce4-night-mode.sh index 812346f..5661a5e 100755 --- a/xfce4-night-mode.sh +++ b/xfce4-night-mode.sh @@ -153,4 +153,12 @@ echo " Night mode: $SUNSET - $SUNRISE Click to toggle mode for a while Use \`xfce4-settings-editor\` -> \`night-mode\` to modify settings + + To find out what values to enter, set the color schemes you want and copy + them from the appropriate location: + + * GTK theme: \`xsettings/Net/ThemeName\` + * Icon theme: \`xsettings/Net/IconThemeName\` + * Cursor theme: \`xsettings/Gtk/CursorThemeName\` + * Window manager theme: \`xfwm4/general/theme\` "