614 current 1970-01-01 01:00:00 24.11.20250421.9684b53 6.6.87 *
This commit is contained in:
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user