0
0
Fork 0
mirror of https://github.com/stronk-dev/Tokyo-Night-Linux.git synced 2024-10-17 20:58:16 -04:00
tokyo-night-linux/usr/share/themes/UltimateBlack-0.2/gnome-shell
Marco van Dijk 9324c8b250 Fix theme unfocused border
Uploaded sample logid.cfg for setting up the gestures to control sway
More consistent colours between sway, waybar and GTK
More comments in sway/config
2021-07-15 10:28:33 +02:00
..
assets Fix theme unfocused border 2021-07-15 10:28:33 +02:00
extensions/workspaces-to-dock Fix theme unfocused border 2021-07-15 10:28:33 +02:00
icons Fix theme unfocused border 2021-07-15 10:28:33 +02:00
gnome-shell-theme.gresource.xml Fix theme unfocused border 2021-07-15 10:28:33 +02:00
gnome-shell.css Fix theme unfocused border 2021-07-15 10:28:33 +02:00
noise-texture.png Fix theme unfocused border 2021-07-15 10:28:33 +02:00
pad-osd.css Fix theme unfocused border 2021-07-15 10:28:33 +02:00
process-working.svg Fix theme unfocused border 2021-07-15 10:28:33 +02:00
README.md Fix theme unfocused border 2021-07-15 10:28:33 +02:00

How to change the GDM theme

To change the GDM (lock/login screen) theme, you need to replace the system's default GNOME Shell theme.

⚠️ Cautions ⚠️

  • If the replacement fails, your desktop environment will not work properly. So please be careful if doing this.
  • When applying this, other third-party GNOME Shell themes would look broken until you restore to the original theme.
  • If GNOME Shell has been updated and restored to the original theme, you will need to install this again.

    Note: On Arch Linux, you can automatically reinstall the GDM theme by creating a hook file. For example, if you use Material-Black-Blueberry-4.0 as your GDM theme, put this file in the /usr/share/libalpm/hooks/ directory.

Requirements

  • glib-compile-resources — The package name depends on the distro.
    • glib2 (Arch Linux)
    • glib2-devel (Fedora, openSUSE, etc.)
    • libglib2.0-dev-bin (Debian, Ubuntu, etc.)
  • libxml2-utils — Ubuntu users only.

Installation

  1. Back up the original theme file first. If you are already using a custom GDM theme, skip this:
sudo cp -av /usr/share/gnome-shell/gnome-shell-theme.gresource{,~}
  1. Select a GTK theme to decide which variant to install.
  2. Replace the default theme file:
GTK_THEME=$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")
cd /usr/share/themes/${GTK_THEME}/gnome-shell
sudo glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml
  1. Reload the theme. If you are running GNOME Shell, press Alt + F2 then type rt.

Uninstallation

  1. Restore to the original theme file from the backup:
sudo mv -v /usr/share/gnome-shell/gnome-shell-theme.gresource{~,}
  1. Reload the theme. If you are running GNOME Shell, press Alt + F2 then type rt.