blob: d06cea41614faf3dfe829b17fb66ba7cb18b6796 [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ pkgs, ... }:
2let
Skyler Greyb562da32022-09-01 23:36:28 +01003 config = {
4 left = {
Skyler Greyf7202b82022-10-31 00:33:07 +00005 /* enter_command = [ ./systemd-inhibit/inhibit-idle.sh ]; */
Skyler Grey252927a2022-10-18 22:18:15 +01006 exit_command = [ ./systemd-inhibit/stop-inhibiting-idle.sh ];
7 locations = [ "bottom_right" "bottom_left" ];
Skyler Greyb562da32022-09-01 23:36:28 +01008 size = 10;
9 timeout_ms = 250;
10 };
Skyler Greyf7202b82022-10-31 00:33:07 +000011 left.output.description = "";
Skyler Greyb562da32022-09-01 23:36:28 +010012 };
Skyler Grey252927a2022-10-18 22:18:15 +010013in
14{
Skyler Greyb562da32022-09-01 23:36:28 +010015 home = {
16 home = {
Skyler Grey252927a2022-10-18 22:18:15 +010017 packages = [ pkgs.waycorner ];
18 file.".config/waycorner/config.toml".source = (pkgs.formats.toml { }).generate "config.toml" config;
Skyler Greyb562da32022-09-01 23:36:28 +010019 };
20 wayland.windowManager.sway.config.startup = [
Skyler Grey252927a2022-10-18 22:18:15 +010021 { command = "${pkgs.waycorner}/bin/waycorner"; }
Skyler Greyb562da32022-09-01 23:36:28 +010022 ];
23 };
24}