pointerCursor + lightdm bullshit

This commit is contained in:
Anish Lakhwara 2022-10-19 21:11:13 +10:00
parent f3e4f71928
commit 8a30a27452
3 changed files with 18 additions and 10 deletions

View file

@ -182,16 +182,20 @@ in
disconnect_keyboard disconnect_keyboard
''; '';
# lightdm.enable = true; lightdm = {
# lightdm.greeters.mini.enable = true; enable = true;
# lightdm.greeters.mini.user = "anish"; # TODO hardcoded background = "/etc/nixos/users/profiles/desktop/background.jpg";
# lightdm.background = "/etc/nixos/users/profiles/desktop/background.jpg"; greeters.mini = {
# lightdm.greeters.mini.extraConfig = '' enable = true;
# text-color = "#ff79c6" user = "anish";
# password-background-color = "#1E2029" extraConfig = ''
# window-color = "#181a23" text-color = "#ff79c6"
# border-color = "#181a23" password-background-color = "#1E2029"
# ''; window-color = "#181a23"
border-color = "#181a23"
'';
};
};
}; };
windowManager.bspwm.enable = true; windowManager.bspwm.enable = true;
#windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc"; #windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";

View file

@ -10,6 +10,7 @@ in
{ {
home.pointerCursor = { home.pointerCursor = {
x11.enable = true; x11.enable = true;
x11.defaultCursor = "left_ptr";
package = pkgs.capitaine-cursors; package = pkgs.capitaine-cursors;
name = "capitaine-cursors"; name = "capitaine-cursors";
}; };

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Cheap hack to get pointerCursor working because for some reason it doesn't...
xsetroot -xcf /etc/profiles/per-user/anish/share/icons/capitaine-cursors/cursors/left_ptr 32
pkill -u $UID -x polybar pkill -u $UID -x polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done