dotfiles/.xsessionrc
2020-07-30 09:54:52 +02:00

31 lines
583 B
Bash
Executable File

#!/usr/bin/env sh
if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
export _JAVA_AWT_WM_NONREPARENTING=1
export AWT_TOOLKIT=MToolkit
wmname LG3D
compton &
dwmstatus &
if test -f "$HOME/.screenlayout/main.sh"; then
"$HOME/.screenlayout/main.sh"
fi
compton &
redshift &
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
fi
if command -v nextcloud &> /dev/null ; then
nextcloud &
fi
if command -v jetbrains-toolbox &> /dev/null ; then
jetbrains-toolbox --minimize &
fi
if command -v slack &> /dev/null ; then
slack &
fi