Autostart xmodmap

This commit is contained in:
Dave Gallant
2023-01-08 23:09:31 -05:00
parent c4d5423c8e
commit 8058fb33c2
3 changed files with 11 additions and 3 deletions

View File

@@ -398,6 +398,7 @@ in {
};
home.file.".Xmodmap".source = ./.Xmodmap;
home.file.".config/autostart/xmodmap.desktop".source = ./xmodmap.desktop;
home.file.".config/nvim/lua".source = ./nvim/lua;
home.file.".config/srv".source = ./srv;

7
home/xmodmap.desktop Normal file
View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Name[en_US]=Xmodmap
Comment[en_US]=xmodmap ~/.Xmodmap
Exec=sh -c "xmodmap $HOME/.Xmodmap"
Icon=application-default-icon
X-GNOME-Autostart-enabled=true
Type=Application