summary refs log tree commit diff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2024-01-20 15:44:34 -0500
committerZach DeCook <zachdecook@librem.one>2024-01-20 15:44:34 -0500
commit160f7c5b35bf088b5fd22ae998e5e845dc47c3c6 (patch)
tree795e168d83000e6c71d8a341d6ffd0c6f846b139 /.config/waybar/config
parent1d171e7eb186787dda3ec7c91538baaa7be3f457 (diff)
downloaddotfiles-160f7c5b35bf088b5fd22ae998e5e845dc47c3c6.tar.gz
hyprland: more setup
See https://github.com/hyprwm/Hyprland/pull/4489
for workspace_swipe_touch
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config21
1 files changed, 13 insertions, 8 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 8322694..6ea7b82 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -3,9 +3,9 @@
     // "width": 1080, // Waybar width
     "spacing": 0, // Gaps between modules (4px)
     // Choose the order of the modules
-    "modules-left": ["sway/workspaces", "hyprland/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
+    "modules-left": ["sway/workspaces", "hyprland/workspaces", "sway/mode",  "hyprland/submap", "sway/scratchpad", "custom/media"],
     "modules-center": [],
-    "modules-right": ["network","battery", "pulseaudio","tray"],
+    "modules-right": ["temperature", "network", "battery", "pulseaudio", "tray"],
     // Modules configuration
     // "sway/workspaces": {
     //     "disable-scroll": true,
@@ -90,8 +90,9 @@
         // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
         "critical-threshold": 80,
         // "format-critical": "{temperatureC}°C {icon}",
-        "format": "{temperatureC}°C {icon}",
-        "format-icons": ["", "", ""]
+        "format": "{icon}",
+        "format-alt": "{temperatureC}°C {icon}",
+        "format-icons": ["", "", "", "", ""]
     },
     "backlight": {
         // "device": "acpi_video1",
@@ -104,13 +105,17 @@
             "warning": 30,
             "critical": 15
         },
-        "format": "{icon} ",
-        "format-charging": "{capacity}% ",
+        "format": "{icon}",
+        // "format-charging": "{icon} ",
         "format-plugged": "{capacity}% ",
-        "format-alt": "{capacity}% {icon} ",
+        "format-alt": "{capacity}% {icon}",
         // "format-good": "", // An empty format will hide the module
         // "format-full": "",
-        "format-icons": ["", "", "", "", ""]
+        "format-icons": {
+        	// "default":["", "", "", "", ""],
+        	"default": ["󰁺" ,"󰁻" ,"󰁼" ,"󰁽" ,"󰁾" ,"󰁿" ,"󰂀" ,"󰂁" ,"󰂂" ,"󰁹"],
+        	"charging":["󰢜 ","󰂆 ","󰂇 ","󰂈 ","󰢝 ","󰂉 ","󰢞 ","󰂊 ","󰂋 ","󰂅 "],
+        },
     },
     "network": {
         // "interface": "wlp2*", // (Optional) To force the use of this interface