diff options
author | polwex <polwex@sortug.com> | 2024-09-24 00:34:12 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-09-24 00:34:12 +0700 |
commit | fbc1e58635cdf7356a4c6b43c0b6a0df7578dbfb (patch) | |
tree | ff302b9ba1880cccc150d2db2a19ecb42a1f386d /hosts/local/fw11/waybarconfig | |
parent | a6109558c4b246bbe71f6e949f92f427116eb033 (diff) |
m
Diffstat (limited to 'hosts/local/fw11/waybarconfig')
-rw-r--r-- | hosts/local/fw11/waybarconfig | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/hosts/local/fw11/waybarconfig b/hosts/local/fw11/waybarconfig new file mode 100644 index 0000000..20cea00 --- /dev/null +++ b/hosts/local/fw11/waybarconfig @@ -0,0 +1,135 @@ +{ + // "layer": "top", // Waybar at top layer + "position": "bottom", // Waybar position (top|bottom|left|right) + // "output": "DP-1", + "height": 30, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 4, // Gaps between modules (4px) + // Choose the order of the modules + "modules-left": ["sway/mode", "sway/window"], + "modules-center": ["sway/workspaces"], + "modules-right": ["pulseaudio", "network", "bluetooth", "idle_inhibitor", "cpu", "backlight", "battery", "clock", "tray"], + // Modules configuration + "sway/workspaces": { + "disable-scroll": true, + "all-outputs": true, + "format": "{name}: {icon}", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "5": "", + "urgent": "", + "focused": "", + "default": "" + } + }, + // "keyboard-state": { + // "numlock": true, + // "capslock": true, + // "format": " {icon} {name}", + // "format-icons": { + // "locked": "", + // "unlocked": "" + // } + // }, + "sway/mode": { + "format": "<span style=\"italic\">{}</span>" + }, + "tray": { + // "icon-size": 21, + "spacing": 10 + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "clock": { + "timezone": "Asia/Bangkok", + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", + "format-alt": "{:%Y-%m-%d}" + }, + "cpu": { + "format": "", + }, + "memory": { + "format": "" + }, + "temperature": { + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "{icon}", + "format-icons": ["", "", ""] + }, + "backlight": { + "format": "{icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""], + "on-scroll-up": "brightnessctl -c backlight set +1%", + "on-scroll-down": "brightnessctl -c backlight set 1%-" + }, + "battery": { + "states": { + "good": 95, + "warning": 15, + "critical": 7 + }, + "format": "{icon} {capacity}%", + // "format-charging": " {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": "", + "format-alt": "{icon} {time}", + // "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": "", + "format-ethernet": "", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{icon}", + "format-bluetooth": "{icon} {volume}% {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-source": "", + "format-source-muted": "", + // "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "custom/fcitx5": { + "format": "{}", + "return-type": "json", + "exec": "~/dotfiles/waybar/fcitx5-status.sh", + "interval": 1 + }, + "bluetooth": { + "format": "{icon}", + "format-icons": { + "enabled": "", + "disabled": "" + }, + "tooltip-format": "{}", + "on-click": "blueman-manager" + } +} |