fwupd and terminal bell configuration

This commit is contained in:
Rouven Seifert 2023-03-04 19:56:45 +01:00
parent c16f97ae00
commit 49fa6f0b7e
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 9 additions and 3 deletions

View file

@ -84,6 +84,7 @@
fprintd.enable = true; # log in using fingerprint
openssh.enable = true; # enabled ssh to have the host keys
btrfs.autoScrub.enable = true; # periodically check filesystem and repair it
fwupd.enable = true; # firmware updates
};
programs.steam.enable = true; # putting steam in here cause in home manager it doesn't work

View file

@ -13,6 +13,11 @@
font = "monospace:family=Iosevka Nerd Font, size=8";
};
cursor.color = "${colors.background} ${colors.foreground}";
bell = {
urgent = true;
notify = true;
#command = "${pkgs.notify-desktop}/bin/notify-desktop a";
};
colors =
let
colors = config.colorScheme.colors;

View file

@ -10,7 +10,7 @@
home.packages = with pkgs; [
pulseaudio # installed to have pactl
jq
notify-desktop
libnotify
wofi
wl-clipboard
grim
@ -64,12 +64,12 @@
'';
"mako/do-not-disturb.sh".text = ''
if [[ $(makoctl mode) = 'default' ]];then
notify-desktop 'Enabled Do Not Disturb mode'
notify-send 'Enabled Do Not Disturb mode'
sleep 5
makoctl mode -s do-not-disturb
else
makoctl mode -s default
notify-desktop 'Disabled Do Not Disturb mode'
notify-send 'Disabled Do Not Disturb mode'
fi
'';
};