This commit is contained in:
2026-04-25 20:41:31 +02:00
parent 88c522e9d1
commit 12d3fdcaa5
26 changed files with 81 additions and 77 deletions
@@ -1,24 +0,0 @@
#!/bin/bash
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
exit 1
}
. "$HOME/.local/snippets/apply-color-helper"
for file in "$path"/icons/*.svg; do
[ -f "$file" ] || continue
sed -i -E "s/(fill=\"#)([0-9A-Fa-f]{6})(\")/\1${colorHex}\3/" "$file" || {
log_error "Failed to edit ${file}"
exit 1
}
done
file="$path"/style.css
sed -i -E "s/(border-color:\s*#)([0-9A-Fa-f]{6})(;)/\1${colorHex}\3/" "$file" || {
log_error "Failed to edit ${file}"
exit 1
}
log_success "wlogout"
@@ -1,36 +0,0 @@
{
"label": "lock",
"action": "loginctl lock-session",
"text": "Lock",
"keybind": "l"
}
{
"label": "hibernate",
"action": "systemctl hibernate",
"text": "Hibernate",
"keybind": "h"
}
{
"label": "logout",
"action": "hyprctl dispatch exit",
"text": "Logout",
"keybind": "e"
}
{
"label": "shutdown",
"action": "systemctl poweroff",
"text": "Shutdown",
"keybind": "s"
}
{
"label": "suspend",
"action": "sleep 0.1 && systemctl suspend",
"text": "Suspend",
"keybind": "u"
}
{
"label": "reboot",
"action": "systemctl reboot",
"text": "Reboot",
"keybind": "r"
}
@@ -1,120 +0,0 @@
* {
background-image: none;
font-size: 24px;
font-family: 'Sour Gummy Light';
}
window {
background-color: rgba(30, 30, 46, 0.5);
}
button {
color: #cdd6f4;
border-radius: 0;
outline-style: none;
background-color: alpha(#1e1e2e, 0.8);
border: none;
border-width: 0px;
border-radius: 0px;
border-color: #89b4fa;
box-shadow: none;
text-shadow: none;
text-decoration-color: #cdd6f4;
background-repeat: no-repeat;
background-position: center;
background-size: 20%;
animation: gradient_f 20s ease-in infinite;
}
button:focus,
button:active,
button:hover {
background-size: 20%;
background-color: alpha(#1e1e2e, 0.7);
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(0.55, 0, 0.28, 1.682);
}
#lock {
background-image: image(url('./icons/lock.svg'));
border-radius: 32px 0 0 0;
}
#logout {
background-image: image(url('./icons/logout.svg'));
}
#suspend {
background-image: image(url('./icons/suspend.svg'));
border-radius: 0 32px 0 0;
}
#hibernate {
background-image: image(url('./icons/hibernate.svg'));
border-radius: 0 0 0 32px;
}
#shutdown {
background-image: image(url('./icons/shutdown.svg'));
}
#reboot {
background-image: image(url('./icons/reboot.svg'));
border-radius: 0 0 32px 0;
}
#lock:hover {
border-radius: 30px 0 0 0;
margin: -30px 0 0 -30px;
}
#logout:hover {
margin: -30px 0 0 0;
}
#suspend:hover {
border-radius: 0 30px 0 0;
margin: -30px -30px 0 0;
}
#hibernate:hover {
border-radius: 0 0 0 30px;
margin: 0 0 -30 -30px;
}
#shutdown:hover {
margin: 0 0 -30px 0;
}
#reboot:hover {
border-radius: 0 0 30px 0;
margin: 0 -30px -30px 0;
}
#lock:focus {
border-radius: 60px 0 0 0;
margin: -60px 0 0 -60px;
}
#logout:focus {
margin: -60px 0 0 0;
}
#suspend:focus {
border-radius: 0 60px 0 0;
margin: -60px -60px 0 0;
}
#hibernate:focus {
border-radius: 0 0 0 60px;
margin: 0 0 -60 -60px;
}
#shutdown:focus {
margin: 0 0 -60px 0;
}
#reboot:focus {
border-radius: 0 0 60px 0;
margin: 0 -60px -60px 0;
}