aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.xprofile8
1 files changed, 4 insertions, 4 deletions
diff --git a/.xprofile b/.xprofile
index 34ad424..116c4b4 100644
--- a/.xprofile
+++ b/.xprofile
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# use .Xmodmap
-if [[ -f ~/.Xmodmap ]]; then
- /usr/bin/xmodmap ~/.Xmodmap &
+if [ -f ~/.Xmodmap ]; then
+ /usr/bin/xmodmap ~/.Xmodmap &
fi
# set X settings
@@ -18,12 +18,12 @@ fi
# setup screens on login using autorandr
if [ -x "$HOME/bin/setup_screens" ]; then
- $HOME/bin/setup_screens &
+ "$HOME/bin/setup_screens" &
fi
# lock X automatically after inactivity
if [ -x "$HOME/bin/xorg_autolock" ]; then
- $HOME/bin/xorg_autolock &
+ "$HOME/bin/xorg_autolock" &
fi
# lock X before going to sleep