auto-hide clear password button

This commit is contained in:
eximus
2017-08-06 12:48:02 +01:00
parent ddc9ba61f9
commit 43029a5937
4 changed files with 27 additions and 39 deletions

View File

@@ -25,10 +25,13 @@ The theme can be tested by running `sddm-greeter --theme <path-to-this-repositor
### Other notes
- video
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>`
### Changing settings in `theme.conf.user`
You can change a few settings in this file
@@ -36,6 +39,7 @@ You can change a few settings in this file
- `background_day` and `background_night` - video playlists
- `displayFont` - font
- `showLoginButton` - if set to false will hide the login button
- `showClearPasswordButton` - if set to false will hide the clear password button that appears when text is inputed
- `passwordLeftMargin` and `usernameLeftMargin` - set margin between input boxes and labels, some fonts are messy and allows fixing of overlap
- `relativePositionX` and `relativePositionY` - position the login text box and clock
@@ -51,13 +55,6 @@ passwordLeftMargin=15
usernameLeftMargin=15
```
If you want to use the local videos but not via internet, you can put your day-videos and night-videos to `playlist_videos/day` and `playlist_videos/night` directory and then run the code below:
```bash
./generate_playlist.sh local
```
## Preview
![preview1](preview1.gif)