mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
36 lines
838 B
Lua
36 lines
838 B
Lua
local colors = require("colors")
|
|
local icons = require("icons")
|
|
local settings = require("settings")
|
|
|
|
-- Padding item required because of bracket
|
|
sbar.add("item", { width = 5 })
|
|
|
|
local apple = sbar.add("item", {
|
|
icon = {
|
|
font = { size = 16.0 },
|
|
string = icons.apple,
|
|
padding_right = 8,
|
|
padding_left = 8,
|
|
},
|
|
label = { drawing = false },
|
|
background = {
|
|
color = colors.bg2,
|
|
border_color = colors.black,
|
|
border_width = 1
|
|
},
|
|
padding_left = 1,
|
|
padding_right = 1,
|
|
click_script = "$CONFIG_DIR/helpers/menus/bin/menus -s 0"
|
|
})
|
|
|
|
-- Double border for apple using a single item bracket
|
|
sbar.add("bracket", { apple.name }, {
|
|
background = {
|
|
color = colors.transparent,
|
|
height = 30,
|
|
border_color = colors.grey,
|
|
}
|
|
})
|
|
|
|
-- Padding item required because of bracket
|
|
sbar.add("item", { width = 7 })
|