Simple dark SDDM theme with many customization options.
Find a file
2022-06-08 23:26:15 +01:00
slice Defaults documented 2022-06-08 23:26:15 +01:00
translations Slight reorganize and updated README 2020-11-19 23:42:57 +03:00
.gitignore Slight reorganize and updated README 2020-11-19 23:42:57 +03:00
LICENSE First working version 2018-02-22 16:37:34 +03:00
Main.qml Make all layout values configurable 2022-06-07 03:56:25 +01:00
metadata.desktop Fixed incorrect repo link 2021-11-06 12:29:15 +03:00
README.md Defaults documented 2022-06-08 23:26:15 +01:00
screenshot.png Slight reorganize and updated README 2020-11-19 23:42:57 +03:00
theme.conf Make all layout values configurable 2022-06-07 03:56:25 +01:00

Slice (SDDM Theme)

Simple dark SDDM theme with many customization options.

Theme preview (YouTube)

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)
  3. git clone https://github.com/RadRussianRus/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.

Base options

  • background - path to background image. If not set, falls back to color_bg. Not set by default.
  • bg_mode - background image fill mode. Can be either aspect, fill, tile or none. Defaults to aspect.
  • parallax_bg_shift - shifting of parallax background on tab change in pixels. 0 disables parallax motion. Negative values will scroll background in opposite direction. Default is 20.
  • manual - enables manual login mode and disables user selection. You can use "0/1", "true/false" and "yes/no" on this option. Disabled by default.

Color scheme

There are many color options. In fact, too many. So now they are grouped by layers in color scheme. Most of them are optional, only mandatory options are from 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, layer 3.

Font scheme

There are also many font options, so there is now font scheme too. Most of them are optional, only mandatory option is from layer 1:

  • font - overall font. Defaults to Roboto.

Layout Sheme

  • user_area_width - width of the user page container area. Defaults to 450.
  • power_area_width - width of the power spage container area. Defaults to 370.
  • offset_slices - vertical and horizontal offset for all groups of buttons (or "slices"). Defaults to 5.
  • padding_slices - internal padding of all slices. Defaults to 0.
  • spacing_slices - spacing between all slices. Defaults to 3.
  • skew_slices - skew (angle) of all slices. Defaults to 32.
  • image_padding - image padding for all images. Defaults to 2.
  • spacing_item - spacing between all types of list item. Defaults to 2.
  • padding_item - internal padding of all types of list item. Defaults to 2.

Info about other layers can be found on wiki: layer 2, layer 3.

Debug mode options

There are some things that can't be tested well in greeter (e.g. shutdown options or login error). So there is a debug mode.

Boolean options

You can use "0/1", "true/false" and "yes/no" on boolean options. All debug options are disabled by default.

  • debug - activates debug mode.
  • debug_can_power_off - sets sddm.canPowerOff (shows "Shutdown").
  • debug_can_reboot - sets sddm.canReboot (shows "Reboot").
  • debug_can_suspend - sets sddm.canSuspend (shows "Suspend").
  • debug_can_hibernate - sets sddm.canHibernate (shows "Hibernate").
  • debug_can_hybrid_sleep - sets sddm.canHybridSleep (shows "Hybrid Sleep").
  • debug_login_error - forces login error.

Number options

  • debug_login_timeout - time between pressing "Login" and login error in seconds. Not effective if debug_login_error is disabled.

String options

  • debug_hostname - sets sddm.hostName.

License

Icons: Material Design Icons

CC-BY-SA