From 160f7c5b35bf088b5fd22ae998e5e845dc47c3c6 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 20 Jan 2024 15:44:34 -0500 Subject: hyprland: more setup See https://github.com/hyprwm/Hyprland/pull/4489 for workspace_swipe_touch --- .config/waybar/config | 21 +++++++++++++-------- .config/waybar/style.css | 3 ++- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to '.config/waybar') 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 diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 2376581..031a74e 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -58,7 +58,8 @@ button:hover { background: inherit; } -#workspaces button.focused { +#workspaces button.focused, +#workspaces button.active { background-color: #64727D; box-shadow: inset 0 -3px #ffffff; } -- cgit 1.4.1