added: latest .xinitrc and .xprofile
This commit is contained in:
4
.xinitrc
4
.xinitrc
@@ -33,6 +33,10 @@ dwmblocks &
|
|||||||
#pw-metadata -n settings 0 clock.force-rate 44100
|
#pw-metadata -n settings 0 clock.force-rate 44100
|
||||||
#pw-metadata -n settings 0 clock.force-quantum 1024
|
#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
|
dbus-launch --sh-syntax --exit-with-session dwm
|
||||||
#exec dwm
|
#exec dwm
|
||||||
|
|
||||||
|
|||||||
10
.xprofile
10
.xprofile
@@ -1,12 +1,13 @@
|
|||||||
#gentoo-pipewire-launcher &
|
#gentoo-pipewire-launcher &
|
||||||
ssh-agent &
|
ssh-agent &
|
||||||
TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}')
|
TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}')
|
||||||
xinput disable $TPADID
|
#xinput disable $TPADID
|
||||||
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
|
$xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
|
||||||
|
|
||||||
xdg-settings set default-web-browser firefox.desktop
|
xdg-settings set default-web-browser firefox.desktop
|
||||||
xdg-mime default mupdf.desktop application/pdf
|
xdg-mime default mupdf.desktop application/pdf
|
||||||
xdg-mime default thunar.desktop inode/directory
|
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 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
|
#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-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}'
|
#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-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-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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user