summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-22 13:16:33 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-22 13:16:33 +0400
commit97afd09fbe73955d1c636d3f223a68e411413ef9 (patch)
tree370750a5115e0bcb0231bf9d19b7f5875667a047 /.xprofile
parent2f6a0e3d3693cb00f17530459c95073aeaed15c6 (diff)
Changed theme for dmenu and gtk; changed terminal to alacritty
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile5
1 files changed, 2 insertions, 3 deletions
diff --git a/.xprofile b/.xprofile
index 8c80435..67415c9 100644
--- a/.xprofile
+++ b/.xprofile
@@ -13,7 +13,6 @@ xss-lock -v -- slock -m "$(cowsay 'You shall not pass!')" &
if [ "$DESKTOP_SESSION" = "dwm" ]; then
compositor_args="-o 0"
dwmblocks &
- pgrep -x sxhkd > /dev/null || sxhkd -c $XDG_CONFIG_HOME/sxhkd/sxhkdrc.dwm &
elif [ "$DESKTOP_SESSION" = "xmonad" ] || \
[ "$DESKTOP_SESSION" = "bspwm" ]; then
compositor_args="-o 0"
@@ -31,8 +30,8 @@ if ! [ $(command -v compton) ]; then
alias compton="picom"
fi
-# Run compositor only in openbox
-if [ "$DESKTOP_SESSION" = "openbox-session" ]; then
+if [ "$DESKTOP_SESSION" = "openbox-session" ] || \
+ [ "$DESKTOP_SESSION" = "dwm" ]; then
compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args &
fi