mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
fwupd and terminal bell configuration
This commit is contained in:
parent
c16f97ae00
commit
49fa6f0b7e
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue