192 lines
5.3 KiB
Plaintext
192 lines
5.3 KiB
Plaintext
{
|
|
// asd
|
|
"width": 1900,
|
|
"spacing": 7,
|
|
"mode": "dock",
|
|
"modules-center": [
|
|
"river/tags",
|
|
"wlr/workspaces"
|
|
],
|
|
"modules-left": [
|
|
"custom/start",
|
|
"mpd",
|
|
"clock",
|
|
"memory",
|
|
"cpu",
|
|
"tray"
|
|
],
|
|
"modules-right": [
|
|
"custom/warp",
|
|
"network",
|
|
"pulseaudio",
|
|
"backlight",
|
|
"battery",
|
|
"custom/power"
|
|
],
|
|
"river/tags": {
|
|
"tag-labels": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"keyboard-state": {
|
|
"capslock": true,
|
|
"format": "{name} {icon}",
|
|
"format-icons": {
|
|
"locked": "",
|
|
"unlocked": ""
|
|
}
|
|
},
|
|
"wlr/workspaces": {
|
|
"sort-by-coordinates": true,
|
|
"sort-by-name": true,
|
|
"on-click": "activate",
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"default": "",
|
|
"active": "",
|
|
"urgent": ""
|
|
},
|
|
"active-only": false
|
|
},
|
|
"wlr/taskbar": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"icon-theme": "Vimix-Beryl-dark"
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"timezone": "Asia/Kolkata",
|
|
"format": " {:%a, %b %d, %H:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><big>{calendar}</big></tt>",
|
|
"format-alt": " {:%A, %B %d, %Y, %H:%M}"
|
|
},
|
|
"cpu": {
|
|
"interval": 5,
|
|
"format": " {usage}% ({avg_frequency} GHz)",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"interval": 5,
|
|
"format": " {}%"
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
"critical-threshold": 80,
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"backlight": {
|
|
"format": " {percent}%"
|
|
//"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"interval": 15
|
|
},
|
|
"network": {
|
|
"format-wifi": " {bandwidthDownBytes} ({signalStrength}%)",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"tooltip-format": " {ifname} via {gwaddr}",
|
|
"tooltip-format-wifi": "{ifname} {essid} via {gwaddr} ip: {ipaddr}",
|
|
"format-linked": " {ifname} (No IP)",
|
|
"format-disconnected": "",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": " {icon} {volume}% | {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": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
|
},
|
|
"custom/start": {
|
|
"format": "<span font_family='Iosevka' font_size='20pt'></span>",
|
|
"on-click": "wofi --show drun",
|
|
"tooltip": false
|
|
},
|
|
"custom/power": {
|
|
"format": "⏻",
|
|
"on-click": "~/.config/river/scripts/rofi-logout-menu",
|
|
"tooltip": false
|
|
},
|
|
"custom/warp": {
|
|
"exec": "~/.local/bin/mywarp --show-icon",
|
|
"interval": 2,
|
|
"format": {},
|
|
"exec-on-event": true,
|
|
"on-click": "~/.local/bin/mywarp --toggle",
|
|
"tooltip": false
|
|
},
|
|
"mpd": {
|
|
"format": "{stateIcon} {consumeIcon} {randomIcon} {repeatIcon} {singleIcon} ",
|
|
"format-disconnected": "Disconnected ",
|
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
|
"interval": 2,
|
|
"consume-icons": {
|
|
"on": " " // Icon shows only when "consume" is on
|
|
},
|
|
"random-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
|
|
"on": " "
|
|
},
|
|
"repeat-icons": {
|
|
"on": " "
|
|
},
|
|
"single-icons": {
|
|
"on": "1 "
|
|
},
|
|
"state-icons": {
|
|
"paused": "",
|
|
"playing": ""
|
|
},
|
|
"tooltip-format": "MPD (connected)",
|
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
|
"on-click": "mpc toggle",
|
|
"on-click-right": "mpc stop",
|
|
"on-scroll-up": "mpc next",
|
|
"on-scroll-down": "mpc prev",
|
|
"smooth-scrolling-threshold": 3
|
|
}
|
|
} |