MCPcopy Index your code
hub / github.com/eromatiya/lightdm-webkit2-theme-glorious

github.com/eromatiya/lightdm-webkit2-theme-glorious @v2.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.5 ↗ · + Follow
195 symbols 396 edges 20 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

glorious - a lightdm webkit2 theme

maintained contributions HitCount Codacy Badge

A sleek, modern, and glorified lightdm webkit2 theme

Live Demo

Demo password: toor

glorious

glorious - a lightdm webkit 2 theme

Dependencies

Please make sure you don't have an ancient version of these.

  • lightdm
  • lightdm-webkit2-greeter

Installation

  1. If you're using systemd, make sure that lightdm.service or lightdm-plymouth.service is enabled and running. There's a bunch of guides on the internet. Archwiki is recommended.

  2. Install it. You can get the theme by cloning this repo or by installing it from AUR using makepkg or an AUR helper like yay.

    • AUR route.

      ```

      AUR Helper

      $ yay -Syu lightdm-webkit2-theme-glorious

      Makepkg route

      $ git clone https://aur.archlinux.org/lightdm-webkit2-theme-glorious.git $ cd lightdm-webkit2-theme-glorious $ makepkg -sri ```

    • Clone the repo route.

      1. Download and extract the latest stable release from here.
      2. Copy it to the lightdm-webkit theme folder:

        ```

        cp -r lightdm-webkit2-theme-glorious /usr/share/lightdm-webkit/themes/glorious

        ```

  3. Set lightdm greeter session to webkit2.

    ``` $ sudoedit /etc/lightdm/lightdm.conf

    Find greeter-session under the [Seat:*] section, uncomment it, then set its value to lightdm-webkit2-greeter.

    ```

  4. Set it as the lightdm webkit2 theme then enable debug_mode by setting it to true. Why do we need to enable debug_mode? Sometimes you will be greeted by an error. And this error is due to a race condition where the theme is trying to access the lightdm object even though it doesn't exist yet. Debug mode will allow you to right-click and reload the greeter just like a webpage.

    ``` $ sudoedit /etc/lightdm/lightdm-webkit2-greeter.conf

    Find webkit_theme then set its value to glorious.

    Find debug_mode then set it to true.

    If you encountered an error, right-click then reload.

    ```

Uninstall

  1. Follow the installation instruction in reverse order.

Features

  • Multi-user support
  • Customization and Settings
  • Keyboard navigation
  • Remappable keybindings
  • Swipe gestures
  • Vanilla Javascript!

Swipe gestures

Why do we have this? Linux can be installed on almost anything. Yes, even on a potato. So it exists to save myself some time if someone (including myself) decided to use this theme on a touch screen device (like touch screen potato? Who knows).

  • Swiping up on the greeter screen will close it.
  • Swiping down on the login screen will open the greeter screen.
  • Swiping left will open the dashboard.
  • Swiping right will close the dashboard.

Keybinds

The default modifier is Alt. You can change it in the settings.

  • Modifier + s opens the dashboard.
  • Modifier + e opens the session selection.
  • Modifier + x opens the power selection.
  • Modifier + y opens the account selection.
  • Escape to close or go back.

Customization and Settings

  • Color customization supports #RGB, #RRGGBB, and #RRGGBBAA.
  • Blur strength settings only allows an integer with px suffix.
  • Animation speed supports s and ms.
  • Background image selection. Supports randomness.

Changing clock mode

There are two clock modes available - 24-hour and 12-hour. Switch between clock modes by just clicking on the clock. Simple.

Notes

  • Add more background images by putting your wallpapers/images in /usr/share/backgrounds/.
  • Non-image and directory inside /usr/share/backgrounds/ will cause an error! You will likely encounter this if you installed a package (for example archlinux-wallpaper that includes AUTHORS file).
  • Set your profile image in system settings or by using mugshot.
  • Missing DE/WM logo? Submit a pull request!
  • Translations are not yet supported. PR's are welcome!

Credits

Background image by Jr Korpa on Unsplash

Core symbols most depended-on inside this repo

_getStorageItem
called by 23
js/themes.js
getSidebarVisibility
called by 7
js/sidebar.js
showSidebar
called by 7
js/sidebar.js
toggleSidebar
called by 7
js/sidebar.js
_settingsShow
called by 6
js/sidebar-navigate.js
_appendZero
called by 6
js/date-time.js
_storageGetItem
called by 6
js/keybinds.js
settingsShowAccounts
called by 5
js/sidebar-navigate.js

Shape

Method 157
Class 38

Languages

TypeScript100%

Modules by API surface

js/themes.js21 symbols
js/sidebar-navigate.js18 symbols
js/keybinds.js18 symbols
js/backgrounds.js17 symbols
js/authenticate.js14 symbols
js/accounts.js14 symbols
js/sessions.js11 symbols
js/power.js10 symbols
js/date-time.js10 symbols
js/sidebar.js9 symbols
js/greeter.js9 symbols
js/user-profile.js8 symbols

For agents

$ claude mcp add lightdm-webkit2-theme-glorious \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page