style(hypr): update hyprlock config

This commit is contained in:
2026-02-23 00:24:33 +01:00
parent 5f5f338661
commit ac9c0798d1
10 changed files with 91 additions and 1 deletions

View File

@@ -48,6 +48,17 @@ label {
valign = center valign = center
} }
# BATTERY
label {
monitor =
text = cmd[update:30000] echo "󰁹 $(cat /sys/class/power_supply/BAT1/capacity)%"
font_family = Lexend
font_size = 14
position = -100, 100
halign = right
valign = bottom
}
input-field { input-field {
monitor = monitor =
size = 300, 50 size = 300, 50

View File

@@ -123,7 +123,7 @@
"warning": 30, "warning": 30,
}, },
"events": { "events": {
"on-dischargin-critical": "notify-send -u critical 'Low Battery'" "on-discharging-critical": "notify-send -u critical 'Low Battery'"
} }
}, },
"custom/sep": { "custom/sep": {

BIN
wlogout/icons/hibernate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
wlogout/icons/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
wlogout/icons/logout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
wlogout/icons/reboot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
wlogout/icons/shutdown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
wlogout/icons/suspend.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

36
wlogout/layout Normal file
View File

@@ -0,0 +1,36 @@
{
"label" : "lock",
"action" : "hyprlock",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "logout",
"action" : "hyprctl dispatch exit",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}

43
wlogout/style.css Normal file
View File

@@ -0,0 +1,43 @@
window {
font-family: "Lexend";
font-size: 12pt;
color: #cdd6f4;
background-color: rgba(30, 30, 46, 0.9);
}
button {
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
border-style: solid;
border-width: 3px;
background-color: rgba(12, 12, 12, 0.3);
border-color: #313244;
margin: 5px;
border-radius: 20px;
transition: all 0.3s ease-in-out;
}
#lock {
background-image: image(url("icons/lock.png"));
}
#logout {
background-image: image(url("icons/logout.png"));
}
#suspend {
background-image: image(url("icons/suspend.png"));
}
#hibernate {
background-image: image(url("icons/hibernate.png"));
}
#reboot {
background-image: image(url("icons/reboot.png"));
}
#shutdown {
background-image: image(url("icons/shutdown.png"));
}