This commit is contained in:
Yuri Zamyatin 2025-06-26 22:14:36 +00:00
parent 54836c9435
commit 539681260b
3 changed files with 11 additions and 4 deletions

View File

@ -3,4 +3,8 @@
role="$1" role="$1"
shift shift
aichat --role "$role" "$@" if [ -n "$1" ]; then
aichat --role "$role" "$@"
else
aichat --role "$role" --session
fi

View File

@ -1,9 +1,10 @@
format=<b>%s - %a</b>\n%b format=<span size="{{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }}pt" weight="bold">%s - %a</span>\n%b
font=Roboto 10 font={{ .theme.font.name_regular }} {{ .theme.font.size_base_pt }}
background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} background-color=#{{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }}
border-size=2 border-size=2
border-radius=4 border-radius=4
border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }}
padding=5,10 padding=5,10
width=400 width=600
progress-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} progress-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }}
layer=overlay

View File

@ -41,6 +41,8 @@ c.bindings.key_mappings.update(dict(zip("ьЬыЫфФпПбБжЖлЛуУяЯа
# styles # styles
#c.colors.webpage.preferred_color_scheme = 'dark' #c.colors.webpage.preferred_color_scheme = 'dark'
c.colors.webpage.darkmode.enabled = True c.colors.webpage.darkmode.enabled = True
c.colors.webpage.darkmode.threshold.background = 128
c.colors.webpage.darkmode.threshold.foreground = 127
c.colors.webpage.bg = '#'+env['QB_THEME_COLOR_BG'] c.colors.webpage.bg = '#'+env['QB_THEME_COLOR_BG']
c.fonts.default_family = 'Roboto' c.fonts.default_family = 'Roboto'
########################################## ##########################################