mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
add waycorner
This commit is contained in:
parent
fda4391c57
commit
204248240a
3 changed files with 19 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
./niri
|
||||
./swhkd.nix
|
||||
./maomaowm
|
||||
./waycorner.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
swww
|
||||
|
|
|
|||
|
|
@ -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; } ''
|
||||
|
|
|
|||
16
home/programs/desktop/waycorner.nix
Normal file
16
home/programs/desktop/waycorner.nix
Normal 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 = ""
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue