diff --git a/wlogout/.config/wlogout/icons/hibernate.png b/wlogout/.config/wlogout/icons/hibernate.png new file mode 100644 index 0000000..7764f61 Binary files /dev/null and b/wlogout/.config/wlogout/icons/hibernate.png differ diff --git a/wlogout/.config/wlogout/icons/lock.png b/wlogout/.config/wlogout/icons/lock.png new file mode 100644 index 0000000..88c3af0 Binary files /dev/null and b/wlogout/.config/wlogout/icons/lock.png differ diff --git a/wlogout/.config/wlogout/icons/logout.png b/wlogout/.config/wlogout/icons/logout.png new file mode 100644 index 0000000..626feb4 Binary files /dev/null and b/wlogout/.config/wlogout/icons/logout.png differ diff --git a/wlogout/.config/wlogout/icons/reboot.png b/wlogout/.config/wlogout/icons/reboot.png new file mode 100644 index 0000000..ddf06d3 Binary files /dev/null and b/wlogout/.config/wlogout/icons/reboot.png differ diff --git a/wlogout/.config/wlogout/icons/shutdown.png b/wlogout/.config/wlogout/icons/shutdown.png new file mode 100644 index 0000000..39a4b2d Binary files /dev/null and b/wlogout/.config/wlogout/icons/shutdown.png differ diff --git a/wlogout/.config/wlogout/icons/suspend.png b/wlogout/.config/wlogout/icons/suspend.png new file mode 100644 index 0000000..5b4885b Binary files /dev/null and b/wlogout/.config/wlogout/icons/suspend.png differ diff --git a/wlogout/.config/wlogout/layout b/wlogout/.config/wlogout/layout new file mode 100644 index 0000000..12d1deb --- /dev/null +++ b/wlogout/.config/wlogout/layout @@ -0,0 +1,35 @@ +{ + "label" : "lock", + "action" : "swaylock -i ~/Downloads/william-moreland-W61Rp5RouCA-unsplash.png .s fill", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "loginctl suspend", + "text" : "Hibernate", +} +{ + "label" : "logout", + "action" : "loginctl terminate-user $USER", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "loginctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "loginctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "loginctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/wlogout/.config/wlogout/style.css b/wlogout/.config/wlogout/style.css new file mode 100644 index 0000000..c9b7798 --- /dev/null +++ b/wlogout/.config/wlogout/style.css @@ -0,0 +1,52 @@ +* { + background-image: none; +} +@keyframes fadeIn { + from {opacity: 0;} + to {opacity: 1;} +} +window { + background-color: rgba(46,52,64, 0.9); + font-size: 26px; + font-family: Product Sans; + animation: fadeIn; + animation-duration: 0.5s; +} +button { + color: #eceff4; + background-color: #4c566a; + border-style: solid; + margin: 20px; + border: 3px solid #3b4252; + background-repeat: no-repeat; + background-position: center; +} + +button:focus, button:active, button:hover { + background-color: #5e81ac; + outline-style: none; +} + +#lock { + background-image: image(url("/home/minhradz/.config/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png")); +} + +#logout { + background-image: image(url("/home/minhradz/.config/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png")); +} + +#suspend { + background-image: image(url("/home/minhradz/.config/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png")); +} + +#hibernate { + background-image: image(url("/home/minhradz/.config/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png")); +} + +#shutdown { + background-image: image(url("/home/minhradz/.config/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png")); +} + +#reboot { + background-image: image(url("/home/minhradz/.config/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); +}