32 lines
947 B
Plaintext
32 lines
947 B
Plaintext
{
|
|
// "layer": "top", // Waybar at top layer
|
|
"position": "bottom", // Waybar position (top|bottom|left|right)
|
|
"height": 30, // Waybar height (to be removed for auto height)
|
|
"modules-left":["custom/kill"],
|
|
"modules-center":["custom/hide","custom/show"],
|
|
"modules-right":["custom/toggle","custom/pass"],
|
|
"custom/kill": {
|
|
"on-click":"swaymsg kill",
|
|
"format": "[X]",
|
|
},
|
|
"custom/hide": {
|
|
"on-click":"~/.local/bin/hide-osk",
|
|
"format": "Hide",
|
|
},
|
|
"custom/show": {
|
|
"on-click":"~/.local/bin/show-osk",
|
|
"format": "Show",
|
|
},
|
|
"custom/toggle": {
|
|
"on-click":"~/.local/bin/osk-toggle",
|
|
"exec":"~/.local/bin/osk-status",
|
|
"exec-on-event":true,
|
|
"interval":"once",
|
|
"format": "OSK: {}",
|
|
},
|
|
"custom/pass": {
|
|
"on-click":"~/.local/bin/password-menu-wofi",
|
|
"format": "Passwords",
|
|
}
|
|
}
|