March 28, 2024
# pyprland.toml - draft
[pyprland]
plugins = ["expose","monitors"]
[monitors]
[monitors.placement]
"Dell Inc. DELL P2719H BDFS123".leftOf = "Dell Inc. DELL U2720Q 5TCZZ13"
"LG Electronics LG TV 0x01010101".rightOf = ["Dell Inc. DELL P2719H BDFS123",
"Dell Inc. DELL U2720Q 5TCZZ13"]
Waybar - config.jsonc
#
[{
"layer": "top",
"position": "top",
"output": ["DP-3"],
"width": 1080,
"include": [
"~/.config/waybar/default-modules.jsonc",
],
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"clock"
]
},
{
"layer": "top",
"position": "top",
"output": ["DP-5"],
"width": 2560,
"include": [
"~/.config/waybar/default-modules.jsonc",
],
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"custom/weather",
"cpu",
"memory",
"network",
"temperature",
"pulseaudio",
"idle_inhibitor",
"tray",
"clock",
"custom/wlogout"
],
"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}"
},
"cpu": {
"format": " {usage: >3}%",
"on-click": "alacritty -t waybar_btop -e btop"
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input"],
"critical-threshold": 80,
"format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"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_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"custom/weather": {
"exec": ".config/waybar/scripts/weather.sh City+Country",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 3600
},
"custom/wlogout": {
"format": "",
"interval": "once",
"on-click": "wlogout -c 5 -r 5 -p layer-shell",
}
},
]
Wayabar - default-modules
#
{ // ROMAN Numerals style
"hyprland/workspaces#roman": {
"active-only":false,
"all-outputs": true,
"format": "{icon}",
"show-special": false,
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"persistent-workspaces":{
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
},
"format-icons": {
"1": "I",
"2": "II",
"3": "III",
"4": "IV",
"5": "V",
"6": "VI",
"7": "VII",
"8": "VIII",
"9": "IX",
"10": "X",
},
}
}