summaryrefslogtreecommitdiff
path: root/hosts/local/fw11/waybarconfig
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/local/fw11/waybarconfig')
-rw-r--r--hosts/local/fw11/waybarconfig135
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"
+ }
+}