Fix cursor

This commit is contained in:
Alexander Bantyev 2021-01-20 17:54:50 +03:00
parent 64e3aeb311
commit 40e25399f5
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
5 changed files with 16 additions and 7 deletions

View File

@ -31,7 +31,6 @@
abiword
gnumeric
gcalcli
breeze-icons
xdg_utils
inputs.yt-utilities.defaultPackage.x86_64-linux
lambda-launcher

View File

@ -12,6 +12,10 @@
gnome-online-accounts.enable = true;
gnome-online-miners.enable = true;
};
environment.sessionVariables.XDG_CURRENT_DESKTOP = "X-Generic";
services.gvfs.enable = true;
services.geoclue2.enable = true;
home-manager.users.balsoft = {

View File

@ -67,7 +67,7 @@ in {
] ++ map (machine: "sftp://${machine}/home/balsoft ${machine}")
(builtins.attrNames config.devices);
extraConfig = {
gtk-cursor-theme-name = "breeze";
gtk-cursor-theme-name = "Breeze";
};
};

View File

@ -15,7 +15,6 @@ with import ../../../support.nix { inherit lib config; }; {
DESKTOP_SESSION = "kde";
QT_XFT = "true";
QT_SELECT = "5";
XDG_CURRENT_DESKTOP = "KDE";
KDE_SESSION_VERSION = "5";
QT_SCALE_FACTOR = "1";
QT_AUTO_SCREEN_SCALE_FACTOR = "0";

View File

@ -2,7 +2,7 @@
programs.sway.enable = true;
users.users.balsoft.extraGroups = [ "sway" ];
systemd.coredump.enable = true;
environment.sessionVariables = {
environment.sessionVariables = config.home-manager.users.balsoft.home.sessionVariables // {
EDITOR = config.defaultApplications.editor.cmd;
VISUAL = config.defaultApplications.editor.cmd;
LESS = "-asrRix8";
@ -10,7 +10,8 @@
QT_QPA_PLATFORM = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
NIX_AUTO_RUN = "1";
} // config.home-manager.users.balsoft.home.sessionVariables;
XCURSOR_PATH = lib.mkForce "/home/balsoft/.icons";
};
services.atd.enable = true;
@ -61,9 +62,15 @@
options = [ "grp:win_space_toggle,grp_led:caps,ctrl:nocaps" ];
layout = "us,ru";
};
home.file.".icons/default".source =
"${pkgs.breeze-qt5}/share/icons/breeze_cursors";
systemd.user.startServices = true;
services.kdeconnect.enable = true;
xsession.pointerCursor = {
package = pkgs.breeze-qt5;
name = "Breeze";
};
home.file.".icons/default".source = "${pkgs.breeze-qt5}/share/icons/breeze_cursors";
};
}