user-theme-x icon indicating copy to clipboard operation
user-theme-x copied to clipboard

Customizable user-theme with user stylesheet and night theme auto-switch based on the Night Light.

user-theme-x

User theme with user stylesheet and day/night themes auto-switch based on the Night Light.

Do not go gentle into that Dark side.
license

Installation

Manual

The latest and supported version should only work on the most current stable version of GNOME Shell.

git clone https://github.com/tuberry/user-theme-x.git && cd user-theme-x
meson setup build && meson install -C build
# meson setup build -Dtarget=system && meson install -C build # system-wide, default --prefix=/usr/local

For older versions, it's recommended to install via:

E.G.O

Get it on GNOME Extensions

Features

utxpref

Stylesheet

Load user stylesheet from ~/.config/gnome-shell/gnome-shell{-light,-dark}.css.

mkdir -p ~/.config/gnome-shell && touch ~/.config/gnome-shell/gnome-shell-light.css

For example, floating panel:

/* floating panel */
#panelBox {
  padding: 0.35em 0.9em;
  background: transparent;
}

#panel {
  border-radius: 0.9em;
}

Notes

  • If there is something wrong, try to disable the user stylesheet.

Contributions

Feel free to open an issue or PR in the repo for any question or idea.

Translations

To update the po file from sources:

bash ./cli/update-po.sh [your_lang_code] # like zh_CN, default to $LANG

Developments

To install GJS TypeScript type definitions:

npm install @girs/gnome-shell --save-dev