wlogout
@ -7,7 +7,7 @@
|
||||
"custom/spotify"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock",
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"privacy",
|
||||
@ -21,6 +21,7 @@
|
||||
"custom/power": {
|
||||
"format": "⏻",
|
||||
"tooltip": false,
|
||||
"on-click": "hyprctl dispatch exec 'wlogout -b 6 -L 1100 -R 1100 -T 650 -B 650'"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
@ -29,7 +30,7 @@
|
||||
"on-click": "none"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{0:%H:%M:%S}",
|
||||
"format": "{0:%b, %d %H:%M:%S}",
|
||||
"interval": 1,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{0:%A, %d.%m.%Y W%W}"
|
||||
|
||||
BIN
.config/wlogout/icons/hibernate.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
.config/wlogout/icons/lock-active.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#33ccff" fill-rule="evenodd" d="M12 2.75A5.25 5.25 0 0 0 6.75 8v2.004Q7.323 9.999 8 10h8c2.828 0 4.243 0 5.121.879C22 11.757 22 13.172 22 16s0 4.243-.879 5.121C20.243 22 18.828 22 16 22H8c-2.828 0-4.243 0-5.121-.879C2 20.243 2 18.828 2 16s0-4.243.879-5.121c.53-.531 1.256-.741 2.371-.824V8a6.75 6.75 0 0 1 13.287-1.687a.75.75 0 1 1-1.452.374A5.25 5.25 0 0 0 12 2.75M12.75 14a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 1.5 0z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 541 B |
BIN
.config/wlogout/icons/lock.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
1
.config/wlogout/icons/lock.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 24 24"><path fill="white" fill-rule="evenodd" d="M12 2.75A5.25 5.25 0 0 0 6.75 8v2.004Q7.323 9.999 8 10h8c2.828 0 4.243 0 5.121.879C22 11.757 22 13.172 22 16s0 4.243-.879 5.121C20.243 22 18.828 22 16 22H8c-2.828 0-4.243 0-5.121-.879C2 20.243 2 18.828 2 16s0-4.243.879-5.121c.53-.531 1.256-.741 2.371-.824V8a6.75 6.75 0 0 1 13.287-1.687a.75.75 0 1 1-1.452.374A5.25 5.25 0 0 0 12 2.75M12.75 14a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 1.5 0z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 539 B |
BIN
.config/wlogout/icons/logout.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
.config/wlogout/icons/reboot.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
.config/wlogout/icons/shutdown.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
.config/wlogout/icons/suspend.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
36
.config/wlogout/layout
Normal file
@ -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"
|
||||
}
|
||||
51
.config/wlogout/style.css
Normal file
@ -0,0 +1,51 @@
|
||||
* {
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
font-family: "Fira Sans Semibold", 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: rgba(12, 12, 12, 0.8);
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 500px;
|
||||
text-decoration-color: #FFFFFF;
|
||||
color: #FFFFFF;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 15%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button:focus, button:active, button:hover {
|
||||
color: #33CCFF;
|
||||
outline-style: none;
|
||||
font-family: "Fira Sans Bold";
|
||||
}
|
||||
|
||||
#lock {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
||||
}
|
||||
|
||||
#logout {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
|
||||
}
|
||||
|
||||
#suspend {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
|
||||
}
|
||||
|
||||
#hibernate {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
|
||||
}
|
||||
|
||||
#shutdown {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
|
||||
}
|
||||
|
||||
#reboot {
|
||||
background-image: image(url("/home/paul/.config/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
|
||||
}
|
||||