nwg-launchers files
This commit is contained in:
22
home/user/files/nwg-launchers/nwgbar/bar.json
Normal file
22
home/user/files/nwg-launchers/nwgbar/bar.json
Normal 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"
|
||||
}
|
||||
]
|
30
home/user/files/nwg-launchers/nwgbar/style.css
Normal file
30
home/user/files/nwg-launchers/nwgbar/style.css
Normal 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 */
|
||||
}
|
Reference in New Issue
Block a user