diff options
author | David Runge <dave@sleepmap.de> | 2018-11-17 00:44:54 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-11-17 00:44:54 +0100 |
commit | a7940964544bdf4536c16836dc79e2d0ae375ae0 (patch) | |
tree | 6a838a736c8fc4c668a667515a63af89fee281fb /.xprofile | |
parent | ffa2c611ab70ef313bf5b8c09ace3025f1f396e8 (diff) | |
download | dotfiles-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-- | .xprofile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |