commit bf2d0b7e1d55d4c1c18d56ccec24c3270c893302
parent 52d0a5e523ef8596cb80b50eeb1d7a1dc9713eb2
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 25 Nov 2024 16:31:20 +0100
parent 52d0a5e523ef8596cb80b50eeb1d7a1dc9713eb2
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 25 Nov 2024 16:31:20 +0100
configurations/common/programs/git: change name
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/configurations/common/programs/git.nix b/configurations/common/programs/git.nix @@ -23,7 +23,7 @@ in { package = pkgs.gitFull; - userName = "Leah (ctucx)"; + userName = "Katja (ctucx)"; userEmail = "git@ctu.cx"; difftastic.enable = true;
diff --git a/pkgs/gdm-autoselect-user.patch b/pkgs/gdm-autoselect-user.patch @@ -0,0 +1,29 @@ +diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js +index 4f51a6f..d7b84d0 100644 +--- a/js/gdm/loginDialog.js ++++ b/js/gdm/loginDialog.js +@@ -182,6 +182,7 @@ const UserList = GObject.registerClass({ + + this.child = this._box; + this._items = {}; ++ this._numUserAdded = 0; + } + + vfunc_key_focus_in() { +@@ -280,6 +281,7 @@ const UserList = GObject.registerClass({ + this._box.add_child(item); + + this._items[userName] = item; ++ this._numUserAdded += 1; + + item.connect('activate', this._onItemActivated.bind(this)); + +@@ -289,6 +291,8 @@ const UserList = GObject.registerClass({ + this._moveFocusToItems(); + + this.emit('item-added', item); ++ if(this._numUserAdded == 1) ++ this.emit('activate', item); + } + + removeUser(user) {+ \ No newline at end of file