-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xinitrc
40 lines (27 loc) · 961 Bytes
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
export XDG_CURRENT_DESKTOP=XFCE
# ROXTERM_DIR=$XDG_CONFIG_HOME/roxterm.sourceforge.net
# SCHEME=$(grep -s ^colour_scheme= $ROXTERM_DIR/Profiles/Default | cut -d= -f2)
# export TERM_BG=$(grep -s ^background= $ROXTERM_DIR/Colours/$SCHEME | cut -d= -f2)
. /etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh
. /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
rm -fr $XDG_CACHE_HOME/thumbnails
ln -s $XDG_DATA_HOME/thumbnails $XDG_CACHE_HOME/thumbnails
xrdb -merge ~/.Xresources
xhost +si:localuser:root
xset +fp /usr/share/fonts/local
xset fp rehash
xset s off
xset dpms 3600 3600 0
display-mode day
one xautolock -corners 000- -cornersize 1 -time 30 -secure -locker /usr/local/bin/lock &
[ -e $HOME/.Xmodmap ] && xmodmap $HOME/.Xmodmap
xbindkeys
(
until pidof -q xfce4-panel; do sleep 1; done
font-touch
emerald --replace &
) &
[ -e $HOME/.xinitrc.local ] && . $HOME/.xinitrc.local
systemctl --user restart xfce4-session.target
exec xfce4-session