modules: Add waycorner

This commit is contained in:
Donovan Glover 2023-06-10 19:07:55 -04:00
parent 1b0fe2d78f
commit 73282e699b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 27 additions and 0 deletions

View File

@ -24,6 +24,7 @@
./swaylock
./thunar
./waybar
./waycorner
./xdg-user-dirs
./zathura
];

View File

@ -0,0 +1,26 @@
{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
'';
}
];
}