Compare commits

..

6 commits

Author SHA1 Message Date
98996b49e0
Merge pull request #16 from KamaleiZestri/master
Qt5 -> Qt6 Compatability
2024-12-04 19:25:47 +03:00
Kamalei Zestri
9acbf5717d Qt6 compat 2024-12-03 05:06:41 -06:00
126c9da9e3 Fixed links 2024-11-28 14:00:45 +03:00
d412b338bc
Merge pull request #12 from Vistaus/master 2023-07-02 12:36:52 +03:00
Heimen Stoffels
589fef11c0
Added Dutch translation 2023-01-11 22:45:56 +01:00
763b8f4e01
Fixed incorrect repo link 2021-11-06 12:29:15 +03:00
9 changed files with 38 additions and 12 deletions

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtGraphicalEffects 1.0
import Qt5Compat.GraphicalEffects
import SddmComponents 2.0
import "slice"

View file

@ -12,13 +12,13 @@ If you're using KDE, you can install theme from `System Settings > Startup and S
1. Install `Qt Graphical Effects` QML module
2. Install Roboto font (optional, you can change to other font, [see below](#font-scheme))
3. `git clone https://github.com/RadRussianRus/sddm-slice.git`
3. `git clone https://github.com/EricKotato/sddm-slice.git`
4. `cp -r sddm-slice /usr/share/sddm/themes/sddm-slice`
5. Open `/etc/sddm.conf` and put `Current=sddm-slice` in `[Theme]` section
## Configuration
Create file `theme.conf.user` in theme folder. See `theme.conf` for reference. Also sample configs can be found [in wiki](https://github.com/RadRussianRus/sddm-slice/wiki#sample-configs).
Create file `theme.conf.user` in theme folder. See `theme.conf` for reference. Also sample configs can be found [in wiki](https://github.com/EricKotato/sddm-slice/wiki#sample-configs).
### Base options
@ -29,22 +29,22 @@ Create file `theme.conf.user` in theme folder. See `theme.conf` for reference. A
### Color scheme
There are many color options. In fact, too many. So now they are grouped by layers in [color scheme](https://github.com/RadRussianRus/sddm-slice/wiki/Color-Scheme). Most of them are optional, only mandatory options are from [layer 1](https://github.com/RadRussianRus/sddm-slice/wiki/Color-Scheme-Layer-1):
There are many color options. In fact, too many. So now they are grouped by layers in [color scheme](https://github.com/EricKotato/sddm-slice/wiki/Color-Scheme). Most of them are optional, only mandatory options are from [layer 1](https://github.com/EricKotato/sddm-slice/wiki/Color-Scheme-Layer-1):
* `color_bg` - background color. Defaults to `#222222`.
* `color_main` - main color. Defaults to `#dddddd`.
* `color_dimmed` - dimmed main color. Defaults to `#888888`.
* `color_contrast` - color that contrasting to both main and dimmed. Defaults to `#1f1f1f`.
Info about other layers can be found on wiki: [layer 2](https://github.com/RadRussianRus/sddm-slice/wiki/Color-Scheme-Layer-2), [layer 3](https://github.com/RadRussianRus/sddm-slice/wiki/Color-Scheme-Layer-3).
Info about other layers can be found on wiki: [layer 2](https://github.com/EricKotato/sddm-slice/wiki/Color-Scheme-Layer-2), [layer 3](https://github.com/EricKotato/sddm-slice/wiki/Color-Scheme-Layer-3).
### Font scheme
There are also many font options, so there is now [font scheme](https://github.com/RadRussianRus/sddm-slice/wiki/Font-Scheme) too. Most of them are optional, only mandatory option is from [layer 1](https://github.com/RadRussianRus/sddm-slice/wiki/Font-Scheme-Layer-1):
There are also many font options, so there is now [font scheme](https://github.com/EricKotato/sddm-slice/wiki/Font-Scheme) too. Most of them are optional, only mandatory option is from [layer 1](https://github.com/EricKotato/sddm-slice/wiki/Font-Scheme-Layer-1):
* `font` - overall font. Defaults to `Roboto`.
Info about other layers can be found on wiki: [layer 2](https://github.com/RadRussianRus/sddm-slice/wiki/Font-Scheme-Layer-2), [layer 3](https://github.com/RadRussianRus/sddm-slice/wiki/Font-Scheme-Layer-3).
Info about other layers can be found on wiki: [layer 2](https://github.com/EricKotato/sddm-slice/wiki/Font-Scheme-Layer-2), [layer 3](https://github.com/EricKotato/sddm-slice/wiki/Font-Scheme-Layer-3).
### Debug mode options

View file

@ -6,7 +6,7 @@ Copyright=(c) 2020, RadRussianRus
License=CC-BY-SA
Type=sddm-theme
Screenshot=screenshot.png
Website=https://github.com/RadRussianRus/slice-sddm
Website=https://github.com/RadRussianRus/sddm-slice
Version=1.5.1
MainScript=Main.qml
TranslationsDirectory=translations

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtGraphicalEffects 1.0
import Qt5Compat.GraphicalEffects
Item
{

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtGraphicalEffects 1.0
import Qt5Compat.GraphicalEffects
import SddmComponents 2.0
Item

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtGraphicalEffects 1.0
import Qt5Compat.GraphicalEffects
import SddmComponents 2.0
Item

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtGraphicalEffects 1.0
import Qt5Compat.GraphicalEffects
import SddmComponents 2.0
import QtQuick.Layouts 1.3

BIN
translations/nl.qm Normal file

Binary file not shown.

26
translations/nl.ts Normal file
View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>PagePower</name>
<message>
<source>Suspend</source>
<translation>Pauzestand</translation>
</message>
<message>
<source>Hibernate</source>
<translation>Slaapstand</translation>
</message>
<message>
<source>Hybrid Sleep</source>
<translation>Hybride slaapstand</translation>
</message>
</context>
<context>
<name>PageUsers</name>
<message>
<source>Back</source>
<translation>Terug</translation>
</message>
</context>
</TS>