Compare commits

...

4 Commits

Author SHA1 Message Date
Sam 87f30f8ace Define cursor and use xresources module 2024-07-20 20:23:02 +01:00
Sam a5e41acf63 Use -merge in xrdb 2024-07-20 20:22:41 +01:00
Sam 21bdc107eb Add gtk cursor theme 2024-07-20 20:22:02 +01:00
Sam d56fc29336 MODIFY: Tweak semita scaling 2024-07-20 18:49:27 +01:00
4 changed files with 57 additions and 46 deletions

View File

@ -2,16 +2,22 @@
{ {
# 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 = [ pkgs.dconf ]; home.packages = [
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 ~/.Xresources xrdb -merge ~/.Xresources
autostart="clipboard-save dwmblocks feh-wallpaper-changer sxhkd" autostart="clipboard-save dwmblocks feh-wallpaper-changer sxhkd"

View File

@ -1,4 +1,5 @@
{ config { pkgs
, config
, ... , ...
}: { }: {
imports = [ imports = [
@ -40,9 +41,15 @@
}; };
}; };
home.file.".Xresources" = { home.pointerCursor = {
recursive = true; x11.enable = true;
text = '' name = "Vimix-Cursors";
package = pkgs.vimix-cursor-theme;
size = 64;
gtk.enable = true;
};
xresources.extraConfig = ''
! st ! st
st.alpha: 0.8 st.alpha: 0.8
St.font: monospace:pixelsize=21:antialias=true:autohint=true; St.font: monospace:pixelsize=21:antialias=true:autohint=true;
@ -74,8 +81,6 @@
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 = "1.8"; GDK_SCALE = "2";
GDK_DPI_SCALE = "0.4"; GDK_DPI_SCALE = "0.6";
_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";