init
This commit is contained in:
commit
90457eb573
22
bar.json
Normal file
22
bar.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "_Lock",
|
||||||
|
"exec": "hyprlock",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-lock-screen.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Logout",
|
||||||
|
"exec": "hyprctl dispatch exit",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-log-out.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "_Reboot",
|
||||||
|
"exec": "reboot",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-reboot.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "_Shutdown",
|
||||||
|
"exec": "poweroff",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
|
||||||
|
}
|
||||||
|
]
|
35
style.css
Normal file
35
style.css
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
window {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Outer bar container, takes all the window width/height */
|
||||||
|
#outer-box {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inner bar container, surrounds buttons */
|
||||||
|
#inner-box {
|
||||||
|
background-color: #232A2E;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 4px;
|
||||||
|
border-color: #343f44;
|
||||||
|
padding: 5px;
|
||||||
|
margin: 5px
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
margin: 5px
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #343f44;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user