aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-11-17 00:44:54 +0100
committerDavid Runge <dave@sleepmap.de>2018-11-17 00:44:54 +0100
commita7940964544bdf4536c16836dc79e2d0ae375ae0 (patch)
tree6a838a736c8fc4c668a667515a63af89fee281fb /.xprofile
parentffa2c611ab70ef313bf5b8c09ace3025f1f396e8 (diff)
downloaddotfiles-a7940964544bdf4536c16836dc79e2d0ae375ae0.tar.gz
dotfiles-a7940964544bdf4536c16836dc79e2d0ae375ae0.tar.bz2
dotfiles-a7940964544bdf4536c16836dc79e2d0ae375ae0.tar.xz
dotfiles-a7940964544bdf4536c16836dc79e2d0ae375ae0.zip
.xprofile: Repaired with the help of shellcheck.
Diffstat (limited to '.xprofile')
-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