From 2ab219a245fe75f17d99ea6776ea2d9f8715ae04 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 18 May 2026 07:44:11 +0200 Subject: [PATCH] added: latest .xinitrc and .xprofile --- .xinitrc | 4 ++++ .xprofile | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.xinitrc b/.xinitrc index 4a7b0b1..023f398 100644 --- a/.xinitrc +++ b/.xinitrc @@ -33,6 +33,10 @@ dwmblocks & #pw-metadata -n settings 0 clock.force-rate 44100 #pw-metadata -n settings 0 clock.force-quantum 1024 +if [ -x /usr/bin/ssh-agent ]; then + eval $(ssh-agent -s) +fi + dbus-launch --sh-syntax --exit-with-session dwm #exec dwm diff --git a/.xprofile b/.xprofile index d0e30d4..d0deda5 100644 --- a/.xprofile +++ b/.xprofile @@ -1,12 +1,13 @@ #gentoo-pipewire-launcher & ssh-agent & TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}') -xinput disable $TPADID -xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9 +#xinput disable $TPADID +$xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9 xdg-settings set default-web-browser firefox.desktop xdg-mime default mupdf.desktop application/pdf xdg-mime default thunar.desktop inode/directory +xdg-mime default feh.desktop image/jpeg image/png image/gif image/bmp image/webp image/tiff #xrandr --output HDMI-0 --mode 2560x1440 --rate 143.91 #xrandr --output DP-3 --mode 1920x1080 --pos 0x180 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 143.91 --pos 1920x0 --rotate normal @@ -14,8 +15,9 @@ xdg-mime default thunar.desktop inode/directory ##nvidia-settings --assign 'CurrentMetaMode=DPY-4: 2560x1440_144 @2560x1440 +1920+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0, ForceCompositionPipeline=On}, DPY-3: nvidia-auto-select @1920x1080 +0+180 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}' #nvidia-settings --assign 'CurrentMetaMode=DPY-5: 2560x1440_170 @2560x1440 +1920+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0, ForceCompositionPipeline=On}, DPY-1: nvidia-auto-select @1920x1080 +0+138 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}' -xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x180 --rotate normal -xrandr --output DisplayPort-2 --set "scaling mode" Full +#xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x180 --rotate normal +#xrandr --output DisplayPort-2 --set "scaling mode" Full +xrandr --output DP-1-3 --mode 2560x1440 -r 143.97 --output eDP-1 --off --output DP-1-1 --mode 2560x1440 --left-of DP-1-3