Add nwg-bar config
This commit is contained in:
parent
ea21b561b7
commit
8216557c27
2 changed files with 67 additions and 0 deletions
32
etc/skel/.config/nwg-bar/bar.json
Normal file
32
etc/skel/.config/nwg-bar/bar.json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
35
etc/skel/.config/nwg-bar/style.css
Normal file
35
etc/skel/.config/nwg-bar/style.css
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue