From 30550872089ddeabd59bf165479fa27ad5cd0928 Mon Sep 17 00:00:00 2001 From: Keyitdev <70140437+Keyitdev@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:43:34 +0100 Subject: [PATCH] Update: Updated README.md (new themes). --- README.md | 142 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 103 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 0ec19f7..b09caf7 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,66 @@ # sddm-astronaut-theme -A theme for the [SDDM login manager](https://github.com/sddm/sddm). +![Stars](https://img.shields.io/github/stars/keyitdev/sddm-astronaut-theme?color=dd864a&labelColor=1b1b25&style=for-the-badge) +![Forks](https://img.shields.io/github/forks/keyitdev/sddm-astronaut-theme?color=bf616a&labelColor=1b1b25&style=for-the-badge) +[![Ko-fi](https://img.shields.io/badge/support_me_on_ko--fi-F16061?style=for-the-badge&logo=kofi&logoColor=f5f5f5)](https://ko-fi.com/keyitdev) -- Screen resolution: 1080p -- Font: Open sans +[sddm-astronaut-theme](https://github.com/Keyitdev/sddm-astronaut-theme) is a series of themes for the [SDDM](https://github.com/sddm/sddm/) display manager made by **[Keyitdev](https://github.com/Keyitdev)**. -### Preview +It's written using the latest version of Qt, which is **Qt6**. Its key features include **virtual keyboard support** and an **installation script**. This theme also support **animated wallpapers**. You can easily change its appearance by choosing another of the ten pre-made themes or creating your own. Each of these themes was created by modifying just one file - **[config](./theme.conf)**. -You can easily change how it looks in **[config](./Themes/theme1.conf)**. -Here are some examples: +All themes were created for 1080p. However, they should work well in other resolutions. -![Preview](./Previews/preview1.png) -![Preview](./Previews/preview2.png) -![Preview](./Previews/preview3.png) -![Preview](./Previews/preview4.png) +## Preview of all themes -### Dependencies +![all_themes.gif](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/all_themes.gif?raw=true) + +## Preview of animated themes + +https://github.com/user-attachments/assets/2cfc947e-4621-4e98-b5f3-07d5e224b80c + +
+

Detailed previews

+ +**Astronaut**|**Black hole** +|:--:|:--:| +![astronaut](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/astronaut.png?raw=true)|![black_hole](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/black_hole.png?raw=true) +**Japanese aesthetic**|**Pixel sakura static** +![japanese_aesthetic](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/japanese_aesthetic.png?raw=true)|![pixel_sakura_static](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/pixel_sakura_static.png?raw=true) +**Purple leaves**|**Cyberpunk** +![purple_leaves](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/purple_leaves.png?raw=true)|![cyberpunk](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/cyberpunk.png?raw=true) +**Post-apocalyptic hacker**|**xxx** +![post-apocalyptic_hacker](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/post-apocalyptic_hacker.png?raw=true)| + +**Hyprland Kath** + +https://github.com/user-attachments/assets/1d926e76-44f7-4d99-ac6d-d1abcd7ed688 + +**Pixel sakura** + +https://github.com/user-attachments/assets/ea004765-7e84-4a0d-90cd-aaac97679f62 + +**Jake the dog** + +https://github.com/user-attachments/assets/181d48c2-f152-45f5-b568-21145be180f6 + +
+ +## Installation + +### Automatic Installation + +```sh +sh -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)" +``` +> Works on distributions using pacman, xbps-install, dnf, zypper. +> Remember to always read the scripts you run from the internet. + +### Manual Installation + +1. Install **dependencies** [`sddm >= 0.21.0`](https://github.com/sddm/sddm), [`qt6 >= 6.8`](https://doc.qt.io/qt-6/index.html), [`qt6-svg >= 6.8`](https://doc.qt.io/qt-6/qtsvg-index.html), [`qt6-virtualkeyboard >= 6.8`](https://doc.qt.io/qt-6/qtvirtualkeyboard-index.html), [`qt6-multimedia >= 6.8`](https://doc.qt.io/qt-6/qtmultimedia-index.html) + ```sh sddm qt6-svg qt6-virtualkeyboard qt6-multimedia-ffmpeg # Arch sddm qt6-svg qt6-virtualkeyboard qt6-multimedia # Void @@ -25,45 +68,66 @@ sddm qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia # Fedora sddm-qt6 qt6-svg qt6-virtualkeyboard qt6-multimedia # OpenSUSE ``` -### Install +2. Clone this repository +```sh +sudo git clone -b master --depth 1 https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/sddm/themes/sddm-astronaut-theme +``` +3. Copy fonts to `/usr/share/fonts/` +```sh +sudo cp -r /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/ +``` +4. Edit `/etc/sddm.conf` +```sh +echo "[Theme] +Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf +``` +5. Edit `/etc/sddm.conf.d/virtualkbd.conf` +```sh +echo "[General] +InputMethod=qtvirtualkeyboard" | sudo tee /etc/sddm.conf.d/virtualkbd.conf +``` -1. Clone this repository, copy fonts to `/usr/share/fonts/`: +## Selecting a theme - ```sh - sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/sddm/themes/sddm-astronaut-theme - sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/ - ``` +You can select theme by editing [metadata](./metadata.desktop) (`/usr/share/sddm/themes/sddm-astronaut-theme/metadata.desktop`). -2. Then edit `/etc/sddm.conf` using the following command: +Just edit this line: +``` +ConfigFile=Themes/astronaut.conf +``` +All available configs are in [Themes](./Themes/) directory. - ```sh - echo "[Theme] - Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf - ``` +## Previewing a theme +You can preview the set theme without logging out by runnning: +```sh +sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/sddm-astronaut-theme/ +``` +> Note that depending on the system configuration, the preview may differ slightly from the actual login screen. -### Virtual keyboard +## Sources -![Preview](./Previews/preview5.png) +Initially the theme was independed fork of [MarianArlt's theme](https://github.com/MarianArlt/sddm-sugar-dark) but now the project has come a long way and started to significantly deviate from the original. +Many of the wallpapers and fonts used in this project are very popular and copied from one user to another, so I don't know who the original creator is. +I also redesigned many of them, but here are links to some of the orginal artists who created these wonderful wallpapers: -#### Arch -1. Install package. - ```sh - sddm qt6-virtualkeyboard - ``` +- Astronaut: [wallpaper](https://wallhaven.cc/w/e76pew), [font](https://fonts.google.com/specimen/Open+Sans/about) +- Black hole: [wallpaper](https://images2.alphacoders.com/114/1141632.jpg), [font](https://www.1001fonts.com/espacion-font.html) +- Japanese aesthetic: [wallpaper](https://imgur.com/a/pua0dYx) by [gharly](https://www.artstation.com/gharly), [font](https://www.1001fonts.com/electroharmonix-font.html) +- Purple leaves: [wallpaper](https://wallha.com/wallpaper/artwork-abstract-leaves-purple-texture-pattern-1414432), [font](https://fonts.google.com/specimen/Open+Sans/about) +- Cyberpunk: [wallpaper](https://images5.alphacoders.com/133/1330479.png) by [patrika](https://alphacoders.com/users/profile/227699/patrika), [font](https://www.1001fonts.com/kognigear-font.html) +- Post-apocalyptic hacker: [wallpaper](https://images.alphacoders.com/137/thumb-1920-1375178.png) by [patrika](https://alphacoders.com/users/profile/227699/patrika), [font](https://www.1001fonts.com/fragile-bombers-font.html) +- Hyprland Kath: [wallpaper](https://motionbgs.com/andvari-last-origin), [font](https://www.1001fonts.com/pixelon-font.html) +- Pixel sakura: [wallpaper](https://imgur.com/gallery/sakura-tree-with-petals-flying-off-t5tg4N8), [font](https://www.1001fonts.com/arcadeclassic-font.html) +- Jake the dog: [wallpaper](https://motionbgs.com/jake-the-dog), [font](https://fontmeme.com/fonts/thunderman-font/) + +## Supporting project -2. Then edit `/etc/sddm.conf.d/virtualkbd.conf`, so that it looks like this: +You can support me simply by dropping a **star** on **[github](https://github.com/Keyitdev/sddm-astronaut-theme)** or giving a **subscription** on **[YouTube](http://www.youtube.com/channel/UCVoGVyAP2sHPQyegwBMJKyQ?sub_confirmation=1)**. - ```sh - [General] - InputMethod=qtvirtualkeyboard - ``` +If you enjoyed it and would like to show your appreciation, you can make a **[donation](https://ko-fi.com/keyitdev)** using **[kofi](https://ko-fi.com/keyitdev)**. -### Credits - -Based on the theme [`Sugar Dark for SDDM`](https://github.com/MarianArlt/sddm-sugar-dark) by **MarianArlt**. - -### License +[![Ko-fi](https://img.shields.io/badge/support_me_on_ko--fi-F16061?style=for-the-badge&logo=kofi&logoColor=f5f5f5)](https://ko-fi.com/keyitdev) Distributed under the **[GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html) License**. Copyright (C) 2022-2025 Keyitdev.