diff --git a/os/arch/install b/os/arch/install index c3fb9f95..c33380d4 100755 --- a/os/arch/install +++ b/os/arch/install @@ -34,10 +34,12 @@ $pacaur lemonbar lemonbar-xft-git siji-git clock sutils-git $pacman lightdm lightdm-webkit2-greeter bspwm sxhkd compton sudo sed -i 's/^#\?\(user-session=\).*/\1bspwm/; s/^#\?\(greeter-allow-guest=\).*/\1false/; - s/^#\?\(greeter-session=\).*/\1lightdm-webkit2-greeter/' + s/^#\?\(greeter-session=\).*/\1lightdm-webkit2-greeter/' \ /etc/lightdm/lightdm.conf -sudo sed -i 's/^#\?\(webkit-theme = \).*/\1vnought/' +sudo sed -i 's/^#\?\(webkit-theme = \).*/\1vnought/' \ /etc/lightdm/lightdm-webkit2-greeter.conf +[ -d /usr/share/lightdm-webkit/themes/vnought ] || \ + sudo git clone https://github.com/hlissner/lightdm-webkit2-vnought /usr/share/lightdm-webkit/themes/vnought diff --git a/os/arch/lightdm/themes/vnought/Makefile b/os/arch/lightdm/themes/vnought/Makefile deleted file mode 100644 index 0b44720d..00000000 --- a/os/arch/lightdm/themes/vnought/Makefile +++ /dev/null @@ -1,8 +0,0 @@ - -DEST=/usr/share/lightdm-webkit/themes/vnought - -install: $(DEST) - [ -d "$(DEST)" ] && sudo rm -rf "$(DEST)" - sudo cp -r . "$(DEST)" - sudo chown root:root -R "$(DEST)" - diff --git a/os/arch/lightdm/themes/vnought/css/master.css b/os/arch/lightdm/themes/vnought/css/master.css deleted file mode 100644 index aab5bd4b..00000000 --- a/os/arch/lightdm/themes/vnought/css/master.css +++ /dev/null @@ -1,62 +0,0 @@ -html { background: #22252c url(../wallpaper.png) center center; } - -html, body { - width: 100%; height: 100%; - margin: 0; padding: 0; - overflow: hidden; -} - -body { - color: #afbfbf; - font-size: 24px; -} - -input { display: block; } - -.container { - width: 400px; - height: 100%; - margin: 0 auto; - vertical-align: middle; - display: -webkit-flex; - display: flex; - -webkit-flex-direction: column; - flex-direction: column; - text-align: center; -} - -.login { - position: absolute; - top: 45%; left: 50%; - margin-left: -200px; - width: 400px; -} - -.info { - position: absolute; - bottom: 5%; left: 50%; - margin-left: -200px; - width: 400px; -} - -.login { height: 50%; } - -input { - width: 100%; - text-align: center; - font-size: 36px; - border: none; - background: rgba(34, 37, 44, 0.25); - padding: 6px 6px 2px; - margin: 0; - margin-left: -6px; - outline: none; - color: #dfdfdf; - border-radius: 4px; - border-bottom: 2px solid #3f3f3f; -} - -.messageBox { - text-align: center; - visibility: hidden; -} diff --git a/os/arch/lightdm/themes/vnought/index.html b/os/arch/lightdm/themes/vnought/index.html deleted file mode 100644 index 9857da8a..00000000 --- a/os/arch/lightdm/themes/vnought/index.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
-
- -
- -
- Something went wrong -
-
- -
- -
-
- - - - - diff --git a/os/arch/lightdm/themes/vnought/index.theme b/os/arch/lightdm/themes/vnought/index.theme deleted file mode 100644 index c838e61a..00000000 --- a/os/arch/lightdm/themes/vnought/index.theme +++ /dev/null @@ -1,6 +0,0 @@ -[theme] -name=Awe -description=Awe Greeter -engine=lightdm-webkit-greeter -url=index.html -session=bspwm diff --git a/os/arch/lightdm/themes/vnought/js/main.js b/os/arch/lightdm/themes/vnought/js/main.js deleted file mode 100644 index ad665097..00000000 --- a/os/arch/lightdm/themes/vnought/js/main.js +++ /dev/null @@ -1,81 +0,0 @@ -/*********************************************************************/ -/* Callbacks for lightdm-webkit-greeter */ -/*********************************************************************/ - -/** - * show_prompt callback. - */ -function show_prompt(text, type) { - // type is either "text" or "password" - // prompt = document.getElementById("prompt"); - // prompt.innerHTML = text; - entry = document.getElementById("entry"); - entry.value = ""; // clear entry - entry.type = type; - entry.placeholder = text; - entry.focus(); -} - -/** - * show_message callback. - */ -function show_message(text, type) { - if (text.length == 0) - return; - messages = document.getElementById("messages"); - messages.style.visibility = "visible"; - // type is either "info" or "error" - if (type == "error") { - text = "" + text + ""; - } - text = text + "
"; - messages.innerHTML = messages.innerHTML + text; -} - -/** - * authentication_complete callback. - */ -function authentication_complete() { - if (lightdm.is_authenticated) { - lightdm.start_session_sync(); // Start default session - } else { - show_message("Authentication Failed", "error"); - setTimeout(start_authentication, 3000); - } -} - -/** - * autologin_timer_expired callback. - */ -function autologin_timer_expired(username) { - /* Stub. Does nothing. */ -} - -/*********************************************************************/ -/* Functions local to this greeter */ -/*********************************************************************/ - -/** - * clear_messages - */ -function clear_messages() { - messages = document.getElementById("messages"); - messages.innerHTML = ""; - messages.style.visibility = "hidden"; -} - -/** - * Kickoff the authentication process - */ -function start_authentication() { - clear_messages(); - lightdm.start_authentication(); // start with null userid, have pam prompt for userid. -} - -/** - * handle the input from the entry field. - */ -function handle_input() { - entry = document.getElementById("entry"); - lightdm.respond(entry.value); -} diff --git a/os/arch/lightdm/themes/vnought/power_button.png b/os/arch/lightdm/themes/vnought/power_button.png deleted file mode 100644 index 3e0378a5..00000000 Binary files a/os/arch/lightdm/themes/vnought/power_button.png and /dev/null differ diff --git a/os/arch/lightdm/themes/vnought/wallpaper.png b/os/arch/lightdm/themes/vnought/wallpaper.png deleted file mode 100644 index 3f0a301a..00000000 Binary files a/os/arch/lightdm/themes/vnought/wallpaper.png and /dev/null differ