mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 14:31:54 -05:00
36 lines
878 B
Nix
36 lines
878 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
home-manager.sharedModules = [
|
|
{
|
|
wayland.windowManager.hyprland.settings = {
|
|
bind = [
|
|
",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"
|
|
",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause"
|
|
];
|
|
|
|
exec-once = [''${
|
|
lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default
|
|
} "desc:Samsung Display Corp. 0x4152"''];
|
|
|
|
input = {
|
|
tablet.output = "eDP-1";
|
|
touchdevice.output = "eDP-1";
|
|
};
|
|
};
|
|
|
|
ar.home.desktop.hyprland = {
|
|
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
|
|
|
|
tabletMode = {
|
|
enable = true;
|
|
tabletSwitches = ["Lenovo Yoga Tablet Mode Control switch"];
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|