diff options
Diffstat (limited to '.config/wlogout')
-rw-r--r-- | .config/wlogout/layout | 36 | ||||
-rw-r--r-- | .config/wlogout/style.css | 53 |
2 files changed, 89 insertions, 0 deletions
diff --git a/.config/wlogout/layout b/.config/wlogout/layout new file mode 100644 index 0000000..4c60f4d --- /dev/null +++ b/.config/wlogout/layout | |||
@@ -0,0 +1,36 @@ | |||
1 | { | ||
2 | "label" : "lock", | ||
3 | "action" : "hyprlock", | ||
4 | "text" : "lock", | ||
5 | "keybind" : "l" | ||
6 | } | ||
7 | { | ||
8 | "label" : "hibernate", | ||
9 | "action" : "systemctl hibernate", | ||
10 | "text" : "hibernate", | ||
11 | "keybind" : "h" | ||
12 | } | ||
13 | { | ||
14 | "label" : "logout", | ||
15 | "action" : "loginctl terminate-user $USER", | ||
16 | "text" : "logout", | ||
17 | "keybind" : "e" | ||
18 | } | ||
19 | { | ||
20 | "label" : "shutdown", | ||
21 | "action" : "systemctl poweroff", | ||
22 | "text" : "shutdown", | ||
23 | "keybind" : "s" | ||
24 | } | ||
25 | { | ||
26 | "label" : "suspend", | ||
27 | "action" : "systemctl suspend", | ||
28 | "text" : "suspend", | ||
29 | "keybind" : "u" | ||
30 | } | ||
31 | { | ||
32 | "label" : "reboot", | ||
33 | "action" : "systemctl reboot", | ||
34 | "text" : "reboot", | ||
35 | "keybind" : "r" | ||
36 | } | ||
diff --git a/.config/wlogout/style.css b/.config/wlogout/style.css new file mode 100644 index 0000000..93006f7 --- /dev/null +++ b/.config/wlogout/style.css | |||
@@ -0,0 +1,53 @@ | |||
1 | * { | ||
2 | background-image: none; | ||
3 | box-shadow: none; | ||
4 | } | ||
5 | |||
6 | window { | ||
7 | background-color: rgba(30, 30, 46, 0.9); | ||
8 | } | ||
9 | |||
10 | button { | ||
11 | border-radius: 0; | ||
12 | border-color: black; | ||
13 | text-decoration-color: #b4befe; | ||
14 | color: #cdd6f4; | ||
15 | background-color: #11111b; | ||
16 | border-style: solid; | ||
17 | border-width: 1px; | ||
18 | background-repeat: no-repeat; | ||
19 | background-position: center; | ||
20 | background-size: 25%; | ||
21 | } | ||
22 | |||
23 | button:focus, | ||
24 | button:active, | ||
25 | button:hover { | ||
26 | background-color: #45475a; | ||
27 | color: #f5e0dc; | ||
28 | outline-style: none; | ||
29 | } | ||
30 | |||
31 | #lock { | ||
32 | background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png")); | ||
33 | } | ||
34 | |||
35 | #logout { | ||
36 | background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png")); | ||
37 | } | ||
38 | |||
39 | #suspend { | ||
40 | background-image: image(url("/usr/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png")); | ||
41 | } | ||
42 | |||
43 | #hibernate { | ||
44 | background-image: image(url("/usr/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png")); | ||
45 | } | ||
46 | |||
47 | #shutdown { | ||
48 | background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png")); | ||
49 | } | ||
50 | |||
51 | #reboot { | ||
52 | background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png")); | ||
53 | } | ||