fueeessseee :PPPPP

This commit is contained in:
xqtc 2024-07-19 16:11:33 +02:00
parent 442e9d12cd
commit 591c349c85
5 changed files with 59 additions and 2 deletions

View file

@ -141,7 +141,7 @@ static const enum libinput_config_tap_button_map button_map =
} }
/* commands */ /* commands */
static const char *termcmd[] = {"wezterm", NULL}; static const char *termcmd[] = {"foot", NULL};
static const char *menucmd[] = {"rofi", "-show", "drun", "-show-icons", NULL}; static const char *menucmd[] = {"rofi", "-show", "drun", "-show-icons", NULL};
static const char *shmenucmd[] = {"rofi", "-show", "run", "-show-icons", NULL}; static const char *shmenucmd[] = {"rofi", "-show", "run", "-show-icons", NULL};
static const char *lockcmd[] = {"swaylock", static const char *lockcmd[] = {"swaylock",

View file

@ -124,6 +124,14 @@ wezterm.on('update-status', function(window, pane)
}) })
end) end)
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
if gpu.backend == 'Vulkan' and gpu.device_type == 'IntegratedGpu' then
config.webgpu_preferred_adapter = gpu
config.front_end = 'WebGpu'
break
end
end
config.hide_tab_bar_if_only_one_tab = false config.hide_tab_bar_if_only_one_tab = false
config.use_fancy_tab_bar = false config.use_fancy_tab_bar = false
config.text_background_opacity = 0.3 config.text_background_opacity = 0.3
@ -132,6 +140,5 @@ config.enable_tab_bar = true
config.tab_bar_at_bottom = true config.tab_bar_at_bottom = true
config.hide_mouse_cursor_when_typing = false config.hide_mouse_cursor_when_typing = false
config.enable_wayland = true config.enable_wayland = true
config.front_end = "OpenGL"
config.warn_about_missing_glyphs = false config.warn_about_missing_glyphs = false
return config return config

View file

@ -12,6 +12,7 @@
./dwl.nix ./dwl.nix
./wm.nix ./wm.nix
./gtk.nix ./gtk.nix
./foot.nix
./qt.nix ./qt.nix
./home-pkgs.nix ./home-pkgs.nix
./git.nix ./git.nix

47
home/modules/foot.nix Normal file
View file

@ -0,0 +1,47 @@
{
config,
lib,
...
}: {
programs.foot = {
enable = true;
settings = {
main = {
font = "ComicShannsMono Nerd Font Mono:size=11";
dpi-aware = "yes";
};
colors = {
foreground = "cdd6f4";
background = "1e1e2e";
regular0 = "45475a";
regular1 = "f38ba8";
regular2 = "a6e3a1";
regular3 = "f9e2af";
regular4 = "89b4fa";
regular5 = "f5c2e7";
regular6 = "94e2d5";
regular7 = "bac2de";
bright0 = "585b70";
bright1 = "f38ba8";
bright2 = "a6e3a1";
bright3 = "f9e2af";
bright4 = "89b4fa";
bright5 = "f5c2e7";
bright6 = "94e2d5";
bright7 = "a6adc8";
selection-foreground = "cdd6f4";
selection-background = "414356";
search-box-no-match = "11111b f38ba8";
search-box-match = "cdd6f4 313244";
jump-labels = "11111b fab387";
urls = "89b4fa";
};
};
};
}

View file

@ -44,6 +44,8 @@ in {
pkgs.anki pkgs.anki
pkgs.freetube
pkgs.openvpn pkgs.openvpn
pkgs.moodle-dl pkgs.moodle-dl