moving some dirs

This commit is contained in:
Don Harper 2024-03-21 21:53:55 -05:00
parent af5adf4513
commit 712441876c
16 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,2 @@
KERNEL=="card0", SUBSYSTEM=="drm", RUN+="$(pkgs.kanshi-fix}/bin/kanshi-fix"

View file

@ -0,0 +1,2 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.callPackage ./derivation.nix {}

View file

@ -0,0 +1,20 @@
{ stdenv }:
stdenv.mkDerivation rec {
name = "kanshi-fix-${version}";
version = "1.4";
src = ./.;
nativeBuildInputs = [ ];
buildInputs = [ ];
dontConfigure = true;
buildPhase = ''
chmod 0755 kanshi-fix
'';
installPhase = ''
mkdir -p $out/bin
cp kanshi-fix $out/bin
'';
}

View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export SWAYSOCK=/run/user/1000/sway-ipc.1000.$(pgrep -x sway).sock
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
swaymsg "output * dpms on"