Mostly UI tweaks, plus some refactoring
This commit is contained in:
parent
110fa225d4
commit
2d878c3448
5 changed files with 47 additions and 29 deletions
|
@ -1,6 +1,36 @@
|
|||
#{ pkgs, pkgs-unstable, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
{ pkgs, ... }: {
|
||||
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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# TODO: Polybar Stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue