mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
877ce570bf
This is possible since each home-manager module is now its own self-contained nix file.
20 lines
628 B
Nix
20 lines
628 B
Nix
{ pkgs, ... }: {
|
|
home.packages = with pkgs; [ waycorner ];
|
|
|
|
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
|
|
'';
|
|
}
|