summaryrefslogtreecommitdiff
path: root/home-configuration/config/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'home-configuration/config/waybar/config.jsonc')
-rwxr-xr-xhome-configuration/config/waybar/config.jsonc154
1 files changed, 154 insertions, 0 deletions
diff --git a/home-configuration/config/waybar/config.jsonc b/home-configuration/config/waybar/config.jsonc
new file mode 100755
index 0000000..80a4967
--- /dev/null
+++ b/home-configuration/config/waybar/config.jsonc
@@ -0,0 +1,154 @@
+{
+ "reload-style-on-change": true,
+ "layer": "top",
+ "position": "top",
+ "output": "HDMI-A-1",
+ "spacing": 0,
+ "height": 35,
+ "border-radius": 25,
+
+ "modules-left": ["niri/workspaces"],
+ "modules-center": [],
+ "modules-right": ["group/right"],
+
+ "group/right": {
+ "orientation": "inherit",
+ "modules": [
+ "clock"
+ ]
+ },
+
+ "custom/active_window": {
+ "exec": "~/.config/waybar/window.sh",
+ "return-type": "json",
+ "markup": true
+ },
+
+ "niri/workspaces": {
+ "on-click": "activate",
+ "format": "{icon}",
+ "format-icons": {
+ "default": "",
+ "active": "",
+ "urgent": "",
+ "empty": ""
+ },
+ "persistent-workspaces": {
+ "1": [],
+ "2": [],
+ "3": [],
+ "4": [],
+ "5": [],
+ "6": [],
+ "7": [],
+ "8": []
+ }
+ },
+
+ "custom/wbmenu": {
+ "format": "<span size='13500'></span>",
+ "on-click": "rofi -show drun -config ~/.config/rofi/gruvbox.rasi",
+ "on-click-right": "xdg-terminal-exec",
+ "tooltip-format": "Menu\n\nSuper + Return"
+ },
+
+ "cpu": {
+ "interval": 2,
+ "format": "{icon} ",
+ "format-icons": ["󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"]
+ },
+
+ "memory": {
+ "interval": 2,
+ "format": "{icon}",
+ "format-icons": ["󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"]
+ },
+
+ "clock": {
+ "format": " {:%I:%M %p • %a, %d/%m} ",
+ "format-alt": "{:%A, %d %B %Y}",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
+ },
+
+ "network": {
+ "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],
+ "format": "{icon}",
+ "format-wifi": "{icon}",
+ "format-ethernet": "<span size='11500'>󰌘</span>",
+ "format-disconnected": "<span size='11500'>󰤮</span>",
+ "tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
+ "tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
+ "tooltip-format-disconnected": "Disconnected",
+ "interval": 3,
+ "spacing": 1
+ },
+
+ "battery": {
+ "format": "{capacity}% {icon}",
+ "format-discharging": "{icon}",
+ "format-charging": "{icon}",
+ "format-plugged": "",
+ "format-icons": {
+ "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"],
+ "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
+ },
+ "format-full": "󰂅",
+ "tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
+ "tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
+ "interval": 5,
+ "states": {
+ "warning": 20,
+ "critical": 10
+ }
+ },
+
+ "bluetooth": {
+ "format": "<span size='11500'>󰂯</span>",
+ "format-disabled": "<span size='11500'>󰂲</span>",
+ "format-connected": "<span size='11500'></span>",
+ "format-no-controller": "",
+ "tooltip-format": "Devices connected: {num_connections}"
+ },
+
+ "pulseaudio": {
+ "format": "{icon}{volume}%",
+ "on-click-right": "pamixer -t",
+ "tooltip-format": "Playing at {volume}%",
+ "scroll-step": 5,
+ "format-muted": "",
+ "format-icons": {
+ "default": [" ", " ", " "]
+ }
+ },
+
+ "group/tray-expander": {
+ "orientation": "inherit",
+ "drawer": {
+ "transition-duration": 600,
+ "children-class": "tray-group-item"
+ },
+ "modules": ["custom/expand-icon", "tray"]
+ },
+
+ "custom/expand-icon": {
+ "format": "",
+ "tooltip": false
+ },
+
+ "tray": {
+ "icon-size": 16,
+ "spacing": 8
+ },
+
+ "custom/separator#blank": {
+ "format": " ",
+ "interval": "once",
+ "tooltip": false
+ },
+
+ "custom/separator#dot": {
+ "format": " ",
+ "interval": "once",
+ "tooltip": false
+ }
+}