From 69a2cc9139324ca1236f144729bab5fe3dd8eccb Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 26 Apr 2024 08:56:53 +0900 Subject: [PATCH] updated readme and clock size --- Components/Clock.qml | 2 +- README.md | 80 +++++++++++++++++++++++++------------------- 2 files changed, 47 insertions(+), 35 deletions(-) diff --git a/Components/Clock.qml b/Components/Clock.qml index 2949f22..5275c2b 100644 --- a/Components/Clock.qml +++ b/Components/Clock.qml @@ -22,7 +22,7 @@ Column { Label { id: timeLabel anchors.horizontalCenter: parent.horizontalCenter - font.pointSize: root.font.pointSize * 9 + font.pointSize: root.font.pointSize * 3 font.bold: true color: root.palette.text renderType: Text.QtRendering diff --git a/README.md b/README.md index a856e56..6307efa 100644 --- a/README.md +++ b/README.md @@ -1,49 +1,61 @@ -# sddm-astronaut-theme +

🗼 Simple SDDM Theme 2 - QT6 🗼

-A theme for the [SDDM login manager](https://github.com/sddm/sddm). +

This will be the SDDM theme to be installed in my Hyprland Scripts

+

Not my own work. See below `Credits` for link of original author

-- Screen resolution: 1080p -- Font: Open sans +

+A Simple theme variant for the SDDM Login Manager +

-### Preview +

Preview

+
+preview-1 +
+More Previews +preview-2 +preview-4 +preview-3 +preview-5 +
+
-You can easily change how it looks in **[config](./theme.conf)**. -Here are some examples: +## Install +### From sources +> _Assumes that you've installed and configured SDDM correctly_ (if not [read more](https://wiki.archlinux.org/title/SDDM)) -![Preview](./Previews/preview1.png) -![Preview](./Previews/preview2.png) -![Preview](./Previews/preview3.png) -![Preview](./Previews/preview4.png) +> Please make sure you have the following dependencies installed: +- ` For Arch Linux` +`qt6-5compat` `qt6-declarative` `qt6-svg` `sddm` -### Dependencies +- ` For Fedora 40 ` +`qt6-qt5compat` `qt6-declarative` `qt6-qtsvg` `sddm` -```sh -qt6-5compat qt6-declarative qt6-svg sddm -``` -> qt6-declarative replaces qt6-quickcontrols2 -> https://archlinux.org/packages/extra/x86_64/qt6-declarative/ +- `For OpenSuse TW` +`qt6-qt5compat` `qt6-declarative` `qt6-svg` `sddm` -### Install +## Configure -1. Clone this repository, copy fonts to `/usr/share/fonts/`: +Edit the `/etc/sddm.conf.d/10-theme.conf` (with any text editor with **raised** privileges), so that it looks like this: - ```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/ +```bash +sudo nano /etc/sddm.conf.d/10-theme.conf # use any text editor with raised privileges +--- + +[Theme] +Current=simple-sddm-2 ``` -2. Then edit `/etc/sddm.conf`, so that it looks like this: +### Language and time format +- By default, it is configured with 24H format. You can change to AM/PM variant by editing the theme.conf +```bash +sudo nano /usr/share/sddm/themes/simple-sddm/theme.conf # use any text editor with raised privileges +``` +- `HourFormat="hh:mm AP` . Make sure to disable the above of this part +- To change the default wallpaper put desired image in the `simple-sddm/Backgrounds/` folder and add the name of the image followed by its extension (`.jpg` or `.png`) in `theme.conf` file. +- You can also customize it further if you wish in the `theme.conf` +(blur, form position, etc). - ```sh - echo "[Theme] - Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf - ``` +## Credits +- Full credit goes to original autor [`LINK`](https://github.com/Keyitdev/sddm-astronaut-theme) by [**Keyitdev**](https://github.com/Keyitdev) -### Credits -Based on the theme [`Sugar Dark for SDDM`](https://github.com/MarianArlt/sddm-sugar-dark) by **MarianArlt**. - -### License - -Distributed under the **[GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html) License**. -Copyright (C) 2022-2024 Keyitdev. \ No newline at end of file