#!/usr/bin/env bash if [[ "$DESKTOP_SESSION" = "dwm" ]]; then export _JAVA_AWT_WM_NONREPARENTING=1 export AWT_TOOLKIT=MToolkit wmname LG3D if test -f "$HOME/.screenlayout/main.sh"; then "$HOME/.screenlayout/main.sh" fi compton & redshift & dwmstatus & dunst & numlockx on & if test -f /usr/share/backgrounds/gnome/Road.jpg ; then feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg & else if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg & fi fi 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 # Authentication agent for running application as root if test /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 ; then /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & fi # Bluetooth if command -v blueman-applet &> /dev/null ; then blueman-applet & fi