-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.xprofile
57 lines (47 loc) · 1.64 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
51
52
53
54
55
56
57
# this should run when I login to lightdm
# __ _ _
# / _(_) |
# __ ___ __ _ __ ___ | |_ _| | ___
# \ \/ / '_ \| '__/ _ \| _| | |/ _ \
# > <| |_) | | | (_) | | | | | __/
# /_/\_\ .__/|_| \___/|_| |_|_|\___|
# | |
# |_|
# set up dual monitor display (if at home)
# bash ~/.screenlayout/1440.sh
bash ~/.screenlayout/stuttgart-monitor.sh
# set wallpapers
# in awesomewm, this is already run by the config file
# feh --bg-fill --randomize ~/myfiles/wallpapers/*
xset -b # prevent beeps
autostart="dunst nm-applet mpd caffeine dropbox mpd-mpris mpd-notification blueman-applet"
for program in $autostart; do
pidof -s "$program" || setsid -f "$program"
done >/dev/null 2>&1
#imwheel -b 45 &
redshift -l 26.14:91.73 &
sleep 1 && mpv --volume=40 ~/.local/share/sounds/desktop-login.oga &
# run anacron
anacron -t $HOME/.local/etc/anacrontab \
-S $HOME/.local/etc/spool/
playerctl daemon &
picom -b &
sxhkd &
# if running awesomewm, autostart the following
# if [[ "$(neofetch wm)" == *"awesome"* ]]; then
# fi
# run a python httpserver that hosts the startpage
python -m http.server 9999 --bind 127.0.0.1 --directory ~/myfiles/projects/github/startpage &
# launch onedrive sync
onedrivegui &
# launch libinput-gestures
libinput-gestures-setup start
# run polkit (i am using gnome polkit)
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# setup envars
export QT_QPA_PLATFORMTHEME=qt5ct
export GDK_DPI_SCALE=1.1
# export WINIT_X11_SCALE_FACTOR=1
export GDK_SCALE=1
# export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.uiScale=1'
export _JAVA_AWT_WM_NONREPARENTING=1