Home

Awesome

glorious - a lightdm webkit2 theme

maintained contributions HitCount Codacy Badge

A sleek, modern, and glorified lightdm webkit2 theme

Live Demo

Demo password: toor

<p align='center'><img alt='glorious' src='glorious.gif'/><br/><i>glorious - a lightdm webkit 2 theme</i></p>

Dependencies

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

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.

    # Set default lightdm greeter to lightdm-webkit2-greeter
    sudo sed -i 's/^\(#?greeter\)-session\s*=\s*\(.*\)/greeter-session = lightdm-webkit2-greeter #\1/ #\2g' /etc/lightdm/lightdm.conf
    
  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.

    # Set default lightdm-webkit2-greeter theme to Glorious
    sudo sed -i 's/^webkit_theme\s*=\s*\(.*\)/webkit_theme = glorious #\1/g' /etc/lightdm/lightdm-webkit2-greeter.conf
    sudo sed -i 's/^debug_mode\s*=\s*\(.*\)/debug_mode = true #\1/g' /etc/lightdm/lightdm-webkit2-greeter.conf
    

Uninstall

  1. Follow the installation instruction in reverse order.

Features

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).

Keybinds

The default modifier is <kbd>Alt</kbd>. You can change it in the settings.

Customization and Settings

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

Credits

<span>Background image by <a href="https://unsplash.com/@korpa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jr Korpa</a> on <a href="https://unsplash.com/s/photos/cherry-blossoms-purple?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>