Integrated Hyprlust dotfiles waybar configuration while preserving custom functionality: Features Added: - 24 switchable layout options (top, bottom, split, side bars) - 30+ theme styles (Catppuccin, Wallust, Aurora, etc.) - Centralized module definitions system - Drawer/group expandable UI sections - Advanced modules: sliders, mpris, swaync, visualizer - Wallust dynamic theming support Preserved Custom Features: - Hardware-specific temperature monitoring (custom/temps module) - Original minimal aesthetic and layout - Pywal color system integration (dual support with Wallust) - JetBrainsMono Nerd Font preference (18px) - Custom scripts: temps.sh, battery.sh, waybar-wttr.py New Files: - configs/[TOP] Custom Minimal - New default minimal layout - style/[Pywal] Minimal.css - Pywal-integrated style variant - modules - Centralized module definitions - configs/ - 24 layout options from Hyprlust - style/ - 30+ theme styles from Hyprlust - wallust/ - Wallust color generation support Configuration: - Fixed broken Pywal symlink (case-sensitive path) - Created config symlink → configs/[TOP] Custom Minimal - Created style.css symlink → style/[Pywal] Minimal.css - Archived originals: [TOP] Original Minimal.jsonc, [Original] Minimal.css Usage: - Switch layouts: ln -sf "configs/[layout-name]" config - Switch themes: ln -sf "style/[theme-name].css" style.css - Supports both Pywal and Wallust color systems
234 lines
6.6 KiB
JSON
234 lines
6.6 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"tray"
|
|
],
|
|
"modules-center": [
|
|
"clock"
|
|
],
|
|
"modules-right": [
|
|
"custom/temps",
|
|
"pulseaudio",
|
|
"pulseaudio#microphone"
|
|
],
|
|
// "modules-left": [],
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"custom/weather": {
|
|
"tooltip": true,
|
|
"format": "{}",
|
|
"interval": 30,
|
|
"exec": "~/.config/waybar/scripts/waybar-wttr.py",
|
|
"return-type": "json",
|
|
"on-click": "xdg-open https://wttr.in"
|
|
},
|
|
"hyprland/window": {
|
|
"format": "{}",
|
|
"max-length": 60,
|
|
"tooltip": true
|
|
},
|
|
"custom/wallpaper": {
|
|
"format": "Wallpaper",
|
|
"interval": 1,
|
|
"tooltip": true,
|
|
"on-click": "~/scripts/pywal/wallpapermenu.sh",
|
|
"return-type": "json"
|
|
},
|
|
"custom/power_profile": {
|
|
"exec": "powerprofilesctl get || echo 'Unknown'",
|
|
"interval": 5,
|
|
"format": " {}",
|
|
"on-click": "pp=$(powerprofilesctl get 2>/dev/null || echo 'balanced'); case \"$pp\" in performance) n=balanced;; balanced) n=powersave;; *) n=performance;; esac; powerprofilesctl set \"$n\" 2>/dev/null || echo 'powerprofilesctl not available'; pkill -SIGRTMIN+8 waybar",
|
|
"signal": 8,
|
|
"return-type": "string"
|
|
},
|
|
"custom/battery": {
|
|
"exec": "/home/Nicholai/.config/waybar/scripts/battery.sh",
|
|
"interval": 10,
|
|
"return-type": "json",
|
|
"format": "{}",
|
|
"tooltip": true
|
|
},
|
|
"mpd": {
|
|
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ ",
|
|
"format-disconnected": "Disconnected ",
|
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
|
"unknown-tag": "N/A",
|
|
"interval": 2,
|
|
"consume-icons": {
|
|
"on": " "
|
|
},
|
|
"random-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ",
|
|
"on": " "
|
|
},
|
|
"repeat-icons": {
|
|
"on": " "
|
|
},
|
|
"single-icons": {
|
|
"on": "1 "
|
|
},
|
|
"state-icons": {
|
|
"paused": "",
|
|
"playing": ""
|
|
},
|
|
"tooltip-format": "MPD (connected)",
|
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
|
},
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"default": "●"
|
|
},
|
|
"persistent-workspaces": {
|
|
"Virtual-1": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
]
|
|
},
|
|
"on-click": "activate"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
},
|
|
"tooltip": true
|
|
},
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": "{:%I:%M %p %a, %b %e}",
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"custom/temps": {
|
|
"exec": "~/.config/waybar/scripts/temps.sh",
|
|
"interval": 2,
|
|
"return-type": "json",
|
|
"format": "{}",
|
|
"tooltip": true
|
|
},
|
|
"backlight": {
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"on-scroll-up": "brightnessctl set 5%+",
|
|
"on-scroll-down": "brightnessctl set 5%-",
|
|
"min-length": 6
|
|
},
|
|
"battery": {
|
|
"bat": "BAT1",
|
|
"adapter": "ACAD",
|
|
"interval": 10,
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 20
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"tooltip": true,
|
|
"tooltip-format": "{status} • {capacity}%\n{timeTo}\nHealth: {health}",
|
|
"max-length": 15
|
|
},
|
|
"battery#bat2": {
|
|
"bat": "BAT2"
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interfac
|
|
"format-wifi": " {signalStrength}%",
|
|
"format-ethernet": "{ipaddr}/{cidr}",
|
|
"tooltip-format": "{essid} - {ifname} via {gwaddr}",
|
|
"format-linked": "{ifname} (No IP)",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}:{essid} {ipaddr}/{cidr}"
|
|
},
|
|
"bluetooth": {
|
|
"format": " {status}",
|
|
"format-connected": " {num_connections}",
|
|
"tooltip-format": "{controller_alias}",
|
|
"tooltip-format-connected": "{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}",
|
|
"on-click": "blueman-manager"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}%",
|
|
"tooltip": false,
|
|
"format-muted": " Muted",
|
|
"on-click": "pamixer -t",
|
|
"on-scroll-up": "pamixer -i 5",
|
|
"on-scroll-down": "pamixer -d 5",
|
|
"scroll-step": 5,
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
},
|
|
"pulseaudio#microphone": {
|
|
"format": "{format_source}",
|
|
"format-source": " {volume}%",
|
|
"format-source-muted": " Muted",
|
|
"on-click": "pamixer --default-source -t",
|
|
"on-scroll-up": "pamixer --default-source -i 5",
|
|
"on-scroll-down": "pamixer --default-source -d 5",
|
|
"scroll-step": 5
|
|
},
|
|
"custom/media": {
|
|
"format": " {}",
|
|
"return-type": "json",
|
|
"max-length": 40,
|
|
"escape": true,
|
|
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
|
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
|
}
|
|
}
|