lilipod broken; theme wezterm tabbar with stylix
This commit is contained in:
parent
b2ff93693a
commit
bbd092c80d
2 changed files with 72 additions and 77 deletions
|
|
@ -34,7 +34,7 @@ in {
|
||||||
krita
|
krita
|
||||||
libfido2
|
libfido2
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
lilipod
|
# lilipod
|
||||||
mangohud
|
mangohud
|
||||||
microsoft-edge
|
microsoft-edge
|
||||||
mission-center
|
mission-center
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,16 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ 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 = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
local act = wezterm.action
|
local act = wezterm.action
|
||||||
local function get_initial_cols_by_hostname()
|
local function get_initial_cols_by_hostname()
|
||||||
local hostname = wezterm.hostname()
|
local hostname = wezterm.hostname()
|
||||||
|
|
||||||
if hostname == "rotterdam" then
|
if hostname == "rotterdam" then
|
||||||
return 110
|
return 110
|
||||||
elseif hostname == "io" then
|
elseif hostname == "io" then
|
||||||
|
|
@ -16,33 +19,25 @@
|
||||||
return 110
|
return 110
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
disable_default_key_bindings = true,
|
disable_default_key_bindings = true,
|
||||||
use_fancy_tab_bar = true,
|
|
||||||
window_frame = {
|
|
||||||
active_titlebar_bg = '#303446',
|
|
||||||
inactive_titlebar_bg = '#303446',
|
|
||||||
},
|
|
||||||
colors = {
|
colors = {
|
||||||
tab_bar = {
|
tab_bar = {
|
||||||
background = '#303446',
|
background = '${tabbar-background}',
|
||||||
active_tab = {
|
active_tab = { bg_color = '${active-tab-background}', fg_color = '${foreground}', },
|
||||||
bg_color = '#1e1e2e',
|
inactive_tab = { bg_color = '${tabbar-background}', fg_color = '${foreground}', },
|
||||||
fg_color = '#9197b0',
|
inactive_tab_edge = '${tabbar-background}',
|
||||||
},
|
new_tab = { bg_color = '${tabbar-background}', fg_color = '${foreground}', },
|
||||||
inactive_tab = {
|
new_tab_hover = { bg_color = '${foreground}', fg_color = '${tabbar-background}', },
|
||||||
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", },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
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_cols = get_initial_cols_by_hostname(),
|
||||||
initial_rows = 32,
|
initial_rows = 32,
|
||||||
enable_scroll_bar = true,
|
|
||||||
inactive_pane_hsb = {
|
inactive_pane_hsb = {
|
||||||
saturation = 0.7,
|
saturation = 0.7,
|
||||||
brightness = 0.5
|
brightness = 0.5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue