Skip to content

Themeing Way‐Shell

Louis DeLosSantos edited this page Mar 4, 2024 · 2 revisions

Way-Shell supports two shell appearance styles, "light" and "dark".

These styles can be alternated from the Quick Settings UI Grid Button:

image

From DConf: org.ldelossa.way-shell.system.light-theme (boolean)

And from way-sh

$ way-sh theme
Summary:
	Adjust aspects of Way-Shell's theme.

	The dump commands will write the respective theme to
	$HOME/.config/way-shell/way-shell-{light|dark}.css for editing.

	Toggling the theme (light-to-dark or vice versa) will show the 
	results of any edits.
Commands:
	dark 		- set dark theme
	light 		- set light theme
	dump-dark 	- dump dark theme
	dump-light 	- dump light theme

When a style is changed if the script $HOME/.config/way-shell/on_theme_change.sh exists it will be invoked with a single argument: "light" or "dark" depending on whether the style was changed to the respective value.

This script allows you to perform any other theme-switching logic you may want to perform.

Notice, the way-sh command supports dumping both the light and dark theme. When one of these commands are invoked the respective theme CSS file will be written to $HOME/.config/way-shell/way-shell-{dark|light}.css As long as a CSS file with this name is located in this directory Way-Shell will load this CSS file instead of its default.

This works interactive. You can dump the CSS, edit it, and then toggle the edited theme on/off for it to take effect.

Clone this wiki locally