Compare commits
3 Commits
13c559beb9
...
1162095311
Author | SHA1 | Date | |
---|---|---|---|
1162095311 | |||
22c3c24df0 | |||
f258d4a043 |
@ -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": {
|
||||
|
BIN
.config/wlogout/icons/hibernate-hover.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
.config/wlogout/icons/hibernate.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
.config/wlogout/icons/lock-hover.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
.config/wlogout/icons/lock.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
.config/wlogout/icons/logout-hover.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
.config/wlogout/icons/logout.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
.config/wlogout/icons/power-hover.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
.config/wlogout/icons/power.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
.config/wlogout/icons/restart-hover.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
.config/wlogout/icons/restart.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
.config/wlogout/icons/sleep-hover.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
.config/wlogout/icons/sleep.png
Normal file
After Width: | Height: | Size: 9.8 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" : "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
@ -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"));
|
||||
}
|
@ -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
|
||||
|