trying to fix cursors, a little bit of other rando sutff

This commit is contained in:
Matt Nish-Lapidus 2025-06-24 11:51:17 -04:00
parent f2e82582d6
commit 5dd23ca10b
6 changed files with 72 additions and 62 deletions

View file

@ -151,24 +151,25 @@
mangohud
dualsensectl.out
# wpaperd
# inputs.xwayland-satellite.packages.x86_64-linux.default
];
home.pointerCursor = {
enable = true;
name = pkgs.rice.cursor.name;
package = pkgs.bibata-cursors;
size = 32;
package = pkgs.rice.cursor.package;
size = pkgs.rice.cursor.size;
gtk.enable = true;
x11.enable = true;
dotIcons.enable = true;
hyprcursor.enable = true;
};
gtk = {
enable = true;
cursorTheme = {
name = pkgs.rice.cursor.name;
package = pkgs.bibata-cursors;
package = pkgs.rice.cursor.package;
size = pkgs.rice.cursor.size;
};
theme = {
name = "Colloid";
@ -214,9 +215,13 @@
enable = true;
packages = [
"com.github.tchx84.Flatseal"
"dev.qwery.AddWater"
"com.valvesoftware.SteamLink"
];
overrides = {
global = {
Context.filesystems = [ "/nix/store:ro" ];
};
};
};
swayosd = {
enable = true;
@ -262,24 +267,24 @@
# };
# };
# xdg.portal = {
# enable = true;
# configPackages = [ pkgs.niri-unstable ];
# extraPortals = with pkgs; [
# xdg-desktop-portal-gnome
# xdg-desktop-portal-gtk
# xdg-desktop-portal
# xdg-desktop-portal-wlr
# gnome-keyring
# xdg-desktop-portal-termfilechooser
# ];
# config = {
# common = {
# default = [ "gtk" ];
# "org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
# };
# };
# };
xdg.portal = {
enable = true;
configPackages = [ pkgs.niri-unstable ];
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal
xdg-desktop-portal-wlr
gnome-keyring
xdg-desktop-portal-termfilechooser
];
config = {
common = {
default = [ "gtk" ];
# "org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
};
};
};
# home.sessionVariables.TERMCMD = "wezterm --class=file_chooser";

View file

@ -1,6 +1,5 @@
{
config,
nix-config,
pkgs,
...
}:
@ -17,7 +16,7 @@ in
honor-xdg-activation-with-invalid-serial = [];
};
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
screenshot-path = "~/pictures/screenshots/screenshot-%Y-%m-%d %H-%M-%S.png";
prefer-no-csd = true;
spawn-at-startup = [
@ -65,6 +64,13 @@ in
accel-profile = "adaptive";
};
trackball = {
natural-scroll = true;
accel-speed = 0.1;
accel-profile = "adaptive";
scroll-method = "on-button-down";
};
workspace-auto-back-and-forth = true;
};
@ -84,12 +90,10 @@ in
width = 3840;
height = 2160;
};
# background-color = strPalette.normal.background;
scale = 1;
};
"HDMI-A-1" = {
# background-color = strPalette.normal.background;
scale = 1;
};
@ -103,8 +107,8 @@ in
};
cursor = {
theme = "Bibata-Modern-Classic";
# size = 32;
theme = pkgs.rice.cursor.name;
size = pkgs.rice.cursor.size;
hide-after-inactive-ms = 10000;
};
@ -198,7 +202,6 @@ in
{ app-id = "polkit-kde-authentication-agent-1"; }
{ app-id = "Zoom Workdplace"; title = ".*menu.*"; }
{ app-id = "org.gnome.Evolution"; title = "Appointment$"; }
{ app-id = ".MOZ_APP_LAUNCHER.$"; }
];
open-floating = true;
}
@ -267,8 +270,8 @@ in
];
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off";
lid-open.action = spawn "niri msg output eDP-1 on";
lid-close.action = spawn "niri msg output eDP-1 off";
};
binds =