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)
// 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-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
@ -33,6 +33,15 @@
"tooltip-format": "{app}"
},
// Window Name
"sway/window": {
"format":"{}",
"max-length":25,
"rewrite":{
"(.*) — Mozilla Firefox":" $1"
}
},
// Idle inhibitor
"idle_inhibitor": {
"format": "{icon}",
@ -120,7 +129,6 @@
"on-click": "$HOME/.config/waybar/scripts/nmcli_vpn"
},
// Bluetooth
"bluetooth": {
"format": "",
@ -163,14 +171,14 @@
"custom/sway-profile": {
"format": " {} ",
"interval": 3,
"exec": "/usr/bin/sp-profile-icon"
}
}
"exec": "/usr/bin/sp-profile-icon",
"on-click":"swaymsg exec 'sp-profiles'"
},
//sway profile
"custom/sway-profile": {
"custom/sway-power": {
"format": "  ",
"on-click":"swaymsg exec 'sp-powermenu'"
}
}
}