Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "layer": "top", // Waybar at top layer
- "position": "top", // Waybar position (top|bottom|left|right)
- // "height": 30, // Waybar height
- // "width": 1280, // Waybar width
- // Choose the order of the modules
- "modules-left": ["custom/rofi","sway/workspaces", "sway/mode", "tray"],
- "modules-center": ["sway/window"],
- "modules-right": ["pulseaudio", "network", "battery", "clock"],
- // Modules configuration
- // "sway/workspaces": {
- // "disable-scroll": true,
- // "all-outputs": true,
- // "format": "{name}: {icon}",
- // "format-icons": {
- // "1": "",
- // "2": "",
- // "3": "",
- // "4": "",
- // "5": "",
- // "urgent": "",
- // "focused": "",
- // "default": ""
- // }
- // },
- "sway/mode": {
- "format": "{}"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- // "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- "format": "{:%d.%m.%Y %H:%M}",
- "tooltip-format": "{:%Y-%m-%d %H:%M}",
- "format-alt": "{:%Y-%m-%d}"
- },
- "cpu": {
- "format": "{usage}% "
- },
- "memory": {
- "format": "{}% "
- },
- "temperature": {
- // "thermal-zone": 2,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "critical-threshold": 80,
- // "format-critical": "{temperatureC}°C ",
- "format": "{temperatureC}°C "
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}% {icon}",
- "format-icons": ["", ""]
- },
- "battery": {
- "states": {
- // "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}% {icon}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- "format-icons": ["", "", "", "", "", "", "", ""]
- },
- "battery#bat2": {
- "bat": "BAT2"
- },
- "network": {
- // "interface": "wlp2s0", // (Optional) To force the use of this interface
- "format-wifi": "{essid} ({signalStrength}%) 蠟",
- "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
- "format-disconnected": "郎",
- "interval": 120
- },
- "pulseaudio": {
- //"scroll-step": 1,
- "format": "{volume}% {icon}",
- "format-bluetooth": "{volume}% {icon}",
- "format-muted": "﹨",
- "format-icons": {
- "headphones": "",
- "handsfree": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", ""]
- },
- "on-click": "pavucontrol"
- },
- "custom/rofi": {
- "format": "",
- "on-click": "rofi -modi 'drun' -show drun"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement