Update .config/waybar/config.jsonc
Update .config/waybar/style.css
This commit is contained in:
parent
d366717f16
commit
51eb8fda72
2 changed files with 7 additions and 63 deletions
|
|
@ -2,27 +2,22 @@
|
||||||
"reload_style_on_change": true,
|
"reload_style_on_change": true,
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"spacing": 3,
|
"spacing": 2,
|
||||||
"height": 26,
|
"height": 15,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"clock",
|
"clock",
|
||||||
"custom/update",
|
|
||||||
"custom/screenrecording-indicator",
|
|
||||||
"custom/do-not-disturb-indicator"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"hyprland/workspaces"
|
"niri/workspaces"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
|
"bluetooth",
|
||||||
"network",
|
"network",
|
||||||
"memory",
|
|
||||||
"cpu",
|
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"battery"
|
"battery"
|
||||||
],
|
],
|
||||||
"hyprland/workspaces": {
|
"niri/workspaces": {
|
||||||
"on-click": "activate",
|
|
||||||
"active-only": false,
|
"active-only": false,
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
|
|
@ -33,34 +28,10 @@
|
||||||
"empty": "◦"
|
"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": {
|
"clock": {
|
||||||
"format": "{:L%A %H:%M}",
|
"format": "{:L%A %H:%M}",
|
||||||
"format-alt": "{:L%d %B W%V %Y}",
|
"format-alt": "{:L%d %B W%V %Y}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click-right": "omarchy-cmd-tzupdate"
|
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "wl*",
|
"interface": "wl*",
|
||||||
|
|
@ -71,8 +42,8 @@
|
||||||
"",
|
"",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"format": "NET {signalStrength}",
|
"format": "{icon}",
|
||||||
"format-wifi": "NET {signalStrength}",
|
"format-wifi": "{icon}",
|
||||||
"format-ethernet": "WIRED",
|
"format-ethernet": "WIRED",
|
||||||
"format-disconnected": "DSCNNCTED",
|
"format-disconnected": "DSCNNCTED",
|
||||||
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||||
|
|
@ -80,7 +51,6 @@
|
||||||
"tooltip-format-disconnected": "Disconnected",
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
"interval": 3,
|
"interval": 3,
|
||||||
"spacing": 1,
|
"spacing": 1,
|
||||||
"on-click": "omarchy-launch-wifi"
|
|
||||||
},
|
},
|
||||||
"disk": {
|
"disk": {
|
||||||
"format": "DSK {percentage_used}"
|
"format": "DSK {percentage_used}"
|
||||||
|
|
@ -130,8 +100,6 @@
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "$TERMINAL --class=Wiremix -e wiremix",
|
|
||||||
"on-click-right": "pamixer -t",
|
|
||||||
"tooltip-format": "Playing at {volume}%",
|
"tooltip-format": "Playing at {volume}%",
|
||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format-muted": "---mute---",
|
"format-muted": "---mute---",
|
||||||
|
|
@ -151,33 +119,11 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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": {
|
"bluetooth": {
|
||||||
"format": "BLU",
|
"format": "BLU",
|
||||||
"tooltip-format": "Devices connected: {num_connections}",
|
"tooltip-format": "Devices connected: {num_connections}",
|
||||||
"on-click": "blueberry"
|
"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": {
|
"tray": {
|
||||||
"icon-size": 14,
|
"icon-size": 14,
|
||||||
"spacing": 12,
|
"spacing": 12,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
@import "../omarchy/current/theme/waybar.css";
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue