Compare commits
4 Commits
9788e0d6e2
...
87f30f8ace
Author | SHA1 | Date |
---|---|---|
Sam | 87f30f8ace | |
Sam | a5e41acf63 | |
Sam | 21bdc107eb | |
Sam | d56fc29336 |
|
@ -2,16 +2,22 @@
|
|||
{
|
||||
# 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
|
||||
home.packages = [ pkgs.dconf ];
|
||||
home.packages = [
|
||||
pkgs.dconf
|
||||
pkgs.vimix-cursor-theme
|
||||
];
|
||||
gtk.enable = true;
|
||||
|
||||
home.file = {
|
||||
".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||||
};
|
||||
home.file.".icons/default".source = "${pkgs.vimix-cursor-theme}/share/icons/Vimix-Cursors";
|
||||
|
||||
# Get details about theme package
|
||||
#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.cursorTheme = {
|
||||
name = "Vimix-Cursors";
|
||||
package = pkgs.vimix-cursor-theme;
|
||||
};
|
||||
|
||||
gtk.theme.name = "Kanagawa-B";
|
||||
|
||||
gtk.iconTheme.package = pkgs.kanagawa-icon-theme;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
text = ''
|
||||
|
||||
picom -b --config ~/.config/picom/picom.conf
|
||||
xrdb ~/.Xresources
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
autostart="clipboard-save dwmblocks feh-wallpaper-changer sxhkd"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ config
|
||||
{ pkgs
|
||||
, config
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -40,9 +41,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
home.file.".Xresources" = {
|
||||
recursive = true;
|
||||
text = ''
|
||||
home.pointerCursor = {
|
||||
x11.enable = true;
|
||||
name = "Vimix-Cursors";
|
||||
package = pkgs.vimix-cursor-theme;
|
||||
size = 64;
|
||||
gtk.enable = true;
|
||||
};
|
||||
|
||||
xresources.extraConfig = ''
|
||||
! st
|
||||
st.alpha: 0.8
|
||||
St.font: monospace:pixelsize=21:antialias=true:autohint=true;
|
||||
|
@ -74,8 +81,6 @@
|
|||
Nsxiv.bar.background: #${config.colorScheme.colors.base00}
|
||||
Nsxiv.bar.foreground: #${config.colorScheme.colors.base05}
|
||||
Nsxiv.bar.font: monospace:size=12
|
||||
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -53,8 +53,8 @@ in
|
|||
};
|
||||
|
||||
environment.variables = {
|
||||
GDK_SCALE = "1.8";
|
||||
GDK_DPI_SCALE = "0.4";
|
||||
GDK_SCALE = "2";
|
||||
GDK_DPI_SCALE = "0.6";
|
||||
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=1.8";
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||
XCURSOR_SIZE = "32";
|
||||
|
|
Loading…
Reference in New Issue