🗑️ remove(waybar): not used modules for each output

This commit is contained in:
Sergio Laín 2023-11-12 14:24:47 +01:00
parent b200e2c765
commit 08960ee60f
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -36,15 +36,6 @@
"on-click": "exec $HOME/.config/hypr/scripts/rofi/recording", "on-click": "exec $HOME/.config/hypr/scripts/rofi/recording",
"signal": 8 "signal": 8
}, },
"hyprland/window": {
"format": "{}",
"max-length": 50,
"rewrite": {
"(.*) — LibreWolf": "🌎 $1",
"(.*) - fish": "> [$1]"
},
"separate-outputs": false
},
"custom/updates": { "custom/updates": {
"format": "{} {icon}", "format": "{} {icon}",
"return-type": "json", "return-type": "json",
@ -132,25 +123,12 @@
"on-click": "activate", "on-click": "activate",
"sort-by-number": true "sort-by-number": true
}, },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/language": { "hyprland/language": {
"format": "{}", "format": "{}",
"format-en": " US", "format-en": " US",
"format-es": " ES", "format-es": " ES",
"on-click": "hyprctl switchxkblayout evision-usb-device next" "on-click": "hyprctl switchxkblayout evision-usb-device next"
}, },
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " "
}
},
"tray": {
"spacing": 10
},
"clock": { "clock": {
"tooltip-format": "<tt><small>{calendar}</small></tt>", "tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": { "calendar": {
@ -178,66 +156,6 @@
"on-scroll-down": "shift_down" "on-scroll-down": "shift_down"
} }
}, },
"cpu": {
"on-click": "kitty btop",
"format": "{usage}%  ",
"tooltip": false,
"interval": 2
},
"memory": {
"format": "{}%  ",
"on-click": "kitty btop",
"tooltip": true,
"interval": 2
},
"temperature": {
"critical-threshold": 80,
"format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": [
"",
"",
""
],
"tooltip": true,
"on-click": "kitty btop",
"interval": 2
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
" ",
" "
],
"on-scroll-up": "light -A 1",
"on-scroll-down": "light -U 1"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"tooltip-format": "{timeTo}, {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " ",
"format-alt": "{time} {icon}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
"format-wifi": "直 ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}  ",
"format-linked": "{ifname} (No IP)  ",
"format-disconnected": "睊 ",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{essid} {signalStrength}%"
},
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume}% {format_source}", "format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}% {format_source}",
@ -303,12 +221,6 @@
"on-click": "playerctl --player=spotify play-pause", "on-click": "playerctl --player=spotify play-pause",
"on-scroll-up": "playerctl --player=spotify next", "on-scroll-up": "playerctl --player=spotify next",
"on-scroll-down": "playerctl --player=spotify previous" "on-scroll-down": "playerctl --player=spotify previous"
},
"custom/fans": {
"format": "{}",
"exec": "$HOME/.config/waybar/scripts/fans.sh",
"escape": true,
"restart-interval": 10
} }
}, },
{ {
@ -336,12 +248,6 @@
"on-click": "wleave", "on-click": "wleave",
"on-click-right": "wleave" "on-click-right": "wleave"
}, },
"custom/weather": {
"exec": "python3 ~/.config/waybar/scripts/weather.py",
"restart-interval": 300,
"return-type": "json",
"on-click": "xdg-open https://www.eltiempo.es/alicante.html"
},
"custom/notifications": { "custom/notifications": {
"tooltip": false, "tooltip": false,
"format": "{} {icon}", "format": "{} {icon}",
@ -405,19 +311,6 @@
"on-click": "activate", "on-click": "activate",
"sort-by-number": true "sort-by-number": true
}, },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/language": {
"format": "{short} ⠀⠀"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " "
}
},
"tray": { "tray": {
"spacing": 10 "spacing": 10
}, },
@ -445,120 +338,15 @@
"on-scroll-up": "shift_up", "on-scroll-up": "shift_up",
"on-scroll-down": "shift_down" "on-scroll-down": "shift_down"
} }
},
"cpu": {
"on-click": "kitty btop",
"format": "{usage}%  ",
"tooltip": false,
"interval": 2
},
"memory": {
"format": "{}%  ",
"on-click": "kitty btop",
"tooltip": true,
"interval": 2
},
"temperature": {
"critical-threshold": 80,
"format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": [
"",
"",
""
],
"tooltip": true,
"on-click": "kitty btop",
"interval": 2
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
" ",
" "
],
"on-scroll-up": "light -A 1",
"on-scroll-down": "light -U 1"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"tooltip-format": "{timeTo}, {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " ",
"format-alt": "{time} {icon}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
"format-wifi": "直 ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}  ",
"format-linked": "{ifname} (No IP)  ",
"format-disconnected": "睊 ",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{essid} {signalStrength}%"
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": "  {volume}% {format_source}",
"format-muted": " {format_source}",
"format-source": " ",
"format-source-muted": " ",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [
" ",
" ",
" "
]
},
"tooltip-format": "{desc}, {volume}%",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
"on-click-middle": "easyeffects"
},
"custom/music": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 100,
"format-icons": {
"spotify": " ",
"default": " "
},
"escape": true,
"exec": "$HOME/.config/waybar/scripts/mediaplayer.py 2> /dev/null",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"custom/fans": {
"format": "{}",
"exec": "$HOME/.config/waybar/scripts/fans.sh",
"escape": true,
"restart-interval": 10
} }
}, },
{ {
"height": 50, "height": 50,
"position": "bottom",
"layer": "top", "layer": "top",
"output": "DP-3", "output": "DP-3",
"margin-top": 10,
"margin-left": 17, "margin-left": 17,
"margin-bottom": 0, "margin-bottom": 10,
"margin-right": 17, "margin-right": 17,
"modules-left": [ "modules-left": [
"custom/arch", "custom/arch",
@ -591,12 +379,6 @@
"on-click": "wleave", "on-click": "wleave",
"on-click-right": "wleave" "on-click-right": "wleave"
}, },
"custom/weather": {
"exec": "python3 ~/.config/waybar/scripts/weather.py",
"restart-interval": 300,
"return-type": "json",
"on-click": "xdg-open https://www.eltiempo.es/alicante.html"
},
"custom/notifications": { "custom/notifications": {
"tooltip": false, "tooltip": false,
"format": "{} {icon}", "format": "{} {icon}",
@ -661,27 +443,6 @@
"on-click": "activate", "on-click": "activate",
"sort-by-number": true "sort-by-number": true
}, },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/language": {
"format": "{short} ⠀⠀"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " "
}
},
"tray": {
"spacing": 10
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}  ",
"format-alt": "{:%A, %B %d, %Y}  "
},
"cpu": { "cpu": {
"on-click": "kitty --class center-float btop", "on-click": "kitty --class center-float btop",
"format": "CPU: {usage}%", "format": "CPU: {usage}%",
@ -721,86 +482,6 @@
"format": " {}°C", "format": " {}°C",
"return-type": "", "return-type": "",
"interval": 2 "interval": 2
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
" ",
" "
],
"on-scroll-up": "light -A 1",
"on-scroll-down": "light -U 1"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"tooltip-format": "{timeTo}, {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " ",
"format-alt": "{time} {icon}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
"format-wifi": "直 ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}  ",
"format-linked": "{ifname} (No IP)  ",
"format-disconnected": "睊 ",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{essid} {signalStrength}%"
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": "  {volume}% {format_source}",
"format-muted": " {format_source}",
"format-source": " ",
"format-source-muted": " ",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": [
" ",
" ",
" "
]
},
"tooltip-format": "{desc}, {volume}%",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
"on-click-middle": "easyeffects"
},
"custom/music": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 100,
"format-icons": {
"spotify": " ",
"default": " "
},
"escape": true,
"exec": "$HOME/.config/waybar/scripts/mediaplayer.py 2> /dev/null",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"custom/fans": {
"format": "{}",
"exec": "$HOME/.config/waybar/scripts/fans.sh",
"escape": true,
"restart-interval": 10
} }
} }
] ]