New backup 2024-11-22 11:30:03

This commit is contained in:
Penelope Gwen 2024-11-22 11:30:03 -08:00
parent 48bcf26fe2
commit 7e0a0aae74

View file

@ -5,9 +5,9 @@
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
// module order // module order
"modules-left": ["custom/sway-profile","sway/workspaces","sway/mode","sway/scratchpad","sway/window"], "modules-left": ["custom/sway-power","custom/sway-profile","sway/workspaces","sway/mode","sway/scratchpad","sway/window"],
"modules-center": ["custom/sonixd"], "modules-center": ["custom/sonixd"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "custom/nmvpn", "bluetooth", "memory", "battery", "clock", "tray","custom/sway-power"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "custom/nmvpn", "bluetooth", "memory", "battery", "clock", "tray"],
// Modules configuration // Modules configuration
@ -33,6 +33,15 @@
"tooltip-format": "{app}" "tooltip-format": "{app}"
}, },
// Window Name
"sway/window": {
"format":"{}",
"max-length":25,
"rewrite":{
"(.*) — Mozilla Firefox":" $1"
}
},
// Idle inhibitor // Idle inhibitor
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
@ -120,7 +129,6 @@
"on-click": "$HOME/.config/waybar/scripts/nmcli_vpn" "on-click": "$HOME/.config/waybar/scripts/nmcli_vpn"
}, },
// Bluetooth // Bluetooth
"bluetooth": { "bluetooth": {
"format": "", "format": "",
@ -163,14 +171,14 @@
"custom/sway-profile": { "custom/sway-profile": {
"format": " {} ", "format": " {} ",
"interval": 3, "interval": 3,
"exec": "/usr/bin/sp-profile-icon" "exec": "/usr/bin/sp-profile-icon",
} "on-click":"swaymsg exec 'sp-profiles'"
} },
//sway profile //sway profile
"custom/sway-profile": { "custom/sway-power": {
"format": "  ", "format": "  ",
"on-click":"swaymsg exec 'sp-powermenu'" "on-click":"swaymsg exec 'sp-powermenu'"
} }
}
}