mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 17:13:21 +02:00
bc08dc1949
replace archcraft's icon by snowflake(nixos) feat: update waybar's settings
126 lines
3.3 KiB
Plaintext
126 lines
3.3 KiB
Plaintext
{
|
|
"clock": {
|
|
"interval": 60,
|
|
"align": 0,
|
|
"rotate": 0,
|
|
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": " {:%H:%M}",
|
|
"format-alt": " {:%a %b %d, %G}"
|
|
},
|
|
"cpu": {
|
|
"format": "\udb80\udf5b {usage}%",
|
|
"interval": 1
|
|
},
|
|
"custom/launcher": {
|
|
"format": "\uf313 ",
|
|
"on-click": "$HOME/.config/hypr/scripts/menu",
|
|
"on-click-middle": "exec default_wall",
|
|
"on-click-right": "exec wallpaper_random",
|
|
"tooltip": false
|
|
},
|
|
"custom/powermenu": {
|
|
"format": "\uf011",
|
|
"on-click": "$HOME/.config/hypr/scripts/wlogout",
|
|
"tooltip": false
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "\uf06e",
|
|
"deactivated": "\uf070"
|
|
},
|
|
"tooltip": false
|
|
},
|
|
"layer": "top",
|
|
"memory": {
|
|
"format": "\udb83\udee0 {percentage}%",
|
|
"interval": 1,
|
|
"states": {
|
|
"warning": 85
|
|
}
|
|
},
|
|
"modules-center": [
|
|
"clock"
|
|
],
|
|
"modules-left": [
|
|
"custom/launcher",
|
|
"temperature",
|
|
"mpd",
|
|
"custom/cava-internal"
|
|
],
|
|
"modules-right": [
|
|
"pulseaudio",
|
|
"backlight",
|
|
"memory",
|
|
"cpu",
|
|
"network",
|
|
"custom/powermenu",
|
|
"tray"
|
|
],
|
|
"mpd": {
|
|
"format": "<span foreground='#bb9af7'>\uf001</span> {title}",
|
|
"format-disconnected": "",
|
|
"format-paused": "\uf001 {title}",
|
|
"format-stopped": "<span foreground='#bb9af7'>\uf001</span>",
|
|
"max-length": 25,
|
|
"on-click": "mpc --quiet toggle",
|
|
"on-click-middle": "kitty --class='ncmpcpp' ncmpcpp ",
|
|
"on-click-right": "mpc update; mpc ls | mpc add",
|
|
"on-scroll-down": "mpc --quiet next",
|
|
"on-scroll-up": "mpc --quiet prev",
|
|
"smooth-scrolling-threshold": 5,
|
|
"tooltip-format": "{title} - {artist} ({elapsedTime:%M:%S}/{totalTime:%H:%M:%S})"
|
|
},
|
|
"network": {
|
|
"interval": 5,
|
|
//"interface": "wlan*", // (Optional) To force the use of this interface, set it for netspeed to work
|
|
"format-wifi": " {essid}",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"format-linked": " {ifname} (No IP)",
|
|
"format-disconnected": "睊 Disconnected",
|
|
"format-disabled": "睊 Disabled",
|
|
"format-format": " {bandwidthUpBits} | {bandwidthDownBits}",
|
|
"tooltip-alt": " {ifname} via {gwaddr}",
|
|
},
|
|
"position": "top",
|
|
"pulseaudio": {
|
|
//"format": "{volume}% {icon} {format_source}",
|
|
"format": "{icon} {volume}%",
|
|
"format-muted": " Mute",
|
|
"format-bluetooth": " {volume}% {format_source}",
|
|
"format-bluetooth-muted": " Mute",
|
|
"format-source": " {volume}%",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"scroll-step": 5.0,
|
|
// Commands to execute on events
|
|
"on-click": "amixer set Master toggle",
|
|
"on-click-right": "pavucontrol",
|
|
"smooth-scrolling-threshold": 1,
|
|
},
|
|
"temperature": {
|
|
"format": "\uf2c9 {temperatureC}\u00b0C",
|
|
"tooltip": false
|
|
},
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 5
|
|
},
|
|
"wlr/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate"
|
|
}
|
|
}
|