diff options
Diffstat (limited to '.local/etc/x/xinitrc')
-rw-r--r-- | .local/etc/x/xinitrc | 42 |
1 files changed, 7 insertions, 35 deletions
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc index f3da549..3d0f0d9 100644 --- a/.local/etc/x/xinitrc +++ b/.local/etc/x/xinitrc @@ -1,21 +1,13 @@ -# start dbus if necessary -[ -f "/etc/X11/xinit/xinitrc.d/80-dbus" ] && source /etc/X11/xinit/xinitrc.d/80-dbus - -# start polkit auth agent -eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) -export GNOME_KEYRING_PID -export GNOME_KEYRING_SOCKET -export SSH_AUTH_SOCK - -# extend the fontpath -xset +fp ~/.fonts/Terminus/BDF -#xset +fp /usr/share/fonts/local +#!/bin/sh # set the default mousepointer xsetroot -cursor_name left_ptr # load the .Xresources -xrdb -merge ~/.Xresources +if command -v xrdb > /dev/null +then + xrdb -merge ~/.Xresources +fi # Set a custom layout with xrandr if [ -f "$HOME/.local/etc/x/layout.sh" ] @@ -26,31 +18,11 @@ fi # xkbmap options setxkbmap \ -layout us \ - \ -option compose:menu \ -option caps:escape # add altgr xmodmap -e "keycode 108 = ISO_Level3_Shift" -# Enable sound through PulseAudio -pulseaudio --start - -# set a wallpaper -chwp & - -# Turn off any screen blanking features -xset s off -xset -dpms - -# start background processes -redshift -l 51.50:4.59 & -dunst & -sxhkd & -xblank & - -# Set up a screenlock -xss-lock -- physlock -d & - -# Start x11vnc -x11vnc -display "$DISPLAY" & +# Export variables for a better X11 experience +export WINIT_X11_SCALE_FACTOR=1 |