2018-03-10 04:04:29 +00:00
|
|
|
systemctl --user import-environment DISPLAY
|
|
|
|
|
2018-07-16 19:58:37 +00:00
|
|
|
# gtk3-nocsd
|
|
|
|
export GTK_CSD=0
|
|
|
|
export LD_PRELOAD="$LD_PRELOAD /usr/lib/libgtk3-nocsd.so.0"
|
|
|
|
|
2018-03-10 04:04:29 +00:00
|
|
|
# screen layout
|
|
|
|
if xrandr | grep 'HDMI-1 connected'; then
|
|
|
|
xrandr \
|
2018-12-07 00:26:00 +00:00
|
|
|
--output HDMI-1 --auto --pos 1080x190 --primary \
|
2018-03-10 04:04:29 +00:00
|
|
|
--output HDMI-2 --rotate right --auto --pos 0x0
|
|
|
|
fi
|
|
|
|
export PRIMARY_MONITOR="$(xrandr | grep 'primary' | grep -Eo '^[^ ]+')"
|
|
|
|
|
|
|
|
# lockscreen
|
|
|
|
xss-lock -- lock &
|
|
|
|
|
|
|
|
# key binding
|
|
|
|
[ -f ~/.xbindkeysrc ] && xbindkeys
|
|
|
|
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
|
|
|
|
|
|
|
|
# xrdb
|
|
|
|
[ -f ~/.Xresources ] && xrdb -I"$HOME" ~/.Xresources
|
|
|
|
|
|
|
|
# wallpaper and colorschemes
|
|
|
|
sh ~/.fehbg || \
|
|
|
|
feh --bg-fill --no-fehbg /usr/share/pixmaps/wallpaper.png
|
|
|
|
|
|
|
|
# set screen blanking to 30 minutes
|
|
|
|
xset s 1800 1800
|
|
|
|
|
|
|
|
source ~/.local/profile.d/*
|
|
|
|
|