waybar and tmux plugins

This commit is contained in:
Cy Pokhrel 2024-11-21 15:56:39 -05:00
parent 238d53fadd
commit 6bdaba63f5
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E
6 changed files with 179 additions and 140 deletions

55
waybar/config Normal file
View file

@ -0,0 +1,55 @@
{
"modules-left": ["sway/workspaces", "sway/window", "sway/mode"],
"modules-right": ["tray", "pulseaudio", "backlight", "network", "battery", "clock"],
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%b %d(%H:%M) 󰃰}"
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰢝",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"pulseaudio": {
"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"
},
"network": {
"format": "{ifname}",
"format-wifi": "Connected ",
"format-ethernet": "{ipaddr}/{cidr} 󰈀",
"format-disconnected": "Disconnected 󱛅", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰛳",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
},
"tray": {
"spacing": 10
}
}