diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 22:55:17 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 22:55:17 -0700 |
commit | 871c8e39545876e595910b51e3a85a5f826fdb03 (patch) | |
tree | 36591bab8b0d1b8404e5c96016ca9937b854d108 | |
parent | 425cfc8783dcf546a19f6f84eec53b5f1672dec8 (diff) | |
download | nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar.gz nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar.bz2 nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar.lz nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar.xz nix-871c8e39545876e595910b51e3a85a5f826fdb03.tar.zst nix-871c8e39545876e595910b51e3a85a5f826fdb03.zip |
Break out xsession commands
-rw-r--r-- | home/nipsy/arrakis.nix | 9 | ||||
-rw-r--r-- | home/nipsy/common/optional/desktops/i3/default.nix | 3 | ||||
-rw-r--r-- | home/nipsy/ginaz.nix | 7 |
3 files changed, 17 insertions, 2 deletions
diff --git a/home/nipsy/arrakis.nix b/home/nipsy/arrakis.nix index 58e6ed6..e03e720 100644 --- a/home/nipsy/arrakis.nix +++ b/home/nipsy/arrakis.nix @@ -36,4 +36,13 @@ }; }; }; + + xsession = { + initExtra = '' + xrandr --output DP-2 --primary --mode 2560x1440 --rate 165 + + # disable VRR because it causes the display to go to sleep on my GeForce 1080 (now 3070 Ti) sometimes; maybe monitor related? + #nvidia-settings -a AllowVRR=0 + ''; + }; } diff --git a/home/nipsy/common/optional/desktops/i3/default.nix b/home/nipsy/common/optional/desktops/i3/default.nix index a2b7a4c..d75fbd5 100644 --- a/home/nipsy/common/optional/desktops/i3/default.nix +++ b/home/nipsy/common/optional/desktops/i3/default.nix @@ -19,8 +19,7 @@ xsession = { enable = true; initExtra = '' - xrandr --output eDP --primary --scale 0.5 - xinput set-prop "ELAN06FA:00 04F3:3202 Touchpad" "libinput Middle Emulation Enabled" 0 + # turn off bell and enable keyboard repeat xset b off xset r on ''; diff --git a/home/nipsy/ginaz.nix b/home/nipsy/ginaz.nix index f850a12..6e1036f 100644 --- a/home/nipsy/ginaz.nix +++ b/home/nipsy/ginaz.nix @@ -17,4 +17,11 @@ }; }; }; + + xsession = { + initExtra = '' + xrandr --output eDP --primary --scale 0.5 + xinput set-prop "ELAN06FA:00 04F3:3202 Touchpad" "libinput Middle Emulation Enabled" 0 + ''; + }; } |