-
Notifications
You must be signed in to change notification settings - Fork 24
/
.xinitrc
65 lines (49 loc) · 1.52 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
#Include all system-wide xinitrc scripts
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
export PATH=$HOME/bin:$PATH
export DE=generic
export EDITOR=code
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CURRENT_DESKTOP=X-Generic
export QT_QPA_PLATFORMTHEME=qt5ct #This is needed for skinning KDE applications
#xlogin unsets the dbus address if it is the system bus, let's re-set it...
export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus
#Set directories used by gnomish tools (particularly, blueberry-tray!)
xdg-user-dirs-update
# Remap caps lock to escape
setxkbmap -option caps:escape
#Keep the screen on
xset dpms 0 0 0
xset s off
xset -dpms
# display wallpaper during loading
# feh --bg-fill /home/marco/Images/wallpaper.jpg
hsetroot -solid "#16161e"
#Recover volumes
alsactl init
#Set altgr international keyboard map
setxkbmap -variant altgr-intl
xrdb ~/.Xresources
#Turn on numlock
numlockx on
#clipboard
/usr/bin/clipit &
#map the touchscreen to internal display, not all connected monitors
xinput --map-to-output 'ELAN Touchscreen' eDP
# thinkpad fan controller
modprobe thinkpad_acpi
#thinkfan -n &
#Open SSH keychain, load into systemd user environment
eval $(keychain --systemd -q --eval)
#start thing for transparency
#picom --config /home/marco/.config/picom/picom.conf &
picom --config /home/marco/.config/picom/picom.conf -b --experimental-backends &
#Start i3
exec i3