cleanup sudo usage
This commit is contained in:
parent
ac684779eb
commit
1abd5a0ec3
@ -3,10 +3,5 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
settings = {
|
|
||||||
sudo = {
|
|
||||||
disabled = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
# Display
|
# Display
|
||||||
"Alt+Shift+l" = "exec ${pkgs.swaylock}/bin/swaylock"; # Lock screen
|
"Alt+Shift+l" = "exec ${pkgs.swaylock}/bin/swaylock"; # Lock screen
|
||||||
"XF86ScreenSaver" = "output 'eDP-1' toggle"; # Turn screen off
|
"XF86ScreenSaver" = "output 'eDP-1' toggle"; # Turn screen off
|
||||||
"XF86MonBrightnessUp" = "exec sudo ${pkgs.light}/bin/light -A 10";
|
"XF86MonBrightnessUp" = "exec doas ${pkgs.light}/bin/light -A 10";
|
||||||
"XF86MonBrightnessDown" = "exec sudo ${pkgs.light}/bin/light -U 10";
|
"XF86MonBrightnessDown" = "exec doas ${pkgs.light}/bin/light -U 10";
|
||||||
# Programs
|
# Programs
|
||||||
"${modifier}+p" = "exec ${menu}";
|
"${modifier}+p" = "exec ${menu}";
|
||||||
"${modifier}+Shift+a" = "exec screenshot area";
|
"${modifier}+Shift+a" = "exec screenshot area";
|
||||||
|
Loading…
Reference in New Issue
Block a user