Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // __ __ _ _
- // | \/ | ___ __| |_ _| | ___ ___
- // | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
- // | | | | (_) | (_| | |_| | | __/\__ \
- // |_| |_|\___/ \__,_|\__,_|_|\___||___/
- //
- //
- // by icon_bishopxxiii (2024)
- // -----------------------------------------------------
- //
- {
- // Updates
- "custom/updates": {
- "interval": 10800,
- "format": "{}",
- "exec": "~/.config/waybar/scripts/update-sys",
- "on-click": "~/.local/bin/dwmscripts/scpad"
- },
- // Weather
- "custom/weather": {
- "format": "{}",
- "exec": "~/.local/bin/dwmscripts/weather",
- "interval": 10800
- },
- // Workspaces
- "hyprland/workspaces" : {
- "on-click": "activate",
- "active-only": false,
- "all-outputs": true,
- "format": "{}",
- "format-icons": {
- "urgent": "",
- "active": "",
- "occupied": "",
- "default": ""
- },
- "persistent-workspaces": {
- // START WORKSPACES
- "*": 5
- // END WORKSPACES
- }
- },
- // Mode
- "wlr/mode": {
- "format": "<span style=\"italic\">{}</span>"
- },
- // Tray
- "tray": {
- "icon-size": 21,
- "spacing": 10
- },
- // Clock
- "clock": {
- "timezone": "Asia/Tokyo",
- "format": "{:%I:%M %p}",
- "tooltip-format": "<big>{:%I:%M %p}</big>\n<tt><big>{calendar}</big></tt>",
- "format-alt": "{:%a %B %d,%Y %I:%M %p}"
- },
- // CPU
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- //Memory
- "memory": {
- "format": "{}% "
- },
- // Backlight
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}% {icon}",
- "format-icons": ["", "", "", "", "", "", "", "", ""]
- },
- // Battery
- "battery": {
- "states": {
- // "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}% {icon}",
- "format-charging": "{capacity}% ⚡",
- "format-plugged": "{capacity}% ",
- "format-alt": "{time} {icon}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- "format-icons": ["", "", "", "", ""]
- },
- // Network Connection
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": " {essid} ({signalStrength}%)",
- "format-ethernet": "{ipaddr}/{cidr} ",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "Disconnected ⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}"
- },
- // Audio
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- }
- // Idle
- // "custom/idle_inhibitor": {
- // "exec": "~/.local/bin/dwmscripts/idle.sh",
- // "on-click": "~/.local/bin/dwmscripts/idle.sh",
- // "format-icons": ["零", "鈴"], // or and ﮌ
- // }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement