From b8a5c62b112859f463a53ac97b43f7f8cdc544a9 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sun, 31 Dec 2023 15:08:06 +0300 Subject: uhm --- home-manager/laptop/programs/waybar/config.jsonc | 94 ++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 home-manager/laptop/programs/waybar/config.jsonc (limited to 'home-manager/laptop/programs/waybar/config.jsonc') diff --git a/home-manager/laptop/programs/waybar/config.jsonc b/home-manager/laptop/programs/waybar/config.jsonc new file mode 100644 index 0000000..84aeafd --- /dev/null +++ b/home-manager/laptop/programs/waybar/config.jsonc @@ -0,0 +1,94 @@ +{ + "layer": "top", // Waybar at top layer + "height": 40, // Waybar height (to be removed for auto height) + "spacing": 8, // Gaps between modules (4px) + "margin-top": 20, + "margin-left": 20, + "margin-right": 20, + "margin-down": 5, + "modules-left": ["hyprland/workspaces"], + "modules-center": ["clock"], + "modules-right": ["network", "memory", "backlight", "pulseaudio", "hyprland/language", "tray", "battery"], + + "hyprland/workspaces": { + "format": "{icon}", + "on-click": "activate", + "all-outputs": false, + "format-icons": { + "1": "α", + "2": "β", + "3": "γ", + "4": "δ", + "5": "ε", + "urgent": "λ", + "focused": "σ", + "default": "ω"} + }, + "hyprland/language": { + "format": "{} 󰌌", + "format-ru": "ru", + "format-en": "en" + }, + "tray": { + "spacing": 10 + }, + "clock": { + // "timezone": "America/New_York", + "format": "{:%H:%M 󰅐}", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format-alt": "{:%d %h %Y 󰃮}", + "on-click": "killall calcure || alacritty -t calcure -e calcure;sudo ydotool click 0xc1" + }, + "memory": { + "format": "{}% ", + "on-click": "killall btop || alacritty -t btop -e btop;sudo ydotool click 0xc1" + }, + "backlight": { + // "device": "acpi_video1", + "format": "{percent}% {icon}", + "format-icons": ["󰃞", "󰃟", "󰃠"] + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% 󰂄", + "format-plugged": "{capacity}% ", + "format-alt": "{icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["󱃍", "󰁼", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"], + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "{essid} ({signalStrength}%) 󰤨", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "󰤫", + "on-click": "killall connman-gtk || connman-gtk;sudo ydotool click 0xc1" + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon} {format_source}", + "format-bluetooth": "{volume}% 󰥰 {format_source}", + "format-bluetooth-muted": "󰟎 {format_source}", + "format-muted": "󰝟 {format_source}", + "format-source": "{volume}% 󰍬", + "format-source-muted": "󰍭", + "format-icons": { + "headphone": "󰋋", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "muted-icon": "󰝟", + "default": ["󰕿", "󰖀", "󰕾"] + }, + "on-click": "killall bluetuith || alacritty -t blue -e bluetuith; sudo ydotool click 0xc1" + }, +} -- cgit v1.2.3