Compare commits

..

No commits in common. "87f30f8ace2a8e486b5896cfc68242d2f1e9834a" and "9788e0d6e2e6aa80fa95b65bb19e0d62231a3785" have entirely different histories.

4 changed files with 42 additions and 53 deletions

View File

@ -2,22 +2,16 @@
{ {
# Prevent error when enabling gtk https://github.com/nix-community/home-manager/issues/3113 # Prevent error when enabling gtk https://github.com/nix-community/home-manager/issues/3113
# error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files # error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
home.packages = [ home.packages = [ pkgs.dconf ];
pkgs.dconf
pkgs.vimix-cursor-theme
];
gtk.enable = true; gtk.enable = true;
home.file.".icons/default".source = "${pkgs.vimix-cursor-theme}/share/icons/Vimix-Cursors";
home.file = {
".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
};
# Get details about theme package # Get details about theme package
#cd $(nix build nixpkgs#kanagawa-gtk-theme --print-out-paths --no-link) && nix run nixpkgs#eza -- --tree --level 4 #cd $(nix build nixpkgs#kanagawa-gtk-theme --print-out-paths --no-link) && nix run nixpkgs#eza -- --tree --level 4
gtk.theme.package = pkgs.kanagawa-gtk-theme; gtk.theme.package = pkgs.kanagawa-gtk-theme;
gtk.cursorTheme = {
name = "Vimix-Cursors";
package = pkgs.vimix-cursor-theme;
};
gtk.theme.name = "Kanagawa-B"; gtk.theme.name = "Kanagawa-B";
gtk.iconTheme.package = pkgs.kanagawa-icon-theme; gtk.iconTheme.package = pkgs.kanagawa-icon-theme;

View File

@ -6,7 +6,7 @@
text = '' text = ''
picom -b --config ~/.config/picom/picom.conf picom -b --config ~/.config/picom/picom.conf
xrdb -merge ~/.Xresources xrdb ~/.Xresources
autostart="clipboard-save dwmblocks feh-wallpaper-changer sxhkd" autostart="clipboard-save dwmblocks feh-wallpaper-changer sxhkd"

View File

@ -1,5 +1,4 @@
{ pkgs { config
, config
, ... , ...
}: { }: {
imports = [ imports = [
@ -41,46 +40,42 @@
}; };
}; };
home.pointerCursor = { home.file.".Xresources" = {
x11.enable = true; recursive = true;
name = "Vimix-Cursors"; text = ''
package = pkgs.vimix-cursor-theme; ! st
size = 64; st.alpha: 0.8
gtk.enable = true; St.font: monospace:pixelsize=21:antialias=true:autohint=true;
}; St.font2: NotoColorEmoji:pixelsize=19:antialias=true:autohint=true;
xresources.extraConfig = '' ! dwm
! st dwm.borderpx: 3
st.alpha: 0.8 dwm.font: monospace:size=12
St.font: monospace:pixelsize=21:antialias=true:autohint=true; dwm.col_base00: #${config.colorScheme.colors.base00}
St.font2: NotoColorEmoji:pixelsize=19:antialias=true:autohint=true; dwm.col_base03: #${config.colorScheme.colors.base03}
dwm.col_base04: #${config.colorScheme.colors.base04}
dwm.col_base05: #${config.colorScheme.colors.base05}
dwm.col_base08: #${config.colorScheme.colors.base08}
dwm.col_base0B: #${config.colorScheme.colors.base0B}
! dwm ! dmenu
dwm.borderpx: 3 dmenu.font: monospace:size=12
dwm.font: monospace:size=12 dmenu.font2: NotoColorEmoji:pixelsize=22:antialias=true:autohint=true
dwm.col_base00: #${config.colorScheme.colors.base00} dmenu.topbar: 1
dwm.col_base03: #${config.colorScheme.colors.base03} dmenu.normfgcolor: #${config.colorScheme.colors.base05}
dwm.col_base04: #${config.colorScheme.colors.base04} dmenu.normbgcolor: #${config.colorScheme.colors.base03}
dwm.col_base05: #${config.colorScheme.colors.base05} dmenu.selfgcolor: #${config.colorScheme.colors.base00}
dwm.col_base08: #${config.colorScheme.colors.base08} dmenu.selbgcolor: #${config.colorScheme.colors.base0B}
dwm.col_base0B: #${config.colorScheme.colors.base0B}
! dmenu Nsxiv.window.background: #${config.colorScheme.colors.base03}
dmenu.font: monospace:size=12 Nsxiv.window.foreground: #${config.colorScheme.colors.base05}
dmenu.font2: NotoColorEmoji:pixelsize=22:antialias=true:autohint=true Nsxiv.mark.foreground: #${config.colorScheme.colors.base08}
dmenu.topbar: 1
dmenu.normfgcolor: #${config.colorScheme.colors.base05}
dmenu.normbgcolor: #${config.colorScheme.colors.base03}
dmenu.selfgcolor: #${config.colorScheme.colors.base00}
dmenu.selbgcolor: #${config.colorScheme.colors.base0B}
Nsxiv.window.background: #${config.colorScheme.colors.base03}
Nsxiv.window.foreground: #${config.colorScheme.colors.base05}
Nsxiv.mark.foreground: #${config.colorScheme.colors.base08}
Nsxiv.bar.background: #${config.colorScheme.colors.base00} Nsxiv.bar.background: #${config.colorScheme.colors.base00}
Nsxiv.bar.foreground: #${config.colorScheme.colors.base05} Nsxiv.bar.foreground: #${config.colorScheme.colors.base05}
Nsxiv.bar.font: monospace:size=12 Nsxiv.bar.font: monospace:size=12
'';
'';
};
} }

View File

@ -53,8 +53,8 @@ in
}; };
environment.variables = { environment.variables = {
GDK_SCALE = "2"; GDK_SCALE = "1.8";
GDK_DPI_SCALE = "0.6"; GDK_DPI_SCALE = "0.4";
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=1.8"; _JAVA_OPTIONS = "-Dsun.java2d.uiScale=1.8";
QT_AUTO_SCREEN_SCALE_FACTOR = "1"; QT_AUTO_SCREEN_SCALE_FACTOR = "1";
XCURSOR_SIZE = "32"; XCURSOR_SIZE = "32";