aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/waybar/config.jsonc')
-rw-r--r--dotfiles/waybar/config.jsonc136
1 files changed, 136 insertions, 0 deletions
diff --git a/dotfiles/waybar/config.jsonc b/dotfiles/waybar/config.jsonc
new file mode 100644
index 0000000..00e32e4
--- /dev/null
+++ b/dotfiles/waybar/config.jsonc
@@ -0,0 +1,136 @@
+// -*- mode: jsonc -*-
+{
+ "layer": "top", // Waybar at top layer
+ "position": "left", // Waybar position (top|bottom|left|right)
+ // "height": 30, // Waybar height (to be removed for auto height)
+ // "width": 10, // Waybar width
+ "spacing": 4, // Gaps between modules (4px)
+ "reload_style_on_change": true,
+ // Choose the order of the modules
+ "modules-left": [
+ "wlr/taskbar",
+ ],
+ "modules-center": [
+ "wlr/workspaces"
+ ],
+ "modules-right": [
+ "network",
+ "battery",
+ "temperature",
+ "privacy",
+ "pulseaudio",
+ "clock",
+ "tray",
+ "custom/power"
+ ],
+ // Modules configuration
+ // "sway/workspaces": {
+ // "disable-scroll": true,
+ // "all-outputs": true,
+ // "warp-on-scroll": false,
+ // "format": "{name}: {icon}",
+ // "format-icons": {
+ // "1": "",
+ // "2": "",
+ // "3": "",
+ // "4": "",
+ // "5": "",
+ // "urgent": "",
+ // "focused": "",
+ // "default": ""
+ // }
+ // },
+ "tray": {
+ // "icon-size": 21,
+ "spacing": 10
+ },
+ "clock": {
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format": "{:%H:%M\n%a\n%d/%m}",
+ "justify": "center"
+ },
+ "temperature": {
+ // "thermal-zone": 2,
+ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "critical-threshold": 80,
+ "justify": "center",
+ "tooltip": false,
+ "format": "{icon}\n{temperatureC}°C",
+ "format-icons": ["", "", ""]
+ },
+
+ "battery": {
+ "states": {
+ "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "justify": "center",
+ "tooltip": false,
+ "format": "{icon}\n{capacity}%",
+ "format-full": "\n{capacity}%",
+ "format-charging": "\n{capacity}%",
+ "format-plugged": "\n{capacity}%",
+ // "format-good": "", // An empty format will hide the module
+ "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "justify": "center",
+ "format-wifi": " \n{signalStrength}%",
+ "format-ethernet": "  \n",
+ "tooltip-format-wifi": "{ipaddr} @ {essid}",
+ "tooltip-format-ethernet": "{ipaddr} @ {ifname}",
+ "format-disconnected": "⚠",
+ "format-disabled": "✘",
+ "on-click": "alacritty -e nmtui"
+ },
+
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "justify": "center",
+ "format": "{icon}\n{volume}%",
+ "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
+ "format-muted": " {format_source}",
+ "format-source": "",
+ "format-source-muted": "",
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""],
+ "muted": [""]
+ },
+ "on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
+ "on-click-right": "pavucontrol"
+ },
+
+ "wlr/taskbar": {
+ "format": "{icon}",
+ "icon-size": 14,
+ "icon-theme": "Qogir",
+ "tooltip-format": "{title}",
+ "on-click": "activate",
+ "on-click-middle": "close",
+ },
+
+ "custom/power": {
+ "justify": "center",
+ "format": " ⏻ ",
+ "tooltip": false,
+ "menu": "on-click",
+ "menu-file": "$HOME/.config/waybar/power_menu.xml",
+ "menu-actions": {
+ "shutdown": "systemctl poweroff",
+ "reboot": "systemctl reboot",
+ "logout": "loginctl terminate-user $USER",
+ "hibernate": "systemctl hibernate"
+ }
+ }
+}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.