[Waybar] Improve look
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
[{
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
||||
"modules-left": ["sway/workspaces"],
|
||||
"modules-right": ["pulseaudio", "memory", "cpu", "battery", "network", "custom/pacman", "clock", "tray"],
|
||||
"memory": {
|
||||
"format": "\uf538 {used:0.1f}GiB",
|
||||
"on-click": "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
@@ -14,7 +15,8 @@
|
||||
},
|
||||
"cpu": {
|
||||
"format": "\uf2db {usage}%",
|
||||
"tooltip": false
|
||||
"tooltip": false,
|
||||
"on-click": "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
@@ -35,7 +37,7 @@
|
||||
"tooltip-format": "\f6ff {ifname} via {gwaddr}",
|
||||
"format-linked": "\uf6ff {ifname} (No IP)",
|
||||
"format-disconnected": "\uf071 Disconnected",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
"on-click": "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@@ -65,7 +67,8 @@
|
||||
"available": "\uf019"
|
||||
},
|
||||
"interval": 600,
|
||||
"exec": "$HOME/.config/waybar/pacman.py '(?:^(?:linux-|sway|wl)|pipewire)' 2> /dev/null"
|
||||
"exec": "$HOME/.config/waybar/pacman.py '(?:^(?:linux-|sway|wl)|pipewire)' 2> /dev/null",
|
||||
"on-click": "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf zsh -i -c update"
|
||||
}
|
||||
}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user