diff --git a/arch-user/bin/ai b/arch-user/bin/ai index a300573..f4650e0 100755 --- a/arch-user/bin/ai +++ b/arch-user/bin/ai @@ -3,4 +3,8 @@ role="$1" shift -aichat --role "$role" "$@" +if [ -n "$1" ]; then + aichat --role "$role" "$@" +else + aichat --role "$role" --session +fi diff --git a/arch-user/config/mako/config.tmpl b/arch-user/config/mako/config.tmpl index f2c4235..6714227 100644 --- a/arch-user/config/mako/config.tmpl +++ b/arch-user/config/mako/config.tmpl @@ -1,9 +1,10 @@ -format=%s - %a\n%b -font=Roboto 10 +format=%s - %a\n%b +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" }} border-size=2 border-radius=4 border-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} padding=5,10 -width=400 +width=600 progress-color=#{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} +layer=overlay diff --git a/arch-user/config/qutebrowser/config.py b/arch-user/config/qutebrowser/config.py index b846f1a..0131f42 100644 --- a/arch-user/config/qutebrowser/config.py +++ b/arch-user/config/qutebrowser/config.py @@ -41,6 +41,8 @@ c.bindings.key_mappings.update(dict(zip("ьЬыЫфФпПбБжЖлЛуУяЯа # styles #c.colors.webpage.preferred_color_scheme = 'dark' 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.fonts.default_family = 'Roboto' ##########################################