-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xprofile
50 lines (38 loc) · 1.16 KB
/
.xprofile
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
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xsettingsd &
# fancylocki3 &
# ~/.config/screenlayout/default.sh
numlockx & # turn numlock on
unclutter & # hide the mouse when it is unused
clipmenud & # clipboard history
redshift & # dim the screen at night
telegram-desktop &
# teams &
element-desktop &
(sleep 5 && discord) &
(sleep 5 && firefox) &
(sleep 5 && spotify) &
# rsibreak &
setxkbmap -option caps:escape # use caps as esc
setxkbmap -layout 'us,no' -variant intl -option "grp:ctrls_toggle,terminate:ctrl_alt_bksp"
setxkbmap -option compose:ralt
xset b off # don't beep
xset r rate 180 60
xinput --set-prop 16 'libinput Accel Speed' -0.5
(sleep 5 && kbdd) & # kbdd is buggy if it does not start after the WM
if [ -z "$MONITOR_SECONDARY" ]; then
feh --bg-fill ~/Pictures/wallpapers/active.png
else
feh --bg-fill ~/Pictures/wallpapers/active_primary.png --bg-fill ~/Pictures/wallpapers/active_secondary.png
fi
if [ $(hostname -s) != 'berghome' ]; then
desktop-locker &
fi
picom -f &
(sleep 5 && dunst) & # if it starts too soon we don't get HiDPI scaling