waybar fix
This commit is contained in:
@@ -0,0 +1,304 @@
|
||||
{
|
||||
"group/left" : {
|
||||
"orientation": "horizontal",
|
||||
"modules" : [
|
||||
"mango/workspaces",
|
||||
"mpris"
|
||||
]
|
||||
},
|
||||
|
||||
"group/left-hidden" : {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": false,
|
||||
"click-to-reveal": true
|
||||
},
|
||||
"modules" : [
|
||||
"custom/arrow-right", "battery", "cpu", "load"
|
||||
]
|
||||
},
|
||||
|
||||
"group/left-hidden-top" : {
|
||||
"orientation": "horizontal",
|
||||
"modules" : [ "power-profiles-daemon", "group/left-hidden" ]
|
||||
},
|
||||
|
||||
"group/right" : {
|
||||
"orientation": "horizontal",
|
||||
"modules" : [
|
||||
"bluetooth", "group/group-volume", "group/group-backlight", "network", "tray"
|
||||
]
|
||||
},
|
||||
|
||||
"group/right-hidden" : {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": true,
|
||||
"click-to-reveal": true
|
||||
},
|
||||
"modules" : [
|
||||
"custom/arrow-left", "memory", "temperature"
|
||||
]
|
||||
},
|
||||
|
||||
"group/right-hidden-top" : {
|
||||
"orientation": "horizontal",
|
||||
"modules" : [ "group/right-hidden", "custom/ctlcenter" ]
|
||||
},
|
||||
|
||||
"mango/workspaces": {
|
||||
"format": "{icon}",
|
||||
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": "",
|
||||
"empty": ""
|
||||
},
|
||||
|
||||
"num-tags": 5,
|
||||
"on-click": "activate",
|
||||
"overview-label": ""
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 30,
|
||||
"format":" {usage}%",
|
||||
"cursor": true,
|
||||
"states": {
|
||||
"warning": 80,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"tray" : {
|
||||
"icon-size": 13,
|
||||
"spacing": 12,
|
||||
"cursor": true
|
||||
},
|
||||
|
||||
"load": {
|
||||
"interval": 30,
|
||||
"format": " {load1}%",
|
||||
"cursor": true
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G",
|
||||
"states": {
|
||||
"warning": 80,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"interval": 10,
|
||||
"format": "{icon} {temperatureC}°",
|
||||
"critical-threshold": 90,
|
||||
"format-icons": ["","","","",""]
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"scroll-step" : 2,
|
||||
"format": "{icon}",
|
||||
"tooltip-format" : "{percent}%",
|
||||
"format-icons": [ "", "", "", "" ]
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": "{icon}",
|
||||
"tooltip-format": "{volume}%",
|
||||
"format-muted": "<span size='9.5pt'></span>",
|
||||
"scroll-step": 2,
|
||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"<span size='9.5pt'></span>",
|
||||
"<span size='9.5pt'></span>",
|
||||
"<span size='9.5pt'></span>",
|
||||
"<span size='9.5pt'></span>"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio/slider": {
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"cursor": true,
|
||||
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4"
|
||||
},
|
||||
|
||||
"backlight/slider": {
|
||||
"min": 5,
|
||||
"max": 100,
|
||||
"cursor": true
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 10,
|
||||
"format-disabled": "",
|
||||
"format-disconnected": "",
|
||||
"format-wifi": "",
|
||||
"format-ethernet": "",
|
||||
"tooltip-format": "{essid}\n\nFrequency: {frequency}GHz\nStrength: {signalStrength}%\n\n{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"tooltip-format-ethernet": "{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"tooltip-format-disconnected": "No network connection!",
|
||||
"tooltip-format-disabled": "No network connection!",
|
||||
"on-click": "[[ $(nmcli radio wifi) == enabled ]] && nmcli radio wifi off || nmcli radio wifi on",
|
||||
"menu": "on-click-right",
|
||||
"menu-file": "~/.config/waybar/context/network.xml",
|
||||
"menu-actions": {
|
||||
"action-1": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/wifi &",
|
||||
"action-2": "mmsg dispatch spawn, alacritty -e nmtui",
|
||||
"action-3": "mmsg dispatch spawn, nm-connection-editor"
|
||||
}
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "{}",
|
||||
"format-on": "",
|
||||
"format-off": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "{device_alias}",
|
||||
"format-connected-battery": "{device_alias}",
|
||||
"tooltip-format": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias} {device_battery_percentage}%",
|
||||
"on-click": "~/.local/bin/toggle_bluetooth &",
|
||||
"on-click-right": "mmsg dispatch spawn, blueman-manager"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 20,
|
||||
"full-at": 100,
|
||||
"tooltip": true,
|
||||
"format-full": "",
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-time": "{H}:{M:02}",
|
||||
"format-charging": " {capacity}% ({time})",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"timezone": "America/Toronto",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%H:%M %d %B %Y}",
|
||||
"on-click-right": "mmsg dispatch spawn, alacritty --class=Alacritty-Floating-Peaclock -e peaclock",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"weeks-pos": "right",
|
||||
"mode-mon-col": 3,
|
||||
"format": {
|
||||
"months": "<span color='#acb0d0'><b>{}</b></span>",
|
||||
"weeks": "<span color='#7aa2f7'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#e0af68'><b>{}</b></span>",
|
||||
"days": "<span color='#acb0d0'><b>{}</b></span>",
|
||||
"today": "<span color='#41a6b5'><b><u>{}</u></b></span>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"mpris": {
|
||||
"format": "{artist} - {title}",
|
||||
"tooltip-format" : "{album}",
|
||||
"format-paused": " {artist} - {title}",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl previous",
|
||||
"on-scroll-down": "playerctl next",
|
||||
"max-length": 45
|
||||
},
|
||||
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}",
|
||||
"format-icons": {
|
||||
"performance": "",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
}
|
||||
},
|
||||
|
||||
"custom/start": {
|
||||
"format": "",
|
||||
"on-click": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/drun &"
|
||||
},
|
||||
|
||||
"custom/ctlcenter" : {
|
||||
"tooltip" : false,
|
||||
"format" : "",
|
||||
"on-click" : "swaync-client -t",
|
||||
"menu": "on-click-right",
|
||||
"menu-file": "~/.config/waybar/context/ctlcenter.xml",
|
||||
"menu-actions": {
|
||||
"action-1-1": "mmsg dispatch spawn, alacritty -e htop",
|
||||
"action-1-2": "mmsg dispatch spawn, alacritty -e nvtop",
|
||||
"action-1-3": "mmsg dispatch spawn, alacritty -e pkexec powertop",
|
||||
"action-1-4": "mmsg dispatch spawn, missioncenter",
|
||||
|
||||
"action-2-1": "mmsg dispatch spawn, nwg-look",
|
||||
"action-2-2": "mmsg dispatch spawn, qt6ct",
|
||||
"action-2-3": "mmsg dispatch spawn, kvantummanager",
|
||||
|
||||
|
||||
"action-3-1": "~/.local/bin/refreshrate 60",
|
||||
"action-3-2": "~/.local/bin/refreshrate 90",
|
||||
"action-3-3": "~/.local/bin/refreshrate 144",
|
||||
|
||||
"action-4-1": "~/.local/bin/caffeine shutdown",
|
||||
"action-4-2": "~/.local/bin/caffeine handle-lid-switch",
|
||||
|
||||
"action-5": "~/.local/bin/powersafe",
|
||||
"action-6": "mmsg dispatch reload_config"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/arrow-left": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"cursor": true
|
||||
},
|
||||
|
||||
"custom/arrow-right": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"cursor": true
|
||||
},
|
||||
|
||||
"group/group-volume": {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 600,
|
||||
"transition-left-to-right": true,
|
||||
"reveal-delay": 450
|
||||
},
|
||||
"modules" : [
|
||||
"pulseaudio", "pulseaudio/slider"
|
||||
]
|
||||
},
|
||||
|
||||
"group/group-backlight": {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 600,
|
||||
"transition-left-to-right": true,
|
||||
"reveal-delay": 450
|
||||
},
|
||||
"modules" : [
|
||||
"backlight", "backlight/slider"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user