SHARE
TWEET

Untitled

a guest Oct 10th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "layer": "top", // Waybar at top layer
  3.     "position": "top", // Waybar position (top|bottom|left|right)
  4.     // "height": 30, // Waybar height
  5.     // "width": 1280, // Waybar width
  6.     // Choose the order of the modules
  7.     "modules-left": ["custom/rofi","sway/workspaces", "sway/mode", "tray"],
  8.     "modules-center": ["sway/window"],
  9.     "modules-right": ["pulseaudio", "network", "battery", "clock"],
  10.     // Modules configuration
  11.     // "sway/workspaces": {
  12.     //     "disable-scroll": true,
  13.     //     "all-outputs": true,
  14.     //     "format": "{name}: {icon}",
  15.     //     "format-icons": {
  16.     //         "1": "",
  17.     //         "2": "",
  18.     //         "3": "",
  19.     //         "4": "",
  20.     //         "5": "",
  21.     //         "urgent": "",
  22.     //         "focused": "",
  23.     //         "default": ""
  24.     //     }
  25.     // },
  26.     "sway/mode": {
  27.         "format": "{}"
  28.     },
  29.     "idle_inhibitor": {
  30.         "format": "{icon}",
  31.         "format-icons": {
  32.             "activated": "",
  33.             "deactivated": ""
  34.         }
  35.     },
  36.     "tray": {
  37.         // "icon-size": 21,
  38.         "spacing": 10
  39.     },
  40.     "clock": {
  41.     "format": "{:%d.%m.%Y  %H:%M}",
  42.         "tooltip-format": "{:%Y-%m-%d  %H:%M}",
  43.         "format-alt": "{:%Y-%m-%d}"
  44.     },
  45.     "cpu": {
  46.         "format": "{usage}% "
  47.     },
  48.     "memory": {
  49.         "format": "{}% "
  50.     },
  51.     "temperature": {
  52.         // "thermal-zone": 2,
  53.         // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
  54.         "critical-threshold": 80,
  55.         // "format-critical": "{temperatureC}°C ",
  56.         "format": "{temperatureC}°C "
  57.     },
  58.     "backlight": {
  59.         // "device": "acpi_video1",
  60.         "format": "{percent}% {icon}",
  61.         "format-icons": ["", ""]
  62.     },
  63.     "battery": {
  64.         "states": {
  65.             // "good": 95,
  66.             "warning": 30,
  67.             "critical": 15
  68.         },
  69.         "format": "{capacity}% {icon}",
  70.         // "format-good": "", // An empty format will hide the module
  71.         // "format-full": "",
  72.         "format-icons": ["", "", "", "", "", "", "", ""]
  73.     },
  74.     "battery#bat2": {
  75.         "bat": "BAT2"
  76.     },
  77.     "network": {
  78.         // "interface": "wlp2s0", // (Optional) To force the use of this interface
  79.         "format-wifi": "{essid} ({signalStrength}%) 蠟",
  80.         "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
  81.         "format-disconnected": "郎",
  82.         "interval": 120
  83.     },
  84.     "pulseaudio": {
  85.         //"scroll-step": 1,
  86.         "format": "{volume}% {icon}",
  87.         "format-bluetooth": "{volume}% {icon}",
  88.         "format-muted": "﹨",
  89.         "format-icons": {
  90.             "headphones": "",
  91.             "handsfree": "",
  92.             "headset": "",
  93.             "phone": "",
  94.             "portable": "",
  95.             "car": "",
  96.             "default": ["", ""]
  97.         },
  98.         "on-click": "pavucontrol"
  99.     },
  100.     "custom/rofi": {
  101.         "format": "",
  102.         "on-click": "rofi -modi 'drun' -show drun"
  103.     }
  104. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top