diff options
author | Profpatsch <mail@profpatsch.de> | 2021-03-05 22:31:54 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-03-05 22:56:29 +0100 |
commit | 6e80c6cfeb9930f83f6d109a5b76cc839e38de23 (patch) | |
tree | 3b0dbb7f1632a0d74a8dcc6ab3159fa6b75d26a4 | |
parent | fe262baf4d2f3085caa3bb45e1d3ef7150bd70a0 (diff) |
machines/shiki: make dunst follow keyboard focus
-rw-r--r-- | machines/profpatsch/shiki.nix | 3 | ||||
-rw-r--r-- | modules/user/profpatsch/services/dunst.nix | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 53ee4765..88505105 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -372,10 +372,13 @@ in { enable = true; settings = { global = { + verbosity = "info"; font = "Sans 14"; markup = "full"; padding = 3; horizontal_padding = 3; + # follow keyboard focus + follow = "keyboard"; }; }; iconTheme = { diff --git a/modules/user/profpatsch/services/dunst.nix b/modules/user/profpatsch/services/dunst.nix index a43c24d0..53758f20 100644 --- a/modules/user/profpatsch/services/dunst.nix +++ b/modules/user/profpatsch/services/dunst.nix @@ -70,6 +70,7 @@ in { BusName = "org.freedesktop.Notifications"; ExecStart = "${lib.getBin pkgs.dunst}/bin/dunst -config ${pkgs.writeText "dunst.conf" (toDunstINI cfg.settings)}"; Restart = "on-failure"; + RestartSec = "1"; }; partOf = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ]; |