mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
added sketchybar config
This commit is contained in:
parent
87bb07f015
commit
95ebd7af03
38 changed files with 2329 additions and 0 deletions
52
dot_config/sketchybar/default.lua
Normal file
52
dot_config/sketchybar/default.lua
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
local settings = require("settings")
|
||||
local colors = require("colors")
|
||||
|
||||
-- Equivalent to the --default domain
|
||||
sbar.default({
|
||||
updates = "when_shown",
|
||||
icon = {
|
||||
font = {
|
||||
family = settings.font.text,
|
||||
style = settings.font.style_map["Bold"],
|
||||
size = 14.0
|
||||
},
|
||||
color = colors.white,
|
||||
padding_left = settings.paddings,
|
||||
padding_right = settings.paddings,
|
||||
background = { image = { corner_radius = 9 } },
|
||||
},
|
||||
label = {
|
||||
font = {
|
||||
family = settings.font.text,
|
||||
style = settings.font.style_map["Semibold"],
|
||||
size = 13.0
|
||||
},
|
||||
color = colors.white,
|
||||
padding_left = settings.paddings,
|
||||
padding_right = settings.paddings,
|
||||
},
|
||||
background = {
|
||||
height = 28,
|
||||
corner_radius = 9,
|
||||
border_width = 2,
|
||||
border_color = colors.bg2,
|
||||
image = {
|
||||
corner_radius = 9,
|
||||
border_color = colors.grey,
|
||||
border_width = 1
|
||||
}
|
||||
},
|
||||
popup = {
|
||||
background = {
|
||||
border_width = 2,
|
||||
corner_radius = 9,
|
||||
border_color = colors.popup.border,
|
||||
color = colors.popup.bg,
|
||||
shadow = { drawing = true },
|
||||
},
|
||||
blur_radius = 50,
|
||||
},
|
||||
padding_left = 5,
|
||||
padding_right = 5,
|
||||
scroll_texts = true,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue