fix desktop graphics drivers and other things idk

This commit is contained in:
2024-10-18 17:42:42 +02:00
parent e9302c7c27
commit 01b5d55c3b
16 changed files with 101 additions and 59 deletions

View File

@ -0,0 +1 @@
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 50 -d)&

View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "AAAAAAAAAAAAAAAAAAAAAAAA"
xrandr --output DP-0 --mode 1280x1024 --pos 5120x56 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1-1 --mode 1280x1024 --pos 3840x56 --rotate normal --output HDMI-1-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1-2 --off --output HDMI-1-2 --off

8
homes/desktop/home.nix Normal file
View File

@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./nitrogen.nix ];
home.file = {
".config/bspwm/screenlayout.sh".source = ./bspwm/screenlayout.sh;
};
}

View File

@ -0,0 +1,28 @@
{ config, lib, pkgs, homeDir, ... }:
let
background = "${homeDir}/.config/nitrogen/wallpaper.png";
in
{
home.file.".config/nitrogen/bg-saved.cfg".text = ''
[xin_0]
file=${background}
mode=5
bgcolor=#000000
[xin_1]
file=${background}
mode=5
bgcolor=#000000
[xin_2]
file=${background}
mode=5
bgcolor=#000000
[xin_3]
file=${background}
mode=5
bgcolor=#000000
'';
}