diff --git a/.config/wlogout/hibernate-hover.png b/.config/wlogout/hibernate-hover.png new file mode 100644 index 0000000..a389a08 Binary files /dev/null and b/.config/wlogout/hibernate-hover.png differ diff --git a/.config/wlogout/hibernate.png b/.config/wlogout/hibernate.png new file mode 100644 index 0000000..a6322aa Binary files /dev/null and b/.config/wlogout/hibernate.png differ diff --git a/.config/wlogout/layout b/.config/wlogout/layout new file mode 100644 index 0000000..009b7a0 --- /dev/null +++ b/.config/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "swaylock -f -c 000000", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "logout", + "action" : "hyprctl dispatch exit 0", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} diff --git a/.config/wlogout/lock-hover.png b/.config/wlogout/lock-hover.png new file mode 100644 index 0000000..7433cf9 Binary files /dev/null and b/.config/wlogout/lock-hover.png differ diff --git a/.config/wlogout/lock.png b/.config/wlogout/lock.png new file mode 100644 index 0000000..7d8567a Binary files /dev/null and b/.config/wlogout/lock.png differ diff --git a/.config/wlogout/logout-hover.png b/.config/wlogout/logout-hover.png new file mode 100644 index 0000000..9e570a9 Binary files /dev/null and b/.config/wlogout/logout-hover.png differ diff --git a/.config/wlogout/logout.png b/.config/wlogout/logout.png new file mode 100644 index 0000000..128c995 Binary files /dev/null and b/.config/wlogout/logout.png differ diff --git a/.config/wlogout/power-hover.png b/.config/wlogout/power-hover.png new file mode 100644 index 0000000..6a1fcce Binary files /dev/null and b/.config/wlogout/power-hover.png differ diff --git a/.config/wlogout/power.png b/.config/wlogout/power.png new file mode 100644 index 0000000..c0c2553 Binary files /dev/null and b/.config/wlogout/power.png differ diff --git a/.config/wlogout/restart-hover.png b/.config/wlogout/restart-hover.png new file mode 100644 index 0000000..3e18536 Binary files /dev/null and b/.config/wlogout/restart-hover.png differ diff --git a/.config/wlogout/restart.png b/.config/wlogout/restart.png new file mode 100644 index 0000000..7855d40 Binary files /dev/null and b/.config/wlogout/restart.png differ diff --git a/.config/wlogout/sleep-hover.png b/.config/wlogout/sleep-hover.png new file mode 100644 index 0000000..0fd3bad Binary files /dev/null and b/.config/wlogout/sleep-hover.png differ diff --git a/.config/wlogout/sleep.png b/.config/wlogout/sleep.png new file mode 100644 index 0000000..6a3d607 Binary files /dev/null and b/.config/wlogout/sleep.png differ diff --git a/.config/wlogout/style.css b/.config/wlogout/style.css new file mode 100644 index 0000000..c9bede6 --- /dev/null +++ b/.config/wlogout/style.css @@ -0,0 +1,66 @@ +window { + font-family: monospace; + font-size: 14pt; + color: #cdd6f4; /* text */ + background-color: rgba(30, 30, 46, 0.5); +} + +button { + background-repeat: no-repeat; + background-position: center; + background-size: 25%; + border: none; + background-color: rgba(30, 30, 46, 0); + margin: 5px; + transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; +} + +button:hover { + background-color: rgba(49, 50, 68, 0.9); +} + +button:focus { + background-color: #a5adcb; + color: #1e1e2e; +} + +#lock { + background-image: image(url("./lock.png")); +} +#lock:focus { + background-image: image(url("./lock-hover.png")); +} + +#logout { + background-image: image(url("./logout.png")); +} +#logout:focus { + background-image: image(url("./logout-hover.png")); +} + +#suspend { + background-image: image(url("./sleep.png")); +} +#suspend:focus { + background-image: image(url("./sleep-hover.png")); +} + +#shutdown { + background-image: image(url("./power.png")); +} +#shutdown:focus { + background-image: image(url("./power-hover.png")); +} + +#reboot { + background-image: image(url("./restart.png")); +} +#reboot:focus { + background-image: image(url("./restart-hover.png")); +} +#hibernate { + background-image: image(url("./hibernate.png")); +} +#hibernate:focus { + background-image: image(url("./hibernate-hover.png")); +}