Fix typo and disable bell sound

This commit is contained in:
Julian Mutter 2024-06-28 08:44:21 +02:00
parent 5f0e729d9f
commit 740f7a5ca5
2 changed files with 4 additions and 2 deletions

View File

@ -47,9 +47,11 @@ in
]; ];
xsession.enable = true; # Give gui programs access to sessionVariables xsession.enable = true; # Give gui programs access to sessionVariables
# Prevent screen from going blank (check these settings with `xset q`) # Prevent screen from going blank (check these settings with `xset q`)
# And disable bell sound (b)
xsession.initExtra = '' xsession.initExtra = ''
${pkgs.xorg.xset}/bin/xset s off ${pkgs.xorg.xset}/bin/xset s off
${pkgs.xorg.xset}/bin/xset -dpms ${pkgs.xorg.xset}/bin/xset -dpms
${pkgs.xorg.xset}/bin/xset b off
''; '';
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;

View File

@ -33,8 +33,8 @@ in
shellIntegration.enableFishIntegration = true; shellIntegration.enableFishIntegration = true;
theme = "Catppuccin-Mocha"; theme = "Catppuccin-Mocha";
settings = { settings = {
enable_audo_bell = false; enable_audio_bell = false;
confirm_os_window_close = 0; # disabled confirm_os_window_close = 0; # no ask on quit
}; };
font = { font = {
package = pkgs.dejavu_fonts; package = pkgs.dejavu_fonts;