nwgbar style

This commit is contained in:
assada 2024-05-14 21:51:51 +03:00
parent f3de8024ce
commit 5a1f47bad4
2 changed files with 27 additions and 27 deletions

View File

@ -2,21 +2,21 @@
{ {
"name": "Lock screen", "name": "Lock screen",
"exec": "swaylock -f -c 000000", "exec": "swaylock -f -c 000000",
"icon": "system-lock-screen" "icon": "/usr/share/nwg-launchers/nwgbar/images/lock.svg"
}, },
{ {
"name": "Logout", "name": "Logout",
"exec": "swaymsg exit", "exec": "swaymsg exit",
"icon": "system-log-out" "icon": "/usr/share/nwg-launchers/nwgbar/images/logout.svg"
}, },
{ {
"name": "Reboot", "name": "Reboot",
"exec": "systemctl reboot", "exec": "systemctl reboot",
"icon": "system-reboot" "icon": "/usr/share/nwg-launchers/nwgbar/images/reboot.svg"
}, },
{ {
"name": "Shutdown", "name": "Shutdown",
"exec": "systemctl -i poweroff", "exec": "systemctl -i poweroff",
"icon": "system-shutdown" "icon": "/usr/share/nwg-launchers/nwgbar/images/shutdown.svg"
} }
] ]

View File

@ -1,46 +1,46 @@
#bar { #bar {
margin: 30px; /* affects top/bottom & left/right alignment */ margin: 30px; /* affects top/bottom & left/right alignment */
font-size: 24px; font-size: 24px;
font-family: Product Sans; font-family: Product Sans;
} }
button, image { button,
border-radius: 25px; image {
box-shadow: none; border-radius: 25px;
color: white; box-shadow: none;
color: #cad3f5;
} }
image { image {
margin-bottom: 20px; margin-bottom: 20px;
} }
button { button {
/* padding-top: 10px; /* padding-top: 10px;
margin: 5px */ margin: 5px */
padding: 100px 80px; padding: 50px 40px;
margin: 20px; margin: 20px;
background: #24273a; background: #24273a;
} }
button:hover { button:hover {
background-color: #b7bdf8; background-color: #b7bdf8;
color: #24273a; color: #24273a;
} }
button:focus { button:focus {
/* background-color: rgba(0, 0, 0, 0.5); */ /* background-color: rgba(0, 0, 0, 0.5); */
background-color: #b7bdf8; background-color: #b7bdf8;
color: #24273a; color: #24273a;
} }
grid { grid {
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
/* box-shadow: 0 0 5px black; */ /* box-shadow: 0 0 5px black; */
/* e.g. for common background to all buttons */ /* e.g. for common background to all buttons */
} }
window { window {
background-color: rgba (0, 0, 0, 0); background-color: rgba(36, 39, 58, 0);
} }