Replaced nwggrid with nwg-drawer
This commit is contained in:
parent
f197ab6a4b
commit
cc422c3ce6
6 changed files with 48 additions and 3 deletions
|
@ -25,4 +25,5 @@ foot -s >/dev/null 2>&1 &
|
||||||
waybar -c ~/.config/waybar/labwc >/dev/null 2>&1 &
|
waybar -c ~/.config/waybar/labwc >/dev/null 2>&1 &
|
||||||
|
|
||||||
# Drawer
|
# Drawer
|
||||||
nwggrid-server -layer-shell-layer OVERLAY 2>&1 &
|
#nwggrid-server -layer-shell-layer OVERLAY 2>&1 &
|
||||||
|
nwg-drawer -r -ovl -nofs -term footclient -pbexit "pkill labwc" -pblock "swaylock -c 111111" -pbpoweroff "poweroff" -pbreboot "reboot" -pbsleep "systemctl suspend" -pbuseicontheme 2>&1 &
|
||||||
|
|
|
@ -20,7 +20,10 @@
|
||||||
</menu>
|
</menu>
|
||||||
<menu id="root-menu" label="">
|
<menu id="root-menu" label="">
|
||||||
<item label="Open Drawer">
|
<item label="Open Drawer">
|
||||||
|
<!--
|
||||||
<action name="Execute"><command>nwggrid -client</command></action>
|
<action name="Execute"><command>nwggrid -client</command></action>
|
||||||
|
-->
|
||||||
|
<action name="Execute"><command>nwg-drawer -open</command></action>
|
||||||
</item>
|
</item>
|
||||||
<item label="Open Run Menu">
|
<item label="Open Run Menu">
|
||||||
<action name="Execute"><command>bemenu-run</command></action>
|
<action name="Execute"><command>bemenu-run</command></action>
|
||||||
|
|
|
@ -35,9 +35,15 @@
|
||||||
<action name="Execute"><command>footclient</command></action>
|
<action name="Execute"><command>footclient</command></action>
|
||||||
</keybind>
|
</keybind>
|
||||||
|
|
||||||
|
<!--
|
||||||
<keybind key="W-d">
|
<keybind key="W-d">
|
||||||
<action name="Execute"><command>nwggrid</command></action>
|
<action name="Execute"><command>nwggrid</command></action>
|
||||||
</keybind>
|
</keybind>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<keybind key="W-d">
|
||||||
|
<action name="Execute"><command>nwg-drawer -open</command></action>
|
||||||
|
</keybind>
|
||||||
|
|
||||||
<keybind key="W-r">
|
<keybind key="W-r">
|
||||||
<action name="Execute"><command>bemenu-run</command></action>
|
<action name="Execute"><command>bemenu-run</command></action>
|
||||||
|
|
34
airootfs/etc/skel/.config/nwg-drawer/drawer.css
Normal file
34
airootfs/etc/skel/.config/nwg-drawer/drawer.css
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
window {
|
||||||
|
background-color: rgba (24, 24, 24, 0.95);
|
||||||
|
color: #eeeeee
|
||||||
|
}
|
||||||
|
|
||||||
|
/* search entry */
|
||||||
|
entry {
|
||||||
|
background-color: rgba (0, 0, 0, 0.2)
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border: none
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba (255, 255, 255, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* in case you wanted to give category buttons a different look */
|
||||||
|
#category-button {
|
||||||
|
margin: 0 10px 0 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
#pinned-box {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-bottom: 1px dotted gray
|
||||||
|
}
|
||||||
|
|
||||||
|
#files-box {
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px dotted gray;
|
||||||
|
border-radius: 15px
|
||||||
|
}
|
|
@ -167,7 +167,8 @@
|
||||||
|
|
||||||
"custom/drawer": {
|
"custom/drawer": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "nwggrid -client",
|
//"on-click": "nwggrid -client",
|
||||||
|
"on-click": "nwg-drawer -open",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -197,7 +197,7 @@ nwg-panel
|
||||||
nwg-bar
|
nwg-bar
|
||||||
swaybg
|
swaybg
|
||||||
nwg-menu
|
nwg-menu
|
||||||
nwg-launchers
|
nwg-drawer
|
||||||
cliphist
|
cliphist
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wl-clipboard-x11
|
wl-clipboard-x11
|
||||||
|
|
Loading…
Reference in a new issue