{ "icon_theme": "Papirus", "position": "top", "height": 30, "start": [ { "type": "workspaces", "name_map": { "web": "󰖟", "code": "󰅨", "term": "󰆍", "chat": "󰭹", "media": "󰎆", "misc": "󰋖", "scratch": "󰙀" }, "favorites": ["web", "code", "term", "chat", "media"], "format": "{icon}" }, { "type": "launcher", "truncate": { "mode": "end", "max_length": 24 } }, { "type": "focused", "truncate": { "mode": "end", "max_length": 64 } } ], "center": [ { "type": "music", "player_type": "playerctl" } ], "end": [ { "type": "clipboard", "max_items": 5, "truncate": { "mode": "end", "length": 30 } }, { "type": "tray" }, { "type": "volume", "on_scroll_up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+", "on_scroll_down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-", "on_click_right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" }, { "type": "battery", "show_if": "ls /sys/class/power_supply/ | grep -q '^BAT'" }, { "type": "clock", "format": "%H:%M" }, { "type": "custom", "name": "power-menu", "class": "power-menu", "bar": [ { "type": "button", "name": "power-btn", "label": "󰐥", "on_click": "popup:toggle" } ], "popup": [ { "type": "box", "orientation": "vertical", "widgets": [ { "type": "label", "name": "header", "label": "power" }, { "type": "box", "name": "buttons", "widgets": [ { "type": "button", "class": "power-btn", "label": "󰐥", "on_click": "!systemctl poweroff" }, { "type": "button", "class": "power-btn", "label": "󰜉", "on_click": "!systemctl reboot" }, { "type": "button", "class": "power-btn", "label": "󰍃", "on_click": "!loginctl terminate-session $XDG_SESSION_ID" } ] } ] } ] } ] }