Skip to content

Commit

Permalink
Fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
huijunchen9260 committed Dec 6, 2020
1 parent c742db2 commit 145b0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions dmenufm
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ COMPRESSIONLIST=$(printf '%s\n' "tar.gz" "tar.bz2" "tar.xz" "xz" "lzma" "gz" "bz
nl='
'

configuration

# Create files / directories
[ ! -d "$FM_PATH" ] && mkdir -p "$FM_PATH"
[ ! -f "$FM_PATH/dmenufm.conf" ] && cp "/etc/dmenufm.conf" "$FM_PATH/dmenufm.conf"
Expand Down Expand Up @@ -198,12 +200,10 @@ if [ "$(id -u)" -eq 0 ]; then
FM_GENERIC_COLOR="$FM_SUDO_COLOR"

GetOS
configuration
Program
MainMenu
else
GetOS
configuration
Program
MainMenu
fi
Expand Down
7 changes: 0 additions & 7 deletions dmenufm-menu
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,6 @@ MainMenu () { # Usage: MainMenu
openin=0
unset FM_OPENER
configuration
# if [ -r "$FM_PATH/dmenufm.conf" ]; then
# . "$FM_PATH/dmenufm.conf"
# elif [ -r "/etc/dmenufm.conf" ]; then
# . "/etc/dmenufm.conf"
# else
# echo 'Run `sudo make install` first to install all dmenufm files.'
# fi
fi
;;
esac
Expand Down

0 comments on commit 145b0c4

Please sign in to comment.