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
'';
# lightdm.enable = true;
# lightdm.greeters.mini.enable = true;
# lightdm.greeters.mini.user = "anish"; # TODO hardcoded
# lightdm.background = "/etc/nixos/users/profiles/desktop/background.jpg";
# lightdm.greeters.mini.extraConfig = ''
# text-color = "#ff79c6"
# password-background-color = "#1E2029"
# window-color = "#181a23"
# border-color = "#181a23"
# '';
lightdm = {
enable = true;
background = "/etc/nixos/users/profiles/desktop/background.jpg";
greeters.mini = {
enable = true;
user = "anish";
extraConfig = ''
text-color = "#ff79c6"
password-background-color = "#1E2029"
window-color = "#181a23"
border-color = "#181a23"
'';
};
};
};
windowManager.bspwm.enable = true;
#windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";

View file

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

View file

@ -1,5 +1,8 @@
#!/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
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done