1
0
forked from extern/nix-config
donovanglover-nix-config/modules/waycorner/default.nix
Donovan Glover 43a07cc8d9
treewide: Switch from alejandra to nixpkgs-fmt
Neither nixfmt nor alejandra support the "standard" way to syntax
highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable
solution.
2023-06-11 09:37:27 -04:00

26 lines
753 B
Nix

{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
waycorner
];
home-manager.sharedModules = [
{
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
[show_desktop]
enter_command = [ "hyprctl", "dispatch", "workspace", "empty" ]
exit_command = [ "hyprctl", "dispatch", "workspace", "previous"]
locations = ["bottom_right"] # default
size = 10
timeout_ms = 250
'';
}
];
}