mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-02 13:13:08 +01:00
27 lines
740 B
Nix
27 lines
740 B
Nix
|
{pkgs, ...}:
|
||
|
{
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
waycorner
|
||
|
];
|
||
|
|
||
|
home-manager.sharedModules = [
|
||
|
{
|
||
|
xdg.configFile."waycorner/config.toml".text = ''
|
||
|
[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
|
||
|
'';
|
||
|
}
|
||
|
];
|
||
|
}
|