lilipod broken; theme wezterm tabbar with stylix

This commit is contained in:
William 2024-09-18 21:10:01 -03:00
parent b2ff93693a
commit bbd092c80d
2 changed files with 72 additions and 77 deletions

View file

@ -34,7 +34,7 @@ in {
krita
libfido2
libreoffice-qt
lilipod
# lilipod
mangohud
microsoft-edge
mission-center

View file

@ -1,13 +1,16 @@
{ config, pkgs, lib, ... }:
{
let
tabbar-background = config.lib.stylix.colors.withHashtag.base01;
active-tab-background = config.lib.stylix.colors.withHashtag.base00;
foreground = config.lib.stylix.colors.withHashtag.base05;
in {
programs.wezterm = {
enable = true;
extraConfig = ''
local act = wezterm.action
local function get_initial_cols_by_hostname()
local hostname = wezterm.hostname()
if hostname == "rotterdam" then
return 110
elseif hostname == "io" then
@ -16,33 +19,25 @@
return 110
end
end
return {
disable_default_key_bindings = true,
use_fancy_tab_bar = true,
window_frame = {
active_titlebar_bg = '#303446',
inactive_titlebar_bg = '#303446',
},
colors = {
tab_bar = {
background = '#303446',
active_tab = {
bg_color = '#1e1e2e',
fg_color = '#9197b0',
},
inactive_tab = {
bg_color = '#303446',
fg_color = '#9197b0'
},
inactive_tab_edge = '#303062',
new_tab = { bg_color = "#303446", fg_color = "#9197b0", },
new_tab_hover = { bg_color = "#9197b0", fg_color = "#303446", },
background = '${tabbar-background}',
active_tab = { bg_color = '${active-tab-background}', fg_color = '${foreground}', },
inactive_tab = { bg_color = '${tabbar-background}', fg_color = '${foreground}', },
inactive_tab_edge = '${tabbar-background}',
new_tab = { bg_color = '${tabbar-background}', fg_color = '${foreground}', },
new_tab_hover = { bg_color = '${foreground}', fg_color = '${tabbar-background}', },
},
},
window_frame = {
active_titlebar_bg = '${tabbar-background}',
inactive_titlebar_bg = '${tabbar-background}',
},
use_fancy_tab_bar = true,
initial_cols = get_initial_cols_by_hostname(),
initial_rows = 32,
enable_scroll_bar = true,
inactive_pane_hsb = {
saturation = 0.7,
brightness = 0.5