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/ !/cava/
!/nwg-drawer/ !/nwg-drawer/
!/backgrounds/ !/backgrounds/
!/nwgbar-icons/
# global # # global #
__pycache__ __pycache__

View File

@ -9,7 +9,7 @@ set $foot ~/.config/hypr/scripts/terminal
set $screenshot grimshot --notify copy area set $screenshot grimshot --notify copy area
set $menu rofi -dmenu set $menu rofi -dmenu
set $launcher ~/.config/hypr/scripts/rofi_launcher 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 fallback true
seat seat0 hide_cursor when-typing enable seat seat0 hide_cursor when-typing enable

View File

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