X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/9a2ac88afb86db3c3ee29f54d6f478983c1caca6..feaf2dce523775178334dff5b35de3fc16b47422:/.xinitrc diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..dcb7bb1 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh + +xrandr --output eDP1 --mode 1920x1080 +xwallpaper --zoom ~/pic/death-stranding_3.png +setxkbmap -option caps:escape + +X_DIR=~/.config/x11 +[[ -f $X_DIR/xbindkeysrc ]] && xbindkeys -f $X_DIR/xbindkeysrc +[[ -f $X_DIR/xresources ]] && xrdb -merge $X_DIR/xresources + +autostart="xcompmgr slstatus fcitx5" +for program in $autostart; do + pidof -s "$program" || setsid -f "$program" +done > /dev/null 2>&1 + +exec dwm