mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-27 00:48:30 +02:00
fwupd and terminal bell configuration
This commit is contained in:
parent
c16f97ae00
commit
49fa6f0b7e
3 changed files with 9 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue