use nwg-lauchers

This commit is contained in:
kuoi 2022-06-27 01:53:51 +01:00
parent c164d3a1f5
commit bf957d4dbf
7 changed files with 111 additions and 3 deletions

View file

@ -0,0 +1,22 @@
[
{
"name": "Lock screen",
"exec": "swaylock -f -c 000000",
"icon": "system-lock-screen"
},
{
"name": "Logout",
"exec": "loginctl terminate-user $USER",
"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,28 @@
#bar {
margin: 30px /* affects top/bottom & left/right alignment */
}
button, image {
background: none;
border-style: none;
box-shadow: none;
color: #999
}
button {
padding-left: 10px;
padding-right: 10px;
margin: 5px
}
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,17 @@
box {
/* Uncomment to set vertical margin
margin-top: 30px;
margin-bottom: 30px;
*/
margin-top: 30px
}
#searchbox {
/* Adjust to your taste */
}
/* Menu items */
#commands {
padding-left: 5px
}

View file

@ -0,0 +1,39 @@
button, label, image {
background: none;
border-style: none;
box-shadow: none;
color: #999;
}
button {
padding: 5px;
margin: 5px
}
button:hover {
background-color: rgba (255, 255, 255, 0.1);
}
button:focus {
box-shadow: 0 0 2px;
}
#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

@ -0,0 +1 @@
tilix -e

View file

@ -104,8 +104,8 @@
}, },
"custom/launcher":{ "custom/launcher":{
"format": "", "format": "",
"on-click": "wofi", "on-click": "nwggrid",
"on-click-right": "killall wofi" "on-click-right": "killall nwggrid"
}, },
"custom/update":{ "custom/update":{
"format": "", "format": "",

View file

@ -202,7 +202,8 @@ command_lock = swaylock -C $HOME/.config/swaylock/conig
# Logout # Logout
# https://github.com/ArtsyMacaw/wlogout # https://github.com/ArtsyMacaw/wlogout
binding_logout = <super> KEY_ESC binding_logout = <super> KEY_ESC
command_logout = wlogout -p xdg command_logout = nwgbar
# command_logout = wlogout -p xdg
# Screenshots # Screenshots
# https://wayland.emersion.fr/grim/ # https://wayland.emersion.fr/grim/