chore(waybar): update modules
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "bottom",
|
"position": "bottom",
|
||||||
"margin": "5 5 5 5",
|
"margin": "5 5 5 5",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode", "mpris"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
@@ -41,6 +41,11 @@
|
|||||||
"format": "{}",
|
"format": "{}",
|
||||||
"on-click": "sway mode default"
|
"on-click": "sway mode default"
|
||||||
},
|
},
|
||||||
|
"mpris": {
|
||||||
|
"interval": 1,
|
||||||
|
"tooltip-format": "{title} - {artist} [{position}/{length}]",
|
||||||
|
"format": "{title}"
|
||||||
|
},
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{name} {icon}",
|
"format": "{name} {icon}",
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
@@ -94,21 +99,17 @@
|
|||||||
"custom/recorder": {
|
"custom/recorder": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "Rec ",
|
"format": "",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "echo '{\"class\": \"recording\"}'",
|
"exec": "echo '{\"class\": \"recording\"}'",
|
||||||
"exec-if": "pgrep wf-recorder",
|
"exec-if": "pgrep wf-recorder",
|
||||||
"on-click": "$HOME/.config/waybar/scripts/close-screen-recorder.sh"
|
"on-click": "$HOME/.config/waybar/scripts/close-screen-recorder.sh"
|
||||||
},
|
},
|
||||||
"custom/power": {
|
|
||||||
"tooltip": false,
|
|
||||||
"format": "⏻",
|
|
||||||
"on-click": "wlogout -b 5 -s -T 400 -B 400 -L 400 -R 400 -c 20"
|
|
||||||
},
|
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"icon-spacing": 4,
|
"icon-spacing": 4,
|
||||||
"icon-size": 18,
|
"icon-size": 18,
|
||||||
"transition-duration": 250,
|
"transition-duration": 0,
|
||||||
|
"expand": true,
|
||||||
"modules": [
|
"modules": [
|
||||||
{
|
{
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
@@ -125,6 +126,11 @@
|
|||||||
"type": "audio-in",
|
"type": "audio-in",
|
||||||
"tooltip-icon-size": 24
|
"tooltip-icon-size": 24
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
{ "type": "audio-out", "name": "spotify" },
|
||||||
|
{ "type": "audio-out", "name": "Firefox" },
|
||||||
|
{ "type": "audio-in", "name": "Firefox" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
@@ -157,7 +163,7 @@
|
|||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"device": "intel_backlight",
|
"device": "intel_backlight",
|
||||||
"format": "{percent}% {icon}",
|
"format": "{percent}% {icon}",
|
||||||
"format-icons": ["", "", "", "", "", "", ""]
|
"format-icons": ["", "", "", "", "", "", "", ""]
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
|
Reference in New Issue
Block a user