fix desktop graphics drivers and other things idk
This commit is contained in:
1
homes/desktop/bspwm/host.sh
Normal file
1
homes/desktop/bspwm/host.sh
Normal file
@ -0,0 +1 @@
|
||||
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 50 -d)&
|
3
homes/desktop/bspwm/screenlayout.sh
Executable file
3
homes/desktop/bspwm/screenlayout.sh
Executable 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
8
homes/desktop/home.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./nitrogen.nix ];
|
||||
home.file = {
|
||||
".config/bspwm/screenlayout.sh".source = ./bspwm/screenlayout.sh;
|
||||
};
|
||||
}
|
28
homes/desktop/nitrogen.nix
Normal file
28
homes/desktop/nitrogen.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user