From 49fa6f0b7e2149a62d9668e44c173887d1b4d7cf Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 4 Mar 2023 19:56:45 +0100 Subject: [PATCH] fwupd and terminal bell configuration --- hosts/thinkpad/default.nix | 1 + users/rouven/modules/foot/default.nix | 5 +++++ users/rouven/modules/hyprland/default.nix | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 038434b..40345d3 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -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 diff --git a/users/rouven/modules/foot/default.nix b/users/rouven/modules/foot/default.nix index 2327dc4..904e74e 100644 --- a/users/rouven/modules/foot/default.nix +++ b/users/rouven/modules/foot/default.nix @@ -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; diff --git a/users/rouven/modules/hyprland/default.nix b/users/rouven/modules/hyprland/default.nix index 0d11934..2ef2946 100644 --- a/users/rouven/modules/hyprland/default.nix +++ b/users/rouven/modules/hyprland/default.nix @@ -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 ''; };