mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:00:32 +01:00
fueeessseee :PPPPP
This commit is contained in:
parent
442e9d12cd
commit
591c349c85
|
@ -141,7 +141,7 @@ static const enum libinput_config_tap_button_map button_map =
|
|||
}
|
||||
|
||||
/* 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 *shmenucmd[] = {"rofi", "-show", "run", "-show-icons", NULL};
|
||||
static const char *lockcmd[] = {"swaylock",
|
||||
|
|
|
@ -124,6 +124,14 @@ wezterm.on('update-status', function(window, pane)
|
|||
})
|
||||
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.use_fancy_tab_bar = false
|
||||
config.text_background_opacity = 0.3
|
||||
|
@ -132,6 +140,5 @@ config.enable_tab_bar = true
|
|||
config.tab_bar_at_bottom = true
|
||||
config.hide_mouse_cursor_when_typing = false
|
||||
config.enable_wayland = true
|
||||
config.front_end = "OpenGL"
|
||||
config.warn_about_missing_glyphs = false
|
||||
return config
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
./dwl.nix
|
||||
./wm.nix
|
||||
./gtk.nix
|
||||
./foot.nix
|
||||
./qt.nix
|
||||
./home-pkgs.nix
|
||||
./git.nix
|
||||
|
|
47
home/modules/foot.nix
Normal file
47
home/modules/foot.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -44,6 +44,8 @@ in {
|
|||
|
||||
pkgs.anki
|
||||
|
||||
pkgs.freetube
|
||||
|
||||
pkgs.openvpn
|
||||
|
||||
pkgs.moodle-dl
|
||||
|
|
Loading…
Reference in a new issue