Skip to content

Commit

Permalink
include both image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeboehm committed Mar 24, 2022
1 parent cfa24cf commit 0be1f41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Taken from [lightdm-webkit2-theme-arch](https://gitlab.com/kenogo/lightdm-webkit

This is a very minimal theme for lightdm's [web-greeter](https://github.com/JezerM/web-greeter) which allows multiple users and chooses a random wallpaper each time. The wallpapers are from [this reddit thread](https://www.reddit.com/r/archlinux/comments/4gc2lw/some_arch_wallpapers_i_made/?st=ivzxvmxu&sh=727d2f4e), you can even create your own one [here](https://demon000.github.io/archwg)!

You can put your own wallpapers in either `/usr/share/web-greeter/themes/arch/wallpapers` or `/usr/share/backgrounds/lightdm`

You can also find this in the [AUR](https://aur.archlinux.org/packages/lightdm-web-greeter-theme-arch/).

![Theme in usage](https://raw.githubusercontent.com/guillaumeboehm/lightdm-web-greeter-theme-arch/master/example.png)
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ function pad(a, b) {
}

async function getImg() {
// let _paths = ['/usr/share/web-greeter/themes/arch/wallpapers','/usr/share/backgrounds/lightdm'];
let _paths = ['/usr/share/backgrounds/lightdm'];
let _paths = ['/usr/share/web-greeter/themes/arch/wallpapers','/usr/share/backgrounds/lightdm'];

function pullImages(paths, images){
let path = paths.pop();
Expand Down

0 comments on commit 0be1f41

Please sign in to comment.