2024-03-28 19:52:15 -04:00
|
|
|
{
|
2024-04-07 22:16:33 -04:00
|
|
|
lib,
|
2024-06-22 12:10:36 -04:00
|
|
|
pkgs,
|
2024-07-09 19:17:53 -04:00
|
|
|
self,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-07-10 21:21:14 -04:00
|
|
|
home-manager.sharedModules = [
|
|
|
|
{
|
2024-07-21 22:25:42 -04:00
|
|
|
wayland.windowManager = {
|
|
|
|
hyprland.settings = {
|
|
|
|
bind = [
|
|
|
|
",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause"
|
2024-07-21 22:32:00 -04:00
|
|
|
",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"
|
2024-07-21 22:25:42 -04:00
|
|
|
];
|
2024-07-14 20:22:06 -04:00
|
|
|
|
2024-07-21 22:25:42 -04:00
|
|
|
exec-once = [''${
|
|
|
|
lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default
|
|
|
|
} "desc:Samsung Display Corp. 0x4152"''];
|
2024-07-07 00:50:30 -04:00
|
|
|
|
2024-07-21 22:25:42 -04:00
|
|
|
input = {
|
|
|
|
tablet.output = "eDP-1";
|
|
|
|
touchdevice.output = "eDP-1";
|
|
|
|
};
|
2024-07-19 13:59:48 -04:00
|
|
|
};
|
2024-07-21 21:32:06 -04:00
|
|
|
|
2024-07-21 22:27:06 -04:00
|
|
|
sway.config = {
|
|
|
|
input = {
|
|
|
|
"1386:21186:Wacom_HID_52C2_Finger" = {
|
|
|
|
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
|
|
|
|
};
|
|
|
|
|
|
|
|
"1386:21186:Wacom_HID_52C2_Pen" = {
|
|
|
|
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
|
|
|
|
};
|
|
|
|
};
|
2024-07-21 22:32:00 -04:00
|
|
|
|
|
|
|
keybindings = {
|
|
|
|
"XF86Launch2" = "exec ${lib.getExe pkgs.playerctl} play-pause";
|
|
|
|
"XF86Launch4" = "exec ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}";
|
|
|
|
};
|
|
|
|
|
2024-07-21 22:27:06 -04:00
|
|
|
output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";};
|
|
|
|
};
|
2024-07-21 22:25:42 -04:00
|
|
|
};
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-07-15 00:14:18 -04:00
|
|
|
ar.home.desktop.hyprland = {
|
|
|
|
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
|
2024-07-19 13:59:48 -04:00
|
|
|
|
2024-07-15 00:14:18 -04:00
|
|
|
tabletMode = {
|
|
|
|
enable = true;
|
|
|
|
tabletSwitches = ["Lenovo Yoga Tablet Mode Control switch"];
|
|
|
|
};
|
|
|
|
};
|
2024-07-10 21:21:14 -04:00
|
|
|
}
|
|
|
|
];
|
2024-03-28 19:52:15 -04:00
|
|
|
}
|