rj1
log | files | refs
commit f86b838716469208abfd6cdcabc263428971023c
parent da100123f7a99015c6ea4417b474294ddceb0f30
author: rj1 <[email protected]>
date:   Sat, 25 May 2024 17:50:54 -0600

waybar: updates to accomodate vertical display

Diffstat:
M.config/waybar/config | 305+++++++++++++++++++++++++++++++++++++++++++------------------------------------
1 file changed, 168 insertions(+), 137 deletions(-)

diff --git a/.config/waybar/config b/.config/waybar/config @@ -1,138 +1,169 @@ -{ - "position": "bottom", - "layer": "top", - "modules-left": [ - "sway/workspaces", - "sway/mode", - "custom/task" - ], - "modules-center": [ - ], - "modules-right": [ - "mpd", - "custom/recorder", - "pulseaudio", - "custom/temp", - "disk", - "clock#utc", - "clock#toronto", - "clock", - "battery" - ], - "battery": { - "format": "| bat: {capacity}% " - }, - "custom/task": { - "format": "{}", - "interval": 10, - "exec": "$XDG_CONFIG_HOME/waybar/task.sh" - }, - "clock": { - "format": "{:%a, %d %b %r} CT", - "format-alt": "{:%H:%M:%S}", - "interval": 1 - }, - "clock#toronto": { - "format": "{:%I:%M %p} ET |", - "interval": 1, - "timezone": "America/Toronto" - }, - "clock#utc": { - "format": "{:%H:%M} UTC |", - "interval": 1, - "timezone": "UTC" - }, - "network": { - "interface": "redstar", - "interval": 1, - "format-wifi": " {essid} ({signalStrength}%) {bandwidthUpBits} {bandwidthDownBits}", - "format-ethernet": "{bandwidthUpBits}  {bandwidthDownBits}  |", - "format-disconnected": "⚠ disconnected", - "tooltip-format": "{ifname}: {ipaddr}", - "tooltip": false - }, - "custom/temp": { - "exec": "$XDG_CONFIG_HOME/waybar/temp.sh", - "interval": 10 - }, - "memory": { - "interval": 5, - "format": "mem: {percentage}%" - }, - "pulseaudio": { - "format": "{volume}% {icon} | {format_source} |", - "format-muted": "muted  | {format_source} |", - "format-source": "mic on", - "format-source-muted": "mic off", - "format-icons": { - "default": [ - "", - "", - "" - ] - }, - "scroll-step": 1, - "on-click": "pactl set-sink-mute 0 toggle && pactl get-sink-volume 0", - "tooltip": false - }, - "custom/recorder": { - "format": " ", - "return-type": "json", - "interval": 1, - "exec": "echo '{\"class\": \"recording\"}'", - "exec-if": "pgrep wf-recorder" - }, - "mpd": { - "format": "{stateIcon} {artist} - {title} |", - "interval": 1, - "exec": "mpc current", - "exec-if": "pgrep mpd", - "on-click": "mpc toggle", - "escape": true, - "state-icons": { - "paused": "", - "playing": "" - }, - "tooltip": false - }, - "custom/weather": { - "format": "{}", - "tooltip": true, - "interval": 3600, - "exec": "python $HOME/.config/waybar/wttr.py", - "return-type": "json" - }, - "sway/language": { - "on-click": "swaymsg input '12815:20484:SONiX_USB_DEVICE' xkb_switch_layout next", - "format": "{short} {variant}" - }, - "custom/arrow1": { - "format": "", - "tooltip": false - }, - "custom/arrow2": { - "format": "", - "tooltip": false - }, - "custom/arrow3": { - "format": "", - "tooltip": false - }, - "custom/arrow4": { - "format": "", - "tooltip": false - }, - "custom/arrow5": { - "format": "", - "tooltip": false - }, - "custom/arrow6": { - "format": "", - "tooltip": false - }, - "disk": { - "interval": 120, - "format": " os: {free} |", - "path": "/" +[ + { + "output": "DP-2", + "position": "bottom", + "layer": "top", + "modules-left": [ + "sway/workspaces", + "sway/mode", + "custom/task" + ], + "modules-center": [], + "modules-right": [ + "custom/recorder", + "mpd", + "pulseaudio", + "custom/temp", + "memory", + "disk", + "clock#utc", + "clock#toronto", + "clock", + "battery" + ], + "custom/task": { + "format": "{}", + "interval": 10, + "exec": "$XDG_CONFIG_HOME/waybar/task.sh" + }, + "clock": { + "format": "{:%a, %d %b %r}", + "format-alt": "{:%H:%M:%S}", + "interval": 1 + }, + "clock#toronto": { + "format": "{:%I:%M %p} et |", + "interval": 1, + "timezone": "America/Toronto" + }, + "clock#utc": { + "format": "{:%H:%M} utc |", + "interval": 1, + "timezone": "UTC" + }, + "custom/temp": { + "exec": "$XDG_CONFIG_HOME/waybar/temp.sh", + "interval": 10 + }, + "memory": { + "interval": 5, + "format": " mem: {percentage}% |" + }, + "pulseaudio": { + "format": "{volume}% {icon} | {format_source} |", + "format-muted": "muted  | {format_source} |", + "format-source": "mic on", + "format-source-muted": "mic off", + "format-icons": { + "default": [ + "", + "", + "" + ] + }, + "scroll-step": 1, + "on-click": "pactl set-sink-mute 0 toggle && pactl get-sink-volume 0", + "tooltip": false + }, + "custom/recorder": { + "format": " ", + "return-type": "json", + "interval": 1, + "exec": "echo '{\"class\": \"recording\"}'", + "exec-if": "pgrep wf-recorder" + }, + "mpd": { + "format": "{stateIcon} {artist} - {title} |", + "interval": 1, + "exec": "mpc current", + "exec-if": "pgrep mpd", + "on-click": "mpc toggle", + "escape": true, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip": false + }, + "disk": { + "interval": 120, + "format": " os: {free} |", + "path": "/" + } + }, + { + "output": "DP-1", + "position": "bottom", + "layer": "top", + "modules-left": [ + "sway/workspaces", + "sway/mode", + "custom/task" + ], + "modules-center": [], + "modules-right": [ + "custom/recorder", + "pulseaudio", + "clock" + ], + "custom/task": { + "format": "{}", + "interval": 10, + "exec": "$XDG_CONFIG_HOME/waybar/task.sh" + }, + "clock": { + "format": "{:%a, %d %b %r}", + "format-alt": "{:%H:%M:%S}", + "interval": 1 + }, + "custom/temp": { + "exec": "$XDG_CONFIG_HOME/waybar/temp.sh", + "interval": 10 + }, + "memory": { + "interval": 5, + "format": "mem: {percentage}%" + }, + "pulseaudio": { + "format": "{volume}% {icon} | {format_source} |", + "format-muted": "muted  | {format_source} |", + "format-source": "mic on", + "format-source-muted": "mic off", + "format-icons": { + "default": [ + "", + "", + "" + ] + }, + "scroll-step": 1, + "on-click": "pactl set-sink-mute 0 toggle && pactl get-sink-volume 0", + "tooltip": false + }, + "custom/recorder": { + "format": " ", + "return-type": "json", + "interval": 1, + "exec": "echo '{\"class\": \"recording\"}'", + "exec-if": "pgrep wf-recorder" + }, + "mpd": { + "format": "{stateIcon} {artist} - {title} |", + "interval": 1, + "exec": "mpc current", + "exec-if": "pgrep mpd", + "on-click": "mpc toggle", + "escape": true, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip": false + }, + "disk": { + "interval": 120, + "format": " os: {free} |", + "path": "/" + } } -} +]