diff options
Diffstat (limited to 'config.jsonc')
| -rw-r--r-- | config.jsonc | 111 |
1 files changed, 69 insertions, 42 deletions
diff --git a/config.jsonc b/config.jsonc index 0c9dbc6..a7c5ff9 100644 --- a/config.jsonc +++ b/config.jsonc @@ -1,49 +1,76 @@ -// waybar-theme-udt: the bar on DP-3. +// waybar-theme-udt: two bars on DP-3. // Copyright (C) 2026 Danilo M. <danix@danix.xyz> // Licensed under the GNU General Public License v2 only. // +// A top-level array is how waybar takes more than one bar. Both bars are one +// process reading one stylesheet, so the pills stay consistent between them. +// +// DP-3 is rotated, so the bar is 1080px rather than 1920: one bar holding +// everything was too crowded at that width. Status lives on top, the desktop +// (workspaces and open windows) along the bottom. +// // One file per module, included explicitly: wildcard `include` has been broken // since waybar v0.14.0, so every module file has to be listed by name. -{ - "include": [ - "$HOME/.config/waybar-udt/modules/image/launcher.jsonc", - "$HOME/.config/waybar-udt/modules/clock.jsonc", - "$HOME/.config/waybar-udt/modules/hyprland/workspaces.jsonc", - "$HOME/.config/waybar-udt/modules/custom/vmdot.jsonc", - "$HOME/.config/waybar-udt/modules/extras/taskbar.jsonc", - "$HOME/.config/waybar-udt/modules/custom/privacy_dots.jsonc", - "$HOME/.config/waybar-udt/modules/image/volume.jsonc", - "$HOME/.config/waybar-udt/modules/extras/tray.jsonc", - "$HOME/.config/waybar-udt/modules/image/idle_inhibitor.jsonc", - "$HOME/.config/waybar-udt/modules/image/language.jsonc", - ], +[ + { + "include": [ + "$HOME/.config/waybar-udt/modules/clock.jsonc", + "$HOME/.config/waybar-udt/modules/custom/vmdot.jsonc", + "$HOME/.config/waybar-udt/modules/image/launcher.jsonc", + "$HOME/.config/waybar-udt/modules/custom/privacy_dots.jsonc", + "$HOME/.config/waybar-udt/modules/image/volume.jsonc", + "$HOME/.config/waybar-udt/modules/extras/tray.jsonc", + "$HOME/.config/waybar-udt/modules/custom/presentation.jsonc", + "$HOME/.config/waybar-udt/modules/image/language.jsonc", + ], + + "modules-left": [ + "clock#date", + "clock#time", + "custom/vmdot" + ], + "modules-center": [ + "image#launcher" + ], + "modules-right": [ + "custom/privacy_dots", + "group/volume", + "tray", + "custom/presentation", + "image#lang" + ], + + "layer": "top", + "output": "DP-3", + "position": "top", + "height": 0, + "width": 0, + "margin": 0, + "spacing": 0, + "mode": "dock", + "reload_style_on_change": true + }, + { + "include": [ + "$HOME/.config/waybar-udt/modules/hyprland/workspaces.jsonc", + "$HOME/.config/waybar-udt/modules/extras/taskbar.jsonc", + ], - // Clusters, not a continuous strip: the stylesheet welds neighbours - // together and leaves gaps between groups. - "modules-left": [ - "image#launcher", - "clock#date", - "clock#time", - "hyprland/workspaces", - "custom/vmdot" - ], - "modules-center": [ - "wlr/taskbar" - ], - "modules-right": [ - "custom/privacy_dots", - "group/volume", - "tray", - "image#idle", - "image#lang" - ], + "modules-left": [ + "hyprland/workspaces" + ], + "modules-right": [ + "wlr/taskbar" + ], - "layer": "top", - "output": "DP-3", - "height": 0, - "width": 0, - "margin": 0, - "spacing": 0, - "mode": "dock", - "reload_style_on_change": true -} + "layer": "top", + "output": "DP-3", + "position": "bottom", + "height": 0, + "width": 0, + "margin": 0, + "spacing": 0, + "mode": "dock", + "reload_style_on_change": true + } +] |
