nix-config/home/waycorner.nix

22 lines
629 B
Nix
Raw Normal View History

2023-06-22 17:13:46 +02:00
{ pkgs, ... }:
{
home.packages = with pkgs; [ waycorner ];
2023-06-11 01:07:55 +02:00
xdg.configFile."waycorner/config.toml".text = /* toml */ ''
[application_launcher]
enter_command = [ "hyprctl", "dispatch", "workspace", "empty" ]
exit_command = [ "${pkgs.lnch}/bin/lnch", "${pkgs.rofi}/bin/rofi", "-show", "drun" ]
locations = ["top_right"] # default
size = 10
timeout_ms = 250
2023-06-11 01:07:55 +02:00
[show_desktop]
enter_command = [ "hyprctl", "dispatch", "workspace", "empty" ]
exit_command = [ "hyprctl", "dispatch", "workspace", "previous"]
locations = ["bottom_right"] # default
size = 10
timeout_ms = 250
'';
2023-06-11 01:07:55 +02:00
}