updated readme and clock size
This commit is contained in:
parent
428b8f7dfb
commit
69a2cc9139
@ -22,7 +22,7 @@ Column {
|
|||||||
Label {
|
Label {
|
||||||
id: timeLabel
|
id: timeLabel
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
font.pointSize: root.font.pointSize * 9
|
font.pointSize: root.font.pointSize * 3
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: root.palette.text
|
color: root.palette.text
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
|
|||||||
88
README.md
88
README.md
@ -1,49 +1,61 @@
|
|||||||
# sddm-astronaut-theme
|
<h2 align="center">🗼 Simple SDDM Theme 2 - QT6 🗼</h2>
|
||||||
|
|
||||||
A theme for the [SDDM login manager](https://github.com/sddm/sddm).
|
<h1 align="center"> This will be the SDDM theme to be installed in my Hyprland Scripts</h1>
|
||||||
|
<h1 align="center"> Not my own work. See below `Credits` for link of original author </h1>
|
||||||
|
|
||||||
- Screen resolution: 1080p
|
<p align=center>
|
||||||
- Font: Open sans
|
A Simple theme variant for the <a href="https://github.com/sddm/sddm">SDDM Login Manager</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
### Preview
|
<h2 align=center>Preview</h2>
|
||||||
|
<center>
|
||||||
|
<img src="./Previews/1.png" alt="preview-1">
|
||||||
|
<details>
|
||||||
|
<summary align=center>More Previews</summary>
|
||||||
|
<img src="./Previews/2.png" alt="preview-2">
|
||||||
|
<img src="./Previews/3.png" alt="preview-4">
|
||||||
|
<img src="./Previews/4.png" alt="preview-3">
|
||||||
|
<img src="./Previews/5.png" alt="preview-5">
|
||||||
|
</details>
|
||||||
|
</center>
|
||||||
|
|
||||||
You can easily change how it looks in **[config](./theme.conf)**.
|
## Install
|
||||||
Here are some examples:
|
### From sources
|
||||||
|
> _Assumes that you've installed and configured SDDM correctly_ (if not [read more](https://wiki.archlinux.org/title/SDDM))
|
||||||
|
|
||||||

|
> 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
|
- `For OpenSuse TW`
|
||||||
qt6-5compat qt6-declarative qt6-svg sddm
|
`qt6-qt5compat` `qt6-declarative` `qt6-svg` `sddm`
|
||||||
|
|
||||||
|
## Configure
|
||||||
|
|
||||||
|
Edit the `/etc/sddm.conf.d/10-theme.conf` (with any text editor with **raised** privileges), so that it looks like this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nano /etc/sddm.conf.d/10-theme.conf # use any text editor with raised privileges
|
||||||
|
---
|
||||||
|
|
||||||
|
[Theme]
|
||||||
|
Current=simple-sddm-2
|
||||||
|
```
|
||||||
|
|
||||||
|
### 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
|
||||||
```
|
```
|
||||||
> qt6-declarative replaces qt6-quickcontrols2
|
- `HourFormat="hh:mm AP` . Make sure to disable the above of this part
|
||||||
> https://archlinux.org/packages/extra/x86_64/qt6-declarative/
|
- 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).
|
||||||
|
|
||||||
### Install
|
## Credits
|
||||||
|
- Full credit goes to original autor [`LINK`](https://github.com/Keyitdev/sddm-astronaut-theme) by [**Keyitdev**](https://github.com/Keyitdev)
|
||||||
|
|
||||||
1. Clone this repository, copy fonts to `/usr/share/fonts/`:
|
|
||||||
|
|
||||||
```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/
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Then edit `/etc/sddm.conf`, so that it looks like this:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
echo "[Theme]
|
|
||||||
Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
### 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.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user