3ximus / aerial-sddm-theme

SDDM theme with Apple TV Aerial videos
GNU General Public License v3.0
495 stars 58 forks source link
aerial apple-tv sddm sddm-theme

Aerial theme for SDDM

SDDM theme with Apple TV Aerial videos

Videos are played randomly and different playlists are used based on time of day (only day and night diferenciation, night between 5pm - 5am) its possible to tweak to have more time diferentiation, the one used is provided with the videos.

Dependencies

It is necessary to have the Phonon GStreamer backend for qt5, GStreamer ffmpeg Plugin and GStreamer Plugins Good

Havent tryed for other distros...

Installation

Simply clone the repository and copy it to /usr/share/sddm/themes/ like this:

git clone git@github.com:3ximus/aerial-sddm-theme.git
mv aerial-sddm-theme /usr/share/sddm/themes

Note that super user priviledges are needed to move files into that directory.

The theme can be tested by running sddm-greeter --test-mode --theme <path-to-this-repository>

Other notes

This theme streams the HD videos so a good internet connection is necessary. If there is no active connection or the video can't be played the background will fallback to the image background.jpg

If you wish to play local videos files just use the following command to generate the playlist-file (playlist_day.m3u or playlist_night.m3u) from a directory containing the videos:

find <path-to-your-directory> -maxdepth 1 -type f > <playlist-file>

If you would like to use the same videos but offline, simply download them using your shell, e.g. :

while read -r link; do
    wget "$link"
done < playlist_file

Changing settings in theme.conf.user

You can change a few settings in this file

Example config (not the same as the screenshots):

[General]
bgVidDay=playlist_day.m3u
bgVidNight=playlist_night.m3u
displayFont="Misc Fixed"
showLoginButton=false
passwordLeftMargin=15
usernameLeftMargin=15
showTopBar=true

Note that some configs names have changed from previous values:

day_time_start => dayTimeStart
day_time_end => dayTimeEnd
background_vid_day => bgVidDay
background_vid_night => bgVidNight
languageBoxFontSize => actionBarFontSize

Preview

preview1 preview2 preview3

Using my custom theme.conf.user

custom

License

Theme is licensed under GPL.