diff --git a/wlogout/icons/hibernate.png b/wlogout/icons/hibernate.png new file mode 100644 index 0000000..bf2b001 Binary files /dev/null and b/wlogout/icons/hibernate.png differ diff --git a/wlogout/icons/lock.png b/wlogout/icons/lock.png new file mode 100644 index 0000000..da59b10 Binary files /dev/null and b/wlogout/icons/lock.png differ diff --git a/wlogout/icons/logout.png b/wlogout/icons/logout.png new file mode 100644 index 0000000..8a25922 Binary files /dev/null and b/wlogout/icons/logout.png differ diff --git a/wlogout/icons/reboot.png b/wlogout/icons/reboot.png new file mode 100644 index 0000000..e5fd221 Binary files /dev/null and b/wlogout/icons/reboot.png differ diff --git a/wlogout/icons/shutdown.png b/wlogout/icons/shutdown.png new file mode 100644 index 0000000..663ca03 Binary files /dev/null and b/wlogout/icons/shutdown.png differ diff --git a/wlogout/icons/suspend.png b/wlogout/icons/suspend.png new file mode 100644 index 0000000..af099b9 Binary files /dev/null and b/wlogout/icons/suspend.png differ diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 0000000..447669d --- /dev/null +++ b/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "loginctl lock-session", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "uwsm stop", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend-then-hibernate", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/wlogout/style.css b/wlogout/style.css new file mode 100644 index 0000000..be64523 --- /dev/null +++ b/wlogout/style.css @@ -0,0 +1,66 @@ +* { + all: unset; + background-image: none; + box-shadow: none; + font-family: "JetBrains Mono Nerd Font", monospace; +} + +window { + background: url("../../.local/state/caelestia/wallpaper/blur"), rgba(31, 33, 36, 0.7); + background-size: cover; + background-position: center; +} + +button { + background-repeat: no-repeat; + background-position: center; + background-size: 20%; + transition: 200ms linear; + font-size: 24px; + font-weight: bold; + border-radius: 20px; + margin: 10px; + color: #e3e6f0; + background-color: rgba(31, 33, 36, 0.2); + border: #c1c4cb 5px solid; + box-shadow: 2px 3px 8px rgba(31, 33, 36, 0.5); +} + +button:hover, +button:focus { + background-color: rgba(31, 33, 36, 0.5); + border: #898b91 5px solid; +} + +button:focus { + background-size: 22%; +} + +button:active { + background-color: rgba(31, 33, 36, 0.6); + border: #9b9da1 5px solid; +} + +#lock { + background-image: url("./icons/lock.png"); +} + +#logout { + background-image: url("./icons/logout.png"); +} + +#suspend { + background-image: url("./icons/suspend.png"); +} + +#hibernate { + background-image: url("./icons/hibernate.png"); +} + +#shutdown { + background-image: url("./icons/shutdown.png"); +} + +#reboot { + background-image: url("./icons/reboot.png"); +}