diff --git a/.gitignore b/.gitignore index 277b22d..a5bd900 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -slice/theme.conf.user \ No newline at end of file +theme.conf.user diff --git a/slice/Main.qml b/Main.qml similarity index 99% rename from slice/Main.qml rename to Main.qml index 9b80ee9..3f4ab9d 100644 --- a/slice/Main.qml +++ b/Main.qml @@ -2,6 +2,8 @@ import QtQuick 2.7 import QtGraphicalEffects 1.0 import SddmComponents 2.0 +import "slice" + Rectangle { id: root diff --git a/README.md b/README.md index a537e4f..f1f2fbf 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,21 @@ Simple dark SDDM theme with many customization options. [![Theme preview (YouTube)](https://user-images.githubusercontent.com/2903496/45325970-142dd700-b55b-11e8-8396-dc6aba6282e5.png)](https://youtu.be/X6lXkBwo--s) -## Installing +## Install from KDE system settings + +If you're using KDE, you can install theme from `System Settings > Startup and Shutdown > Login Screen (SDDM)`. You can download this repo as zip and install with `Install From File...`, or you can find it in `Get New Login Screens...` window. + +## Manual install 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` -4. `cp -r sddm-slice/slice /usr/share/sddm/themes/slice` -5. Open `/etc/sddm.conf` and put `Current=slice` in `[Theme]` section +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 `slice/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/RadRussianRus/sddm-slice/wiki#sample-configs). ### Base options diff --git a/slice/metadata.desktop b/metadata.desktop similarity index 100% rename from slice/metadata.desktop rename to metadata.desktop diff --git a/slice/screenshot.png b/screenshot.png similarity index 100% rename from slice/screenshot.png rename to screenshot.png diff --git a/slice/theme.conf b/theme.conf similarity index 100% rename from slice/theme.conf rename to theme.conf diff --git a/slice/translations/ru.qm b/translations/ru.qm similarity index 100% rename from slice/translations/ru.qm rename to translations/ru.qm diff --git a/slice/translations/ru.ts b/translations/ru.ts similarity index 100% rename from slice/translations/ru.ts rename to translations/ru.ts