173 lines
7.0 KiB
Plaintext
173 lines
7.0 KiB
Plaintext
{
|
|
"modules-left": ["custom/notification", "battery", "clock#date", "clock","custom/updater", "custom/launcher"],
|
|
"modules-center": ["hyprland/workspaces"],
|
|
"modules-right": ["network", "bluetooth", "wireplumber", "wireplumber#microphone", "custom/power"],
|
|
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"network": {
|
|
"format-wifi": "<span color='#962fb5'>{icon}<span letter_spacing='500'> </span></span>{essid}({signalStrength}%)",
|
|
"format-ethernet": "<span color='#962fb5'font='bold'>{icon}<span letter_spacing='500'> </span></span><span rise='1000'>Ethernet</span>",
|
|
"format-disconnected": "<span letter_spacing='500'> </span><span rise='1000'>Not Connected</span>",
|
|
"tooltip-format": "{ipaddr} via {gwaddr}",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"max-length": 50,
|
|
"on-click": "nm-connection-editor",
|
|
"on-click-right": "kitty -e nmtui",
|
|
"format-icons": {
|
|
"wifi": ["", "", "", "", ""],
|
|
"ethernet": "",
|
|
"disconnected": ""
|
|
}
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": " <span rise='300'>{:%H:%M}</span>"
|
|
},
|
|
"clock#date": {
|
|
"format": " <span rise='300'>{:%A, %B %d, %Y}</span>",
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode" : "year",
|
|
"mode-mon-col" : 2,
|
|
"weeks-pos" : "right",
|
|
"on-scroll" : 1,
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
}
|
|
},
|
|
"actions": {
|
|
"on-click-right": "mode"
|
|
}
|
|
},
|
|
"wireplumber": {
|
|
"format": "<span rise='300'>{icon}</span>{volume}%",
|
|
"format-muted": "",
|
|
"format-bluetooth": "{icon}{volume}%",
|
|
"format-bluetooth-muted": "",
|
|
"format-icons": [
|
|
"<span color='#808080'><span letter_spacing='500'> </span></span>",
|
|
"<span color='#ffff66'><span letter_spacing='500'> </span></span>",
|
|
"<span color='#00ff7f'><span letter_spacing='3000'> </span></span>"
|
|
],
|
|
"on-click": "pwvucontrol"
|
|
},
|
|
"wireplumber#microphone": {
|
|
"node-type": "Audio/Source",
|
|
"format": "<span letter_spacing='100'> </span><span rise='300'>{volume}%</span>",
|
|
"format-muted": "<span letter_spacing='2000'> </span>{volume}%",
|
|
"on-click": "pwvucontrol"
|
|
},
|
|
"bluetooth": {
|
|
"format-on": "<span color='#00ff7f'><span letter_spacing='500'> </span></span>On",
|
|
"format-off": "<span color='#888888'> Off</span>",
|
|
"format-disabled": "<span color='#888888'> Off</span>",
|
|
"format-connected": "<span color='#0478d6'><span letter_spacing='500'> </span></span>{device_alias}",
|
|
"format-connected-battery": "<span color='#0478d6'><span letter_spacing='500'> </span></span>{device_alias}<span letter_spacing='500'> </span><span color='#0478d6'><span letter_spacing='500'> </span></span>{device_battery_percentage}%",
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
|
"on-click": "blueman-manager",
|
|
"on-click-right": "rfkill toggle bluetooth"
|
|
},
|
|
"custom/power": {
|
|
"format": " ",
|
|
"on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh"
|
|
},
|
|
"custom/scratchpad-indicator": {
|
|
"format-text": "{}hi",
|
|
"return-type": "json",
|
|
"interval": 3,
|
|
"exec": "~/.local/bin/scratchpad-indicator 2> /dev/null",
|
|
"exec-if": "exit 0",
|
|
"on-click": "swaymsg 'scratchpad show'",
|
|
"on-click-right": "swaymsg 'move scratchpad'"
|
|
},
|
|
"custom/launcher": {
|
|
"format":" ",
|
|
"tooltip-format": "Click To Launch Bitwarden",
|
|
"on-click": "exec bitwarden-desktop"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon}<span letter_spacing='1'> </span>{capacity}%",
|
|
"format-charging": "{icon}<span letter_spacing='1'> </span>{capacity}%",
|
|
"format-plugged": "{icon}<span letter_spacing='1'> </span>{capacity}%",
|
|
"format-alt": "{time}<span letter_spacing='1'> </span>{icon}",
|
|
"format-full": "<span letter_spacing='1'> </span>{capacity}%",
|
|
"format-icons": {
|
|
"default": ["", "", "", "", "", "", "", "", ""],
|
|
"charging": ["", "", "", "", "", "", "", "", ""],
|
|
"plugged": ["", "", "", "", "", "", "", "", ""]
|
|
}
|
|
},
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"format-icons": {
|
|
"1": "",
|
|
"2": "",
|
|
"3": "",
|
|
"4": "",
|
|
"urgent": "",
|
|
"active": "",
|
|
"default": ""
|
|
},
|
|
"persistent-workspaces": {
|
|
"1": [],
|
|
"2": [],
|
|
"3": []
|
|
},
|
|
"sort-by-number": true
|
|
},
|
|
"custom/updater": {
|
|
"format": " <span rise='300'>{}</span>",
|
|
"exec": "checkupdates | wc -l",
|
|
"exec-if": "[[ $(checkupdates | wc -l) ]]",
|
|
"interval": 1300,
|
|
"on-click": "$HOME/.config/waybar/scripts/update-distro.sh",
|
|
"tooltip": true,
|
|
"tooltip-format": "Left Click: Update System\nRight Click: Update Package Count\nArch (w/ notification)"
|
|
},
|
|
|
|
"custom/notification": {
|
|
"tooltip": true,
|
|
"format": "<span>{0} {icon} </span>",
|
|
"format-icons": {
|
|
"notification": "",
|
|
"none": "",
|
|
"dnd-notification": "",
|
|
"dnd-none": "",
|
|
"inhibited-notification": "",
|
|
"inhibited-none": "",
|
|
"dnd-inhibited-notification": "",
|
|
"dnd-inhibited-none": ""
|
|
},
|
|
"return-type": "json",
|
|
"exec-if": "which swaync-client",
|
|
"exec": "swaync-client -swb",
|
|
"on-click": "swaync-client -R -t -sw",
|
|
"on-click-right": "swaync-client -d -sw",
|
|
"escape": true
|
|
}
|
|
}
|