Compare commits
3 Commits
89a4626521
...
5ceff37afe
Author | SHA1 | Date | |
---|---|---|---|
5ceff37afe | |||
3fa7a21fb7 | |||
f164579c2c |
56
.xsessionrc
56
.xsessionrc
@ -5,16 +5,44 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
|||||||
export AWT_TOOLKIT=MToolkit
|
export AWT_TOOLKIT=MToolkit
|
||||||
wmname LG3D
|
wmname LG3D
|
||||||
|
|
||||||
if test -f "$HOME/.screenlayout/main.sh"; then
|
|
||||||
"$HOME/.screenlayout/main.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
compton &
|
compton &
|
||||||
redshift &
|
redshift &
|
||||||
dwmstatus &
|
dwmstatus &
|
||||||
dunst &
|
dunst &
|
||||||
numlockx on &
|
numlockx on &
|
||||||
|
|
||||||
|
if command -v blueman-applet &> /dev/null ; then
|
||||||
|
blueman-applet &
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
if command -v pasystray &> /dev/null ; then
|
||||||
|
pasystray &
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v nextcloud &> /dev/null ; then
|
||||||
|
nextcloud --background &
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v signal-desktop &> /dev/null ; then
|
||||||
|
signal-desktop --start-in-tray &
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v steam &> /dev/null ; then
|
||||||
|
steam -silent &
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
if command -v jetbrains-toolbox &> /dev/null ; then
|
||||||
|
jetbrains-toolbox --minimize &
|
||||||
|
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
|
||||||
|
|
||||||
|
# Set background
|
||||||
if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
|
if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
|
||||||
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
|
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
|
||||||
else
|
else
|
||||||
@ -24,24 +52,4 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
|||||||
fi
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user