Add .config/waybar/config.jsonc
Add .config/waybar/style.css
This commit is contained in:
parent
4186c5244a
commit
d2a9adc7dd
2 changed files with 269 additions and 0 deletions
189
private_dot_config/waybar/config.jsonc
Normal file
189
private_dot_config/waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
{
|
||||
"reload_style_on_change": true,
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 3,
|
||||
"height": 26,
|
||||
"modules-left": [
|
||||
"clock",
|
||||
"custom/update",
|
||||
"custom/screenrecording-indicator",
|
||||
"custom/do-not-disturb-indicator"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"network",
|
||||
"memory",
|
||||
"cpu",
|
||||
"pulseaudio",
|
||||
"battery"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"active-only": false,
|
||||
"all-outputs": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"active": "",
|
||||
"visible": "",
|
||||
"empty": "◦"
|
||||
}
|
||||
},
|
||||
"custom/update": {
|
||||
"format": "",
|
||||
"exec": "omarchy-update-available",
|
||||
"on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update",
|
||||
"tooltip-format": "Omarchy update available",
|
||||
"signal": 7,
|
||||
"interval": 3600
|
||||
},
|
||||
"custom/do-not-disturb-indicator": {
|
||||
"on-click": "makoctl mode -t do-not-disturb && notify-send 'Enabled notificaitons'",
|
||||
"exec": "$OMARCHY_PATH/default/waybar/indicators/do-not-disturb.sh",
|
||||
"signal": 9,
|
||||
"return-type": "json"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": "MEM {percentage}"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "CPU {usage}",
|
||||
"on-click": "$TERMINAL -e btop"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:L%A %H:%M}",
|
||||
"format-alt": "{:L%d %B W%V %Y}",
|
||||
"tooltip": false,
|
||||
"on-click-right": "omarchy-cmd-tzupdate"
|
||||
},
|
||||
"network": {
|
||||
"interface": "wl*",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format": "NET {signalStrength}",
|
||||
"format-wifi": "NET {signalStrength}",
|
||||
"format-ethernet": "WIRED",
|
||||
"format-disconnected": "DSCNNCTED",
|
||||
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"interval": 3,
|
||||
"spacing": 1,
|
||||
"on-click": "omarchy-launch-wifi"
|
||||
},
|
||||
"disk": {
|
||||
"format": "DSK {percentage_used}"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon}",
|
||||
"format-discharging": "{icon}",
|
||||
"format-charging": "{icon}",
|
||||
"format-plugged": "=== AC ===",
|
||||
"format-icons": {
|
||||
"charging": [
|
||||
"+---------",
|
||||
"=+--------",
|
||||
"==+-------",
|
||||
"===+------",
|
||||
"====+-----",
|
||||
"=====+----",
|
||||
"======+---",
|
||||
"=======+--",
|
||||
"========+-",
|
||||
"=========+",
|
||||
"=========="
|
||||
],
|
||||
"default": [
|
||||
"----------",
|
||||
"=---------",
|
||||
"==--------",
|
||||
"===-------",
|
||||
"====------",
|
||||
"=====-----",
|
||||
"======----",
|
||||
"=======---",
|
||||
"========--",
|
||||
"=========-",
|
||||
"=========="
|
||||
]
|
||||
},
|
||||
"format-full": "== FULL ==",
|
||||
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
|
||||
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
|
||||
"interval": 5,
|
||||
"on-click": "omarchy-menu power",
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"on-click": "$TERMINAL --class=Wiremix -e wiremix",
|
||||
"on-click-right": "pamixer -t",
|
||||
"tooltip-format": "Playing at {volume}%",
|
||||
"scroll-step": 2,
|
||||
"format-muted": "---mute---",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"----------",
|
||||
"=---------",
|
||||
"==--------",
|
||||
"===-------",
|
||||
"====------",
|
||||
"=====-----",
|
||||
"======----",
|
||||
"=======---",
|
||||
"========--",
|
||||
"=========-",
|
||||
"=========="
|
||||
]
|
||||
}
|
||||
},
|
||||
"group/tray-expander": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 600,
|
||||
"children-class": "tray-group-item"
|
||||
},
|
||||
"modules": [
|
||||
"custom/expand-icon",
|
||||
"bluetooth",
|
||||
"tray"
|
||||
]
|
||||
},
|
||||
"custom/expand-icon": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "BLU",
|
||||
"tooltip-format": "Devices connected: {num_connections}",
|
||||
"on-click": "blueberry"
|
||||
},
|
||||
"custom/screenrecording-indicator": {
|
||||
"on-click": "omarchy-cmd-screenrecord",
|
||||
"exec": "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh",
|
||||
"signal": 8,
|
||||
"return-type": "json"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 12,
|
||||
"show-passive-items": false,
|
||||
"icons": {
|
||||
"Input Method": "bluetooth"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue