nwg-launchers files

This commit is contained in:
Sense T
2023-06-29 10:15:06 +08:00
parent 443b35df04
commit c1d7673f42
5 changed files with 113 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
[
{
"name": "Lock screen",
"exec": "swaylock -f -c 000000",
"icon": "system-lock-screen"
},
{
"name": "Logout",
"exec": "swaymsg exit",
"icon": "system-log-out"
},
{
"name": "Reboot",
"exec": "systemctl reboot",
"icon": "system-reboot"
},
{
"name": "Shutdown",
"exec": "systemctl -i poweroff",
"icon": "system-shutdown"
}
]

View File

@@ -0,0 +1,30 @@
#bar {
margin: 30px /* affects top/bottom & left/right alignment */
}
button, image {
background: none;
border-style: none;
box-shadow: none;
color: #999;
text-shadow: none;
}
button {
padding-left: 10px;
padding-right: 10px;
margin: 5px;
-gtk-icon-shadow: none;
}
button:hover {
background-color: rgba (255, 255, 255, 0.1)
}
button:focus {
box-shadow: 0 0 2px;
}
grid {
/* e.g. for common background to all buttons */
}