Compare commits

...

3 Commits

Author SHA1 Message Date
1162095311
chore: add wlogout config 2025-05-15 08:09:50 +02:00
22c3c24df0
chore(waybar): update waybar config 2025-05-15 08:09:38 +02:00
f258d4a043
chore(starship): update config 2025-05-15 08:07:44 +02:00
16 changed files with 102 additions and 7 deletions

View File

@ -54,6 +54,16 @@
"format": "{}"
},
"hyprland/workspaces": {
"format": "{name} {icon}",
"disable-scroll": true,
"format-icons": {
"urgent": "",
"active": "",
"default": ""
}
},
"clock": {
"tooltip": true,
"timezones": ["Europe/Rome"],
@ -109,7 +119,7 @@
"custom/power": {
"tooltip": false,
"format": "⏻",
"on-click": "wlogout"
"on-click": "wlogout -b 5 -s -T 400 -B 400 -L 400 -R 400 -c 20"
},
"privacy": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

36
.config/wlogout/layout Normal file
View 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" : "suspend",
"action" : "systemctl suspend",
"text" : "suspend",
"keybind" : "u"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}

52
.config/wlogout/style.css Normal file
View File

@ -0,0 +1,52 @@
* {
background-image: none;
box-shadow: none;
}
window {
background-color: rgba(24, 27, 32, 0.5);
}
button {
background-repeat: no-repeat;
background-size: 20%;
background-color: transparent;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s ease-in;
box-shadow: 0 0 10px 2px transparent;
border-radius: 36px;
margin: 10px;
}
button:hover {
background-size: 50%;
box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.4);
background-color: #383c4a;
color: transparent;
transition: all 0.3s cubic-bezier(0.55, 0.0, 0.28, 1.682), box-shadow 0.5s
ease-in;
}
#lock {
background-image: image(url("./icons/lock.png"));
}
#logout {
background-image: image(url("./icons/logout.png"));
}
#suspend {
background-image: image(url("./icons/sleep.png"));
}
#hibernate {
background-image: image(url("./icons/hibernate.png"));
}
#shutdown {
background-image: image(url("./icons/power.png"));
}
#reboot {
background-image: image(url("./icons/restart.png"));
}

View File

@ -1,7 +1,8 @@
"$schema" = 'https://starship.rs/config-schema.json'
[aws]
symbol = '☁️ '
disabled = true
symbol = '☁️ '
[directory]
truncate_to_repo = false
@ -13,12 +14,8 @@
[os]
disabled = false
[localip]
disabled = false
ssh_only = false
[time]
disabled = false
disabled = true
[username]
show_always = true