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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
80
private_dot_config/waybar/style.css
Normal file
80
private_dot_config/waybar/style.css
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
@import "../omarchy/current/theme/waybar.css";
|
||||||
|
|
||||||
|
* {
|
||||||
|
background-color: @background;
|
||||||
|
color: @foreground;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
font-family: 'JetBrainsMono Nerd Font';
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
all: initial;
|
||||||
|
padding: 0 6px;
|
||||||
|
margin: 0 1.5px;
|
||||||
|
min-width: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.empty {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray,
|
||||||
|
#cpu,
|
||||||
|
#battery,
|
||||||
|
#network,
|
||||||
|
#bluetooth,
|
||||||
|
#pulseaudio,
|
||||||
|
#custom-omarchy,
|
||||||
|
#custom-screenrecording-indicator,
|
||||||
|
#custom-do-not-disturb-indicator,
|
||||||
|
#custom-update {
|
||||||
|
min-width: 12px;
|
||||||
|
margin: 0 7.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-do-not-disturb-indicator {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-expand-icon {
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-update {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
margin-left: 8.75px;
|
||||||
|
margin-right: 8.75px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-screenrecording-indicator {
|
||||||
|
min-width: 12px;
|
||||||
|
margin-left: 8.75px;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-screenrecording-indicator.active {
|
||||||
|
color: #a55555;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue