add waycorner

This commit is contained in:
EdenQwQ 2025-04-06 18:43:08 +08:00
parent fda4391c57
commit 204248240a
3 changed files with 19 additions and 0 deletions

View file

@ -7,6 +7,7 @@
./niri
./swhkd.nix
./maomaowm
./waycorner.nix
];
home.packages = with pkgs; [
swww

View file

@ -14,6 +14,7 @@ let
wlsunset
systemd
killall
waycorner
];
extraShellCheckFlags = [ ];
bashOptions = [ ];
@ -28,6 +29,7 @@ let
swww-daemon &
clash-meta -d ~/.config/clash &
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
waycorner &
'';
};
niri-blur-wallpaper = pkgs.writers.writePython3Bin "niri-blur-wallpaper" { doCheck = false; } ''

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.waycorner ];
xdg.configFile."waycorner/config.toml".text = ''
[niri-overview]
enter_command = ["niri", "msg", "action", "toggle-overview"]
locations = ["top_right"]
size = 10
margin = 20
timeout_ms = 250
color = "#FFFF0000"
[niri-overview.output]
description = ""
'';
}