614 current 1970-01-01 01:00:00 24.11.20250421.9684b53 6.6.87 *

This commit is contained in:
2025-04-30 19:30:59 +02:00
parent 5d729b4948
commit dbc625d989
2 changed files with 12 additions and 9 deletions

View File

@ -131,10 +131,12 @@ in {
};
# map laptop touchscreen to laptop display
"1267:11676:ELAN2513:00_04F3:2D9C" = lib.mkIf cfg.laptop {
tap = "enable";
map_to_output = "'AU Optronics 0x4B2D Unknown'";
};
# map laptop stylus to laptop display
"1267:11676:ELAN2513:00_04F3:2D9C_Stylus" = lib.mkIf cfg.laptop {
tap = "enable";
map_to_output = "'AU Optronics 0x4B2D Unknown'";
};
};
@ -255,7 +257,7 @@ in {
extraConfig = lib.mkIf cfg.laptop ''
bindswitch --reload --locked lid:on exec "[ $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq '. | length') -gt 1 ] && ${pkgs.sway}/bin/swaymsg output eDP-1 disable"
bindswitch --reload --locked lid:off output eDP-1 enable
bindgesture swipe:down exec ${pkgs.nwg-launchers}/bin/nwggrid -client
bindgesture --input-device=\'1267:11676:ELAN2513:00_04F3:2D9C\' swipe:3:down exec ${pkgs.nwg-launchers}/bin/nwggrid -client
'';
};