diff options
author | Akshay <[email protected]> | 2024-08-26 11:42:32 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-08-26 11:42:32 +0100 |
commit | e2f704d2f1e1ee4ecc678112af05927ce5a3db39 (patch) | |
tree | aff0bd8e0f78ffc292a481aa39f7bc3e74429387 /scripts | |
parent | 5c68dbde55056cb8bd05c0ff862b6f2ed8336719 (diff) |
misc
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/default.nix b/scripts/default.nix index c7a485c..59b1ca5 100644 --- a/scripts/default.nix +++ b/scripts/default.nix | |||
@@ -64,6 +64,11 @@ let | |||
64 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform} | 64 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform} |
65 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform} | 65 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform} |
66 | ''; | 66 | ''; |
67 | portrait2 = pkgs.writeScriptBin "portrait2" '' | ||
68 | ${pkgs.xorg.xrandr}/bin/xrandr -o right | ||
69 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${portait-transform} | ||
70 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${stylus}" --type=float "Coordinate Transformation Matrix" ${portait-transform} | ||
71 | ''; | ||
67 | landscape = pkgs.writeScriptBin "landscape" '' | 72 | landscape = pkgs.writeScriptBin "landscape" '' |
68 | ${pkgs.xorg.xrandr}/bin/xrandr -o normal | 73 | ${pkgs.xorg.xrandr}/bin/xrandr -o normal |
69 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${landscape-transform} | 74 | ${pkgs.xorg.xinput}/bin/xinput set-prop "${touchscreen}" --type=float "Coordinate Transformation Matrix" ${landscape-transform} |
@@ -82,6 +87,7 @@ in | |||
82 | battery | 87 | battery |
83 | tmux-fzf | 88 | tmux-fzf |
84 | portrait | 89 | portrait |
90 | portrait2 | ||
85 | landscape | 91 | landscape |
86 | nvidia-offload | 92 | nvidia-offload |
87 | m2m | 93 | m2m |