From c13a5026d427a86f2251e725d9b51c37e8ab153d Mon Sep 17 00:00:00 2001 From: vikingowl Date: Fri, 19 Sep 2025 12:45:10 +0200 Subject: [PATCH] added waybar configs for pc monitors --- .../waybar/conf.d/dp1.jsonc##hostname.cn-arch | 75 +++++++++++++++++++ .../waybar/conf.d/dp2.jsonc##hostname.cn-arch | 30 ++++++++ .../conf.d/hdmi.jsonc##hostname.cn-arch | 66 ++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 .config/waybar/conf.d/dp1.jsonc##hostname.cn-arch create mode 100644 .config/waybar/conf.d/dp2.jsonc##hostname.cn-arch create mode 100644 .config/waybar/conf.d/hdmi.jsonc##hostname.cn-arch diff --git a/.config/waybar/conf.d/dp1.jsonc##hostname.cn-arch b/.config/waybar/conf.d/dp1.jsonc##hostname.cn-arch new file mode 100644 index 0000000..a89b1b6 --- /dev/null +++ b/.config/waybar/conf.d/dp1.jsonc##hostname.cn-arch @@ -0,0 +1,75 @@ +{ + "name": "bar-dp1", + "output": "DP-1", + "spacing": 8, + "modules-left": ["hyprland/workspaces", "hyprland/window"], + "modules-center": ["privacy", "mpris"], + "modules-right": [ + "group/sys", + "network", + "pulseaudio", + "bluetooth", + "battery", + "power-profiles-daemon", + "custom/hyprsunset", + "tray", + "clock", + ], + "hyprland/window": { + "max-length": 60, + }, + "mpris": { + "dynamic-len": 30, + }, + "custom/sys": { + "format": "", + "tooltip": true, + }, + "group/sys": { + "orientation": "horizontal", + "drawer": { + "transition-duration": 350, + "children-class": "sys", + "click-to-reveal": true, + "transition-left-to-right": false, + }, + "modules": [ + "custom/sys", + "cpu", + "memory", + "disk#nvme0", + "disk#nvme1", + "custom/temps", + ], + }, + "network": { + "format-wifi": " {signalStrength}%", + "format-ethernet": "", + "format-disconnected": "󰌙", + "tooltip": true, + "tooltip-format": "{ifname} → {gwaddr}", + "on-click": "nm-connection-editor", + "on-click-right": "alacritty -e nmtui", + }, + "bluetooth": { + "format": "", + "format-connected": " {device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager", + }, + "pulseaudio": { + "format": "{icon} {volume}%", + "format-muted": "", + "scroll-step": 5, + "interval": 30, + "tooltip": true, + "on-click": "pavucontrol", + "on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle", + "format-icons": { + "default": ["", ""], + }, + }, + "clock": { + "format": "{:%R | %d.%m.}", + }, +} diff --git a/.config/waybar/conf.d/dp2.jsonc##hostname.cn-arch b/.config/waybar/conf.d/dp2.jsonc##hostname.cn-arch new file mode 100644 index 0000000..38f495a --- /dev/null +++ b/.config/waybar/conf.d/dp2.jsonc##hostname.cn-arch @@ -0,0 +1,30 @@ +{ + "name": "bar-dp2", + "output": "DP-2", + "spacing": 10, + "modules-left": ["hyprland/workspaces", "hyprland/window"], + "modules-center": ["privacy", "mpris"], + "modules-right": [ + "cpu", + "memory", + "disk#nvme0", + "disk#nvme1", + "network", + "pulseaudio", + "bluetooth", + "battery", + "power-profiles-daemon", + "custom/alhp", + "custom/razer-mouse-battery", + "custom/temps", + "custom/hyprsunset", + "tray", + "clock", + ], + "hyprland/window": { + "max-length": 80, + }, + "mpris": { + "dynamic-len": 60, + }, +} diff --git a/.config/waybar/conf.d/hdmi.jsonc##hostname.cn-arch b/.config/waybar/conf.d/hdmi.jsonc##hostname.cn-arch new file mode 100644 index 0000000..8899625 --- /dev/null +++ b/.config/waybar/conf.d/hdmi.jsonc##hostname.cn-arch @@ -0,0 +1,66 @@ +{ + "name": "bar-hdmi", + "output": "HDMI-A-1", + "height": 28, + "spacing": 6, + "modules-left": ["hyprland/workspaces", "hyprland/window"], + "modules-center": ["privacy", "mpris"], + "modules-right": [ + "network", + "pulseaudio", + "bluetooth", + "battery", + "custom/hyprsunset", + "tray", + "clock", + ], + "hyprland/workspaces": { + "icon-size": 22, + "spacing": 8, + }, + "hyprland/window": { + "max-length": 50, + }, + "mpris": { + "dynamic-len": 50, + }, + "network": { + "format-wifi": " {signalStrength}%", + "format-ethernet": "", + "format-disconnected": "󰌙", + "tooltip": true, + "tooltip-format": "{ifname} → {gwaddr}", + "on-click": "nm-connection-editor", + "on-click-right": "alacritty -e nmtui", + }, + "pulseaudio": { + "format": "{icon} {volume}%", + "format-muted": "", + "scroll-step": 5, + "interval": 30, + "tooltip": true, + "on-click": "pavucontrol", + "on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle", + "format-icons": { + "default": ["", ""], + "bluez_output.50_5E_5C_2D_F3_B2.1": "", + }, + }, + "bluetooth": { + "format": "", + "format-connected": " {device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager", + }, + "tray": { + "icon-size": 16, + "spacing": 3, + }, + "clock": { + "format": "{:%R}", + "tooltip-format": "{calendar}", + "calendar": { + "mode": "month", + }, + }, +}