Fixed many issues with Tablet
- Fixes issues with desktop shell - Replaced sddm with gdm (because it has virtual keyboard) - Packaged wlr-autorotate
This commit is contained in:
parent
6220db7aca
commit
5ead82d1ee
9 changed files with 72 additions and 12 deletions
51
packages/wlr-autorotate/default.nix
Normal file
51
packages/wlr-autorotate/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gnumake,
|
||||
pkg-config,
|
||||
wayland-scanner,
|
||||
glib,
|
||||
wayland,
|
||||
cmake,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wlr-autorotate";
|
||||
version = "unstable-2023-09-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lassebq";
|
||||
repo = "wlr-autorotate";
|
||||
rev = "fae02f4e0a9aaf11142d550ce6e7159065ef369c";
|
||||
hash = "sha256-wYTtP0Qj4qOinJZ6/kfh/5HHcayF+UwWRPB5kP3SIyU=";
|
||||
};
|
||||
dontUseCmakeConfigure = true;
|
||||
buildPhase = ''
|
||||
make all
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp build/wlr-autorotate $out/bin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
gnumake
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib.dev
|
||||
wayland-scanner
|
||||
wayland
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Automatically changes screen orientation in wlroots based compositors based on the state of accelerometer";
|
||||
homepage = "https://github.com/Lassebq/wlr-autorotate";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [];
|
||||
mainProgram = "wlr-autorotate";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue