feat: add light theme
This commit is contained in:
parent
1e8844c6a3
commit
fdee4f201d
8 changed files with 130 additions and 5 deletions
|
|
@ -3,10 +3,10 @@
|
|||
gtk = {
|
||||
enable = true;
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
gtk-application-prefer-dark-theme = 0;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
gtk-application-prefer-dark-theme = 0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -65,11 +65,32 @@ in
|
|||
plugins = [ hy3.packages.x86_64-linux.hy3 ];
|
||||
settings = {
|
||||
env = with lib; with nixosConfig.bchmnn; optionals nvidia.enable [
|
||||
"CLUTTER_BACKEND,wayland"
|
||||
"GDK_BACKEND,wayland"
|
||||
"GDK_DPI_SCALE,1"
|
||||
"NIXOS_OZONE_WL,1"
|
||||
"MOZ_ENABLE_WAYLAND,1"
|
||||
"MOZ_USE_XINPUT2,1"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
|
||||
# nvidia
|
||||
"LIBVA_DRIVER_NAME,nvidia"
|
||||
"env = XDG_SESSION_TYPE,wayland"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"GBM_BACKEND,nvidia-drm"
|
||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
"WLR_NO_HARDWARE_CURSORS,1"
|
||||
|
||||
# sdl
|
||||
"SDL_VIDEODRIVER,wayland"
|
||||
|
||||
# qt
|
||||
"QT_QPA_PLATFORM,wayland-egl"
|
||||
# "QT_QPA_PLATFORM,wayland"
|
||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||
|
||||
# java
|
||||
"_JAVA_AWT_WM_NONREPARENTING,1"
|
||||
"_JAVA_OPTIONS,\"-Dawt.useSystemAAFontSettings=on\""
|
||||
];
|
||||
"exec-once" = with pkgs; [
|
||||
"${swaybg}/bin/swaybg -m fill -i ${common.wallpaper}"
|
||||
|
|
|
|||
|
|
@ -3,11 +3,15 @@ let
|
|||
common = (import ../common.nix) { pkgs = pkgs; lib = lib; };
|
||||
in
|
||||
{
|
||||
# alacritty - a cross-platform, GPU-accelerated terminal emulator
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
# custom settings
|
||||
settings = {
|
||||
import = [
|
||||
# Available themes:
|
||||
# https://github.com/alacritty/alacritty-theme
|
||||
|
||||
"${pkgs.alacritty-theme}/atom_one_light.toml"
|
||||
];
|
||||
env.TERM = "xterm-256color";
|
||||
font = {
|
||||
size = 12;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ in
|
|||
"window.titleBarStyle" = "custom";
|
||||
"window.menuBarVisibility" = "toggle";
|
||||
|
||||
"workbench.colorTheme" = "Default Light Modern";
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
|
||||
"extensions.ignoreRecommendations" = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue