aboutsummaryrefslogtreecommitdiff
path: root/wlogout
diff options
context:
space:
mode:
Diffstat (limited to 'wlogout')
-rw-r--r--wlogout/icons/hibernate.pngbin0 -> 20157 bytes
-rw-r--r--wlogout/icons/lock.pngbin0 -> 11034 bytes
-rw-r--r--wlogout/icons/logout.pngbin0 -> 9464 bytes
-rw-r--r--wlogout/icons/reboot.pngbin0 -> 19012 bytes
-rw-r--r--wlogout/icons/shutdown.pngbin0 -> 18201 bytes
-rw-r--r--wlogout/icons/suspend.pngbin0 -> 19385 bytes
-rw-r--r--wlogout/layout36
-rw-r--r--wlogout/style.css56
8 files changed, 92 insertions, 0 deletions
diff --git a/wlogout/icons/hibernate.png b/wlogout/icons/hibernate.png
new file mode 100644
index 000000000..306d73a7b
--- /dev/null
+++ b/wlogout/icons/hibernate.png
Binary files differ
diff --git a/wlogout/icons/lock.png b/wlogout/icons/lock.png
new file mode 100644
index 000000000..4abee24a9
--- /dev/null
+++ b/wlogout/icons/lock.png
Binary files differ
diff --git a/wlogout/icons/logout.png b/wlogout/icons/logout.png
new file mode 100644
index 000000000..409c3cefd
--- /dev/null
+++ b/wlogout/icons/logout.png
Binary files differ
diff --git a/wlogout/icons/reboot.png b/wlogout/icons/reboot.png
new file mode 100644
index 000000000..5f31a4c92
--- /dev/null
+++ b/wlogout/icons/reboot.png
Binary files differ
diff --git a/wlogout/icons/shutdown.png b/wlogout/icons/shutdown.png
new file mode 100644
index 000000000..46005cdf2
--- /dev/null
+++ b/wlogout/icons/shutdown.png
Binary files differ
diff --git a/wlogout/icons/suspend.png b/wlogout/icons/suspend.png
new file mode 100644
index 000000000..a580d86a2
--- /dev/null
+++ b/wlogout/icons/suspend.png
Binary files differ
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"));
+}