nwg-drawer and nwg-bar style and layer fix

This commit is contained in:
assada 2024-05-14 21:51:04 +03:00
parent 207eadf610
commit 235a984d6a
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@
!/cava/
!/nwg-drawer/
!/backgrounds/
!/nwgbar-icons/
# global #
__pycache__

View File

@ -9,7 +9,7 @@ set $foot ~/.config/hypr/scripts/terminal
set $screenshot grimshot --notify copy area
set $menu rofi -dmenu
set $launcher ~/.config/hypr/scripts/rofi_launcher
set $powermenu nwgbar -f
set $powermenu nwgbar -layer-shell-layer OVERLAY -layer-shell-exclusive-zone -1 -b 24273a -o 0.8
seat seat0 fallback true
seat seat0 hide_cursor when-typing enable

View File

@ -18,6 +18,7 @@
"pulseaudio",
"custom/keyboard-layout",
"temperature",
//"cpu",
"memory",
"battery",
"network",
@ -144,8 +145,8 @@
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
},
"format": " {:%a %d %b  %I:%M %p}", //12 hour format
// "format": " {:%d %m %Y  %H:%M}", //24 hour format
//"format": " {:%a %d %b  %I:%M %p}", //12 hour format
"format": " {:%d %m %Y  %H:%M}", //24 hour format
"format-alt": " {:%d/%m/%Y  %H:%M:%S}",
// //"timezones": [ "Kolkata" ],
// //"max-length": 200
@ -179,7 +180,9 @@
// "interval": 1
// },
"cpu": {
"format": "﬙ {usage: >1}%",
"interval": 10,
"format": " {}%",
"max-length": 4,
"on-click": "foot -e btop"
},
"memory": {
@ -252,7 +255,7 @@
},
"custom/power": {
"format": "󰐥",
"on-click": "nwgbar",
"on-click": "nwgbar -layer-shell-layer OVERLAY -layer-shell-exclusive-zone -1 -b 24273a -o 0.8",
"tooltip": false
},
"custom/keyboard-layout": {
@ -267,7 +270,7 @@
},
"custom/launcher": {
"format": " ",
"on-click": "exec nwg-drawer -c 7 -is 70 -spacing 23",
"on-click": "exec nwg-drawer -c 7 -is 70 -spacing 23 -ovl",
"tooltip": false
}
}