Add nwg-bar config

This commit is contained in:
Aleksey Samoilov 2023-06-04 21:22:35 +04:00
parent ea21b561b7
commit 8216557c27
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,32 @@
[
{
"label": "Lock",
"exec": "swaymsg exec ~/.config/swaylock/lock.sh",
"icon": "system-lock-screen"
},
{
"label": "Logout",
"exec": "swaymsg exit",
"icon": "system-log-out"
},
{
"label": "Suspend",
"exec": "systemctl suspend",
"icon": "system-suspend"
},
{
"label": "Hibernate",
"exec": "systemctl hibernate",
"icon": "system-hibernate"
},
{
"label": "Reboot",
"exec": "systemctl reboot",
"icon": "system-reboot"
},
{
"label": "Shutdown",
"exec": "systemctl -i poweroff",
"icon": "system-shutdown"
}
]

View file

@ -0,0 +1,35 @@
window {
background-color: rgba (0, 0, 0, 0.0)
}
/* Outer bar container, takes all the window width/height */
#outer-box {
margin: 0px
}
/* Inner bar container, surrounds buttons */
#inner-box {
background-color: @theme_bg_color;
border-radius: 4px;
border-style: solid;
border-width: 2px;
border-color: @theme_selected_bg_color;
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: @theme_selected_bg_color
}