feat(waybar): update
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
"gtk-layer-shell": true,
|
||||
"passthrough": false,
|
||||
"fixed-center": true,
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"cpu",
|
||||
"memory",
|
||||
@@ -20,7 +23,7 @@
|
||||
"battery",
|
||||
"tray",
|
||||
"custom/notification",
|
||||
"custom/power",
|
||||
"custom/power"
|
||||
],
|
||||
"mpris": {
|
||||
"format": "{cover_art} {artist} - {title}",
|
||||
@@ -36,7 +39,7 @@
|
||||
"window-rewrite": {
|
||||
"class<*>": " ",
|
||||
"class<firefox>": " ",
|
||||
"class<app.zen_browser.zen>": " " ,
|
||||
"class<app.zen_browser.zen>": " ",
|
||||
"class<kitty>": " ",
|
||||
"class<com.seafile.seafile-applet>": " ",
|
||||
"class<org.gnome.Nautilus>": " ",
|
||||
@@ -44,7 +47,8 @@
|
||||
"class<chromium-browser>": " ",
|
||||
"class<chrome-web.telegram.org__-Default>": " ",
|
||||
"class<chrome-music.youtube.com__-Default>": " "
|
||||
}
|
||||
},
|
||||
"window-rewrite-default": " "
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{title}",
|
||||
@@ -55,7 +59,6 @@
|
||||
"": " Empty Workspace"
|
||||
}
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"show-passive-items": true,
|
||||
"spacing": 10,
|
||||
@@ -96,18 +99,31 @@
|
||||
"format-muted": " muted",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"default": [" ", " ", " "],
|
||||
"default": [
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
]
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": "{icon} {capacity}%",
|
||||
"format-plugged": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", ""],
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"states": {
|
||||
"critical": 15,
|
||||
"warning": 30,
|
||||
"warning": 30
|
||||
},
|
||||
"events": {
|
||||
"on-discharging-critical": "notify-send -u critical 'Low Battery'"
|
||||
@@ -115,12 +131,12 @@
|
||||
},
|
||||
"custom/sep": {
|
||||
"format": "|",
|
||||
"tooltip": false,
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/power": {
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout -p layer-shell &",
|
||||
"format": "⏻",
|
||||
"format": "⏻"
|
||||
},
|
||||
"custom/nowplaying": {
|
||||
"exec": "~/.config/waybar/scripts/nowplaying.sh",
|
||||
@@ -142,7 +158,7 @@
|
||||
},
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"return-type": "json",
|
||||
"tooltip": false,
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
@@ -161,7 +177,12 @@
|
||||
"network": {
|
||||
"interface": "wlp1s0",
|
||||
"format": "",
|
||||
"format-icons": [" ", " ", " ", " "],
|
||||
"format-icons": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"format-wifi": "{icon} {essid}",
|
||||
"format-ethernet": " Ethernet",
|
||||
"format-disconnected": " Disconnected",
|
||||
|
||||
Reference in New Issue
Block a user