Skip to content
Snippets Groups Projects
Commit f13ea497 authored by minute's avatar minute
Browse files

WIP: add waybar config

parent 60f24c2b
No related branches found
No related tags found
1 merge request!12RC1 of MNT Reform System Image and Rescue Image
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 34, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "clock", "tray"],
"sway/window": {
"on-click": "xfce4-appfinder"
},
"sway/mode": {
"format": "<span>{}</span>"
},
"tray": {
"icon-size": 32,
"spacing": 16
},
"clock": {
"tooltip-format": "{:%Y %B}",
"format-alt": "{:%Y-%m-%d}",
"tooltip": false
},
"cpu": {
"format": "CPU {usage}%",
"tooltip": false
},
"memory": {
"format": "MEM {}%",
"tooltip": false
},
"temperature": {
"thermal-zone": 0,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "NET {essid} {signalStrength}%",
"format-ethernet": "NET {ifname}: {ipaddr}/{cidr}",
"format-linked": "NET {ifname} NO IP",
"format-disconnected": "OFFLINE",
//"format-alt": "NET {ifname}: {ipaddr}/{cidr}"
"on-click": "~/bin/connman-gtk.sh"
},
"pulseaudio": {
// "scroll-step": 1,
"format": "VOL {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": "MUTED {format_source}",
"format-source": "{volume}%",
"format-source-muted": "MUTE",
"on-click": "pavucontrol"
},
"custom/stat": {
"format": "{}",
"max-length": 20,
"interval": 0,
"exec": "~/bin/compstat.sh",
"on-click": "gnome-system-monitor"
}
}
* {
font-size: 18px;
font-family: Inter;
font-weight: bold;
border-radius: 0;
}
window#waybar {
background: #000000;
color: #ffffff;
}
#sway-mode {
background-color: #330000;
}
widget label {
padding: 0px 20px;
}
#workspaces label {
padding: 0px 0px;
}
#workspaces button {
color: #ffffff;
font-size: 20px;
font-style: italic;
}
#workspaces button.focused {
background: #ffffff;
color: #000000;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button:hover {
background: #888888;
}
#clock {
padding-right: 0px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment