Move logitech MX fix into shrc files to be more reliable
This commit is contained in:
parent
4f5006f6e0
commit
f183b22ee8
|
@ -14,7 +14,6 @@
|
|||
[ -f "$HOME/.config/nitrogen/bg-saved.cfg" ]\
|
||||
&& ${pkgs.nitrogen}/bin/nitrogen --restore\
|
||||
|| ${pkgs.nitrogen}/bin/nitrogen --set-auto $HOME/.dotfiles/wallpaper/images_dark/5120x2880.png --save
|
||||
${pkgs.xorg.xinput}/bin/xinput set-button-map "Logitech USB Receiver Mouse" 3 2 1
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
extraFlags = [
|
||||
"--quiet"
|
||||
"--ignore-missing"
|
||||
"--noask"
|
||||
];
|
||||
keys = [
|
||||
"id_rsa"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./common.nix
|
||||
./env
|
||||
|
@ -15,5 +15,16 @@
|
|||
userEmail = "evie@xenia.me.uk";
|
||||
};
|
||||
|
||||
# Fix for logitech MX master button ordering...
|
||||
programs.bash.initExtra = ''
|
||||
${pkgs.xorg.xinput}/bin/xinput set-button-map "Logitech USB Receiver Mouse" 3 2 1
|
||||
'';
|
||||
programs.zsh.initExtra = ''
|
||||
${pkgs.xorg.xinput}/bin/xinput set-button-map "Logitech USB Receiver Mouse" 3 2 1
|
||||
'';
|
||||
programs.fish.interactiveShellInit = ''
|
||||
${pkgs.xorg.xinput}/bin/xinput set-button-map "Logitech USB Receiver Mouse" 3 2 1
|
||||
'';
|
||||
|
||||
home.stateVersion = "22.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue