Refactoring, add wine
This commit is contained in:
parent
290c6d1c31
commit
8e85199a56
7 changed files with 150 additions and 120 deletions
33
systems/latitude-e5591.nix
Normal file
33
systems/latitude-e5591.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ ... }: {
|
||||
home.file = {
|
||||
"latitude/tv" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --primary \
|
||||
--output DP-2-2 --mode 1920x1080
|
||||
'';
|
||||
};
|
||||
"latitude/desk" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/standalone" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --primary \
|
||||
--output DP-2-1 --off \
|
||||
--output DP-2-2 --off \
|
||||
--output DP-2-3 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue