mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-01 10:26:13 +02:00
modules: Add waycorner
This commit is contained in:
parent
1b0fe2d78f
commit
73282e699b
@ -24,6 +24,7 @@
|
||||
./swaylock
|
||||
./thunar
|
||||
./waybar
|
||||
./waycorner
|
||||
./xdg-user-dirs
|
||||
./zathura
|
||||
];
|
||||
|
26
modules/waycorner/default.nix
Normal file
26
modules/waycorner/default.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user