diff options
Diffstat (limited to 'wlogout')
-rw-r--r-- | wlogout/icons/hibernate.png | bin | 0 -> 20157 bytes | |||
-rw-r--r-- | wlogout/icons/lock.png | bin | 0 -> 11034 bytes | |||
-rw-r--r-- | wlogout/icons/logout.png | bin | 0 -> 9464 bytes | |||
-rw-r--r-- | wlogout/icons/reboot.png | bin | 0 -> 19012 bytes | |||
-rw-r--r-- | wlogout/icons/shutdown.png | bin | 0 -> 18201 bytes | |||
-rw-r--r-- | wlogout/icons/suspend.png | bin | 0 -> 19385 bytes | |||
-rw-r--r-- | wlogout/layout | 36 | ||||
-rw-r--r-- | wlogout/style.css | 56 |
8 files changed, 92 insertions, 0 deletions
diff --git a/wlogout/icons/hibernate.png b/wlogout/icons/hibernate.png Binary files differnew file mode 100644 index 000000000..306d73a7b --- /dev/null +++ b/wlogout/icons/hibernate.png diff --git a/wlogout/icons/lock.png b/wlogout/icons/lock.png Binary files differnew file mode 100644 index 000000000..4abee24a9 --- /dev/null +++ b/wlogout/icons/lock.png diff --git a/wlogout/icons/logout.png b/wlogout/icons/logout.png Binary files differnew file mode 100644 index 000000000..409c3cefd --- /dev/null +++ b/wlogout/icons/logout.png diff --git a/wlogout/icons/reboot.png b/wlogout/icons/reboot.png Binary files differnew file mode 100644 index 000000000..5f31a4c92 --- /dev/null +++ b/wlogout/icons/reboot.png diff --git a/wlogout/icons/shutdown.png b/wlogout/icons/shutdown.png Binary files differnew file mode 100644 index 000000000..46005cdf2 --- /dev/null +++ b/wlogout/icons/shutdown.png diff --git a/wlogout/icons/suspend.png b/wlogout/icons/suspend.png Binary files differnew file mode 100644 index 000000000..a580d86a2 --- /dev/null +++ b/wlogout/icons/suspend.png diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 000000000..7013ee9db --- /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" : "loginctl terminate-user $USER", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "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 000000000..9e65c1683 --- /dev/null +++ b/wlogout/style.css @@ -0,0 +1,56 @@ +@import '../../.cache/wal/colors-wlogout.css'; + +* { + background-image: none; + box-shadow: none; +} + +window { + background-color: rgba(12, 12, 12, 0.9); +} + +button { + + border-radius: 0; + border-color: black; + text-decoration-color: #FFFFFF; + color: #FFFFFF; + background-color: #161616; + border-style: solid; + border-width: 1px; + background-repeat: no-repeat; + background-position: center; + background-size: 25%; +} + +button:focus, button:active, button:hover { + color: #ebdbb2; + background-color: #000000; + outline-style: none; + border: 1px solid #ebdbb2; + /* margin: 15px; */ +} + +#lock { + background-image: image(url("./icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png")); +} + +#logout { + background-image: image(url("./icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png")); +} + +#suspend { + background-image: image(url("./icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png")); +} + +#hibernate { + background-image: image(url("./icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png")); +} + +#shutdown { + background-image: image(url("./icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png")); +} + +#reboot { + background-image: image(url("./icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); +} |