feat: initial commit
This commit is contained in:
82
.config/waybar/config
Normal file
82
.config/waybar/config
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/window", "sway/mode"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["pulseaudio", "network", "tray", "custom/keyboard", "backlight", "cpu", "memory", "battery", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-alt": "{time}",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a, %b %e %H:%M}",
|
||||
"format-alt": "{:%a, %d. %b %H:%M:%S}"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% ",
|
||||
"tooltip": true
|
||||
},
|
||||
"memory": {
|
||||
"format": "{avail} GiB"
|
||||
},
|
||||
"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": ["", "", ""]
|
||||
},
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
//"battery": {
|
||||
// "states": {
|
||||
// "good": 95,
|
||||
// "warning": 30,
|
||||
// "critical": 15
|
||||
// },
|
||||
// "format": "{capacity}% ",
|
||||
// "format-charging": "{capacity}%",
|
||||
// "format-plugged": "{capacity}%",
|
||||
// "format-alt": "{time} ",
|
||||
// // "format-good": "", // An empty format will hide the module
|
||||
// // "format-full": "",
|
||||
// // "format-icons": ["", "", "", "", ""]
|
||||
//},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "Disconnected ",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click": "nm-connection-editor"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% | {format_source}",
|
||||
"format-bluetooth": "{volume}% {format_source}",
|
||||
"format-bluetooth-muted": " {format_source}",
|
||||
"format-muted": "0% | {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
//"custom/keyboard": {
|
||||
// "exec": "swaymsg -t get_inputs | grep active_layout_name | grep -v En | awk 'END{if(NR == 0){print \"EN\"}else{print toupper(substr($2,2,2))}}'",
|
||||
// "format": " {} ",
|
||||
// "interval": 1
|
||||
//},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user