nwg-launchers files

This commit is contained in:
Sense T 2023-06-29 10:15:06 +08:00
parent 443b35df04
commit c1d7673f42
5 changed files with 113 additions and 1 deletions

View 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"
}
]

View 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 */
}

View File

@ -0,0 +1,16 @@
box {
/* Uncomment to set vertical margin
margin-top: 30px;
margin-bottom: 30px;
*/
}
#searchbox {
/* Adjust to your taste */
}
/* Menu items */
#commands {
padding-left: 5px
}

View File

@ -0,0 +1,44 @@
button, label, image {
background: none;
border-style: none;
box-shadow: none;
color: #999;
}
button {
padding: 5px;
margin: 5px;
text-shadow: none;
}
button:hover {
background-color: rgba (255, 255, 255, 0.1);
}
button:focus {
box-shadow: 0 0 10px;
}
button:checked {
background-color: rgba (255, 255, 255, 0.1);
}
#searchbox {
background: none;
border-color: #999;
color: #ccc;
margin-top: 20px;
margin-bottom: 20px
}
#separator {
background-color: rgba(200, 200, 200, 0.5);
margin-left: 500px;
margin-right: 500px;
margin-top: 10px;
margin-bottom: 10px
}
#description {
margin-bottom: 20px
}

View File

@ -44,7 +44,7 @@
".config/ranger/rc.conf".source = ./files/ranger-rc.conf;
# nwg
#".config/nwg-launchers".source = ./files/nwg-launchers;
".config/nwg-launchers".source = ./files/nwg-launchers;
# Use flatseal to change permissions.
#".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;