diff options
| author | Spacedio <spacedio@thernusen.net> | 2026-04-13 19:53:34 -0400 |
|---|---|---|
| committer | Spacedio <spacedio@thernusen.net> | 2026-04-13 19:53:34 -0400 |
| commit | 994f7a5b27523e8170a74a68640e21dd02209cef (patch) | |
| tree | 3871b7c9d44bc3afd1742375b9bbcc939044310b | |
| parent | 167cd563f5fc7d0169f7f3284817dc1be2c1750f (diff) | |
| download | dotfiles-994f7a5b27523e8170a74a68640e21dd02209cef.tar.gz | |
Added nvidia PM rules for dGPU.
| -rw-r--r-- | bashrc/.bashrc | 1 | ||||
| -rw-r--r-- | nvidia-pm/etc/X11/xorg.conf.dir/10-igpu.conf | 8 | ||||
| -rw-r--r-- | nvidia-pm/etc/X11/xorg.conf.dir/30-touchpad.conf | 9 | ||||
| -rw-r--r-- | nvidia-pm/etc/udev/rules.d/80-nvidia-pm.rules | 5 | ||||
| -rw-r--r-- | rofi/.config/rofi/config.rasi | 1 |
5 files changed, 24 insertions, 0 deletions
diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 75c23de..0959a04 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -16,6 +16,7 @@ alias ssh-kleingelt='ssh spacedio@thernusen.net' alias ssh-git='ssh git.thernusen.net -p 23231' #EXPORTS +export PATH="$HOME/.local/bin:$PATH" export EDITOR='nvim' #OTHER diff --git a/nvidia-pm/etc/X11/xorg.conf.dir/10-igpu.conf b/nvidia-pm/etc/X11/xorg.conf.dir/10-igpu.conf new file mode 100644 index 0000000..49a4151 --- /dev/null +++ b/nvidia-pm/etc/X11/xorg.conf.dir/10-igpu.conf @@ -0,0 +1,8 @@ +Section "ServerFlags" + Option "AutoAddGPU" "off" +EndSection + +Section "Device" + Identifier "iGPU" + Driver "modesetting" +EndSection diff --git a/nvidia-pm/etc/X11/xorg.conf.dir/30-touchpad.conf b/nvidia-pm/etc/X11/xorg.conf.dir/30-touchpad.conf new file mode 100644 index 0000000..f958e88 --- /dev/null +++ b/nvidia-pm/etc/X11/xorg.conf.dir/30-touchpad.conf @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "touchpad" + Driver "libinput" + MatchIsTouchpad "on" + Option "Tapping" "on" + Option "NaturalScrolling" "on" + Option "ClickMethod" "clickfinger" + Option "AccelSpeed" "0.4" +EndSection diff --git a/nvidia-pm/etc/udev/rules.d/80-nvidia-pm.rules b/nvidia-pm/etc/udev/rules.d/80-nvidia-pm.rules new file mode 100644 index 0000000..05cf9d7 --- /dev/null +++ b/nvidia-pm/etc/udev/rules.d/80-nvidia-pm.rules @@ -0,0 +1,5 @@ +# Enable runtime PM for NVIDIA VGA/3D controller devices +ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", ATTR{power/control}="auto" +ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", ATTR{power/control}="auto" +# Enable runtime PM for NVIDIA Audio devices +ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{power/control}="auto" diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index 4719a61..51d5444 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -1,4 +1,5 @@ configuration{ + dpi:140; modi: ["drun", "window", "run"]; icon-theme: "Papirus-Dark"; show-icons: false; |
